Release 2.5.23

Rating:        Based on 4 ratings
Reviewed:  3 reviews
Downloads: 14523
Change Set: 98193
Released: Apr 7, 2017
Updated: Apr 7, 2017 by dahall
Dev status: Stable Help Icon

Recommended Download

application, 1426K, uploaded Apr 7 - 11650 downloads

Other Available Downloads

application, 5135K, uploaded Apr 7 - 1298 downloads
application, 3220K, uploaded Apr 7 - 1575 downloads

Release Notes

Update history
Version 2.5.23
  • Fixed problem with custom triggers on Win10/Svr16
  • Added automatic translation of embedded resource string from TaskDefinition when displayed in TaskPropertiesControl. Can turn off setting ConvertResourceStringReferences = false
Version 2.5.22
  • Fixed problem with 2.0 and 3.5 libraries still requiring 4.0
  • Resolved issue with DateTimePicker not working with 24 hour clocks
  • Removed TaskCompability.V2_3 as it doesn't exist yet
  • Adjusted handling of Win10 so that it cannot display a version 1.5 of the library
  • Improved 'null' error handling in multiple files
  • Fixed critical error when passing empty string to RegisterTaskDefinition for userId
  • Added JetBrain NotNull indicators to methods
  • Fixed inconsistency on XP, where GetPath failed with exception instead of returning null like on later Windows versions.
  • Replaced direct dependency references with NuGet packages
  • More fixes to Trigger list context menu
  • Minor updates to TestTaskService
  • Fixed context menu bug in Trigger List UI
  • Code and XML comment cleanup
Version 2.5.21
  • Changed TaskCollection and RunningTaskCollection to IReadOnlyCollection instead of just IEnumerable
  • Added error handling to task enumeration
  • Added ability to set Repetition property of a trigger using a RepetitionPattern instance. This allows for all trigger properties to be set inline with constructor.
  • With the above addition, set the Trigger.SetRepetition method as Obsolete
  • Added 'description' parameter to TaskService.AddTask
  • Updated LocalSecurity class w/ default constructor for PS use
  • Fixed upper boundary on DailyTrigger interval UI
Version 2.5.20
  • Bug fixes with UI and field validation
Version 2.5.19
  • Bug fixes
Version 2.5.17
  • Added back in .NET 4 builds
  • Fixed RegisterTaskDefinition for tasks setting password to null
  • Fixed Task.Run and RunEx methods
Version 2.5.16
  • Event and Security UI bug fixes
  • Changed package to .NET 4.5.2 from 4.0
Version 2.5.15
  • Editor fixes
Version 2.5.14
  • Fixes to TaskEventWatcher, Trigger.StartDate and assoc UI
Version 2.5.13
  • More bug fixes (see History)
  • Completed first revision of a diagnostic tool
Version 2.5.12
  • A few bug fixes (see History)
Version 2.5.8
  • A few bug fixes (see History)
  • Updated NuGet to include symbols
Version 2.5.7
  • Fixed V1 error with ActionCollection.Clear
  • Added TaskSchedulerConfig project (incomplete) to help identify connection problems on V1 and V2 systems
Version 2.5.6
  • Bug fixes (V1 actions count and retention)
Version 2.5.5
  • Bug fixes (V1 registration validation & Task.IsActive)
Version 2.5.4
  • Added TaskEventWatcher component that enables watching task folders or tasks for changes and updated TaskListView and TaskHistoryControl with that feature (see sample code)
  • Fixed bug with context menu for lists that would display it in wrong position
Version 2.5.3
  • Fixed major bug when registering tasks with well known groups and built-in accounts ("Everyone", "SYSTEM", etc.) -- Sorry everyone.
  • Removed data contract attributes
Version 2.5.0
  • Bug fixes
  • Added ability for V1 tasks to support almost all V2 properties including the support of multiple action types of all action variants.
  • Bi-directional support for XML across V1 and V2
Version 2.4
  • A number of bug fixes for Windows 10.
  • Added support for .NET 2.0, 3.5 and 4.0
  • Added security handling and version compatibility handling (for connecting to up or down-stream versions)
  • Bug fixes
  • Enhancements to history control and event trigger editor
  • Compensation for deprecated email and message actions on Win8
  • Improved performance and marshalling.
Version 2.3
  • A more modern editor has been added as TaskOptionsEditor.
Version 2.0
  • Some bug fixes
  • Better support for Windows 8 additions to core library
  • Addition of Fluent syntax and crontab syntax
See Source Code for full details of changes.

Download Descriptions
  • - Includes the base library (Microsoft.Win32.TaskScheduler.dll) with no UI code. Works with .NET 2.0 and higher. Separate assemblies for .NET 2.0, 3.5 and 4.0. Add this assembly as a reference to interact with Task Scheduler on all systems with IE4 and later. This package is also available via NuGet with package name TaskScheduler.
  • - Includes the UI library (Microsoft.Win32.TaskSchedulerEditor.dll) with all supporting assemblies. Works with .NET 2.0 and higher. Separate assemblies for .NET 2.0, 3.5 and 4.0. Add this assembly as a reference along with Microsoft.Win32.TaskScheduler.dll to get editor controls and dialogs that allow for viewing and editing tasks, triggers, actions, lists, etc. This package is also available via NuGet with package name TaskSchedulerEditor.
  • - Includes the Microsoft Help compatible help files for both the base and editor libraries. Extract all files and then run Install_TaskScheduler.bat to integrate the help.

Reviews for this release

Windows Task scheduler has been around for nearly 2 decades. But programming around it was never simple. This is a manged wrapper that I think will influence the industry to give a second thought towards using Windows Task Scheduler for enterprise applications. I would not be surprised if somebody used this managed library and built a web based interface , similar to what you have in Autosys.
by harappa on Feb 5, 2016 at 10:06 PM
Thank you. This library just celebrated its 14th birthday and I share your hopes for its future.
Reply by dahall (Coordinator) on Feb 6, 2016 at 1:47 PM
Excellent work. Responses from the main author (David Hall) are very quick & helpful. Many thanks!
by ixm7 on Dec 28, 2015 at 12:35 AM
Excellent wrapper of the Windows Task Scheduling system. Makes integrating it into a C# project an absolute breeze. Not only this but the team behind it actually respond to issues and fix problems. Highly recommended.
by DonAtVega on Nov 4, 2015 at 8:49 AM
Thank you, DonAtVega, for your review and kind words. I enjoy supporting this project and keeping it relevant. I'm also very interested in ideas for improvements.
Reply by dahall (Coordinator) on Nov 11, 2015 at 3:29 PM