Skip to content

Commit f4d21c5

Browse files
committed
Updated version to 2.10.0 and added support for .NET 6.0
1 parent 5cdf8c7 commit f4d21c5

File tree

12 files changed

+24
-21
lines changed

12 files changed

+24
-21
lines changed

Directory.Build.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<RepositoryType>Git</RepositoryType>
1717
<SignAssembly>true</SignAssembly>
1818
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)Microsoft.Windows.TaskScheduler.pfx</AssemblyOriginatorKeyFile>
19-
<Version>2.9.3</Version>
19+
<Version>2.10.0</Version>
2020
<NoWarn>$(NoWarn);NETSDK1138;SYSLIB0003;SYSLIB0004;SYSLIB0011</NoWarn>
2121
</PropertyGroup>
2222
<PropertyGroup Condition="'$(Configuration)'=='Release'">

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Once referenced by your project, all classes can be found in the `Microsoft.Win3
2727
### Main Library
2828
Microsoft introduced version 2.0 (internally version 1.2) with a completely new object model with Windows Vista. The managed assembly closely resembles the new object model, but allows the 1.0 (internally version 1.1) COM objects to be manipulated. It will automatically choose the most recent version of the library found on the host system (up through 1.4). Core features include:
2929

30-
* Separate, functionally identical, libraries for .NET 2.0, 3.5, 4.0, 4.52, 5.0, .NET Standard 2.0, .NET Core 2.0, 2.1, 3.0, 3.1.
30+
* Separate, functionally identical, libraries for .NET 2.0, 3.5, 4.0, 4.52, 5.0, 6.0, .NET Standard 2.0, .NET Core 2.0, 2.1, 3.0, 3.1.
3131
* Unlike the base COM libraries, this wrapper helps to create and view tasks up and down stream.
3232
* Written in C#, but works with any .NET language including scripting languages (e.g. PowerShell).
3333
* Supports all V2 native properties, even under V1 systems.

TaskEditor/DialogBase.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ public DialogBase()
657657
}
658658
}
659659

660-
#if !NET5_0
660+
#if !NET5_0_OR_GREATER
661661
/// <summary>
662662
/// Occurs when the value of the <see cref="P:System.Windows.Forms.Control.ContextMenu"/> property changes.
663663
/// </summary>
@@ -1397,7 +1397,7 @@ public override ImageLayout BackgroundImageLayout
13971397
}
13981398
}
13991399

1400-
#if !NET5_0
1400+
#if !NET5_0_OR_GREATER
14011401
/// <summary>
14021402
/// Gets or sets the shortcut menu associated with the control.
14031403
/// </summary>
@@ -1865,7 +1865,7 @@ public override Color ForeColor
18651865
}
18661866
}
18671867

1868-
#if !NET5_0
1868+
#if !NET5_0_OR_GREATER
18691869
/// <summary>
18701870
/// Gets or sets the <see cref="T:System.Windows.Forms.MainMenu"/> that is displayed in the form.
18711871
/// </summary>

TaskEditor/TaskEditor.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
44
<UseWindowsForms>true</UseWindowsForms>
5-
<TargetFrameworks>net20;net35;net40;net452;net5.0-windows</TargetFrameworks>
5+
<TargetFrameworks>net20;net35;net40;net452;net5.0-windows;net6.0-windows</TargetFrameworks>
66
<AssemblyName>Microsoft.Win32.TaskSchedulerEditor</AssemblyName>
77
<RootNamespace>Microsoft.Win32.TaskScheduler</RootNamespace>
88
<PackageId>TaskSchedulerEditor</PackageId>

TaskSchedulerMockup/TaskSchedulerMockup.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<Product>TaskService</Product>
88
<Description>https://github.com/dahall/TaskScheduler</Description>
99
<Copyright>Copyright © 2020</Copyright>
10-
<Version>2.9.2</Version>
10+
<Version>2.10.0</Version>
1111
<OutputPath>bin\$(Configuration)\$(TargetFrameworkVersion)</OutputPath>
1212
</PropertyGroup>
1313
<PropertyGroup>

TaskService.sln

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.29709.97
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.0.31919.166
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestTaskService", "TestTaskService\TestTaskService.csproj", "{207F8F60-0A74-4959-8623-5D258EB133EB}"
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestTaskService", "TestTaskService\TestTaskService.csproj", "{207F8F60-0A74-4959-8623-5D258EB133EB}"
77
ProjectSection(ProjectDependencies) = postProject
88
{5279D487-59FA-4D01-9D7A-EA7387D8B67C} = {5279D487-59FA-4D01-9D7A-EA7387D8B67C}
99
EndProjectSection
1010
EndProject
11-
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "VBTestTaskService", "VBTestTaskService\VBTestTaskService.vbproj", "{8C410535-95B6-434B-A03D-1359884D0410}"
11+
Project("{778DAE3C-4631-46EA-AA77-85C1314464D9}") = "VBTestTaskService", "VBTestTaskService\VBTestTaskService.vbproj", "{8C410535-95B6-434B-A03D-1359884D0410}"
1212
EndProject
1313
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TaskEditor", "TaskEditor\TaskEditor.csproj", "{5279D487-59FA-4D01-9D7A-EA7387D8B67C}"
1414
EndProject
@@ -21,15 +21,17 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TaskService", "TaskService\
2121
EndProject
2222
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestTaskServiceConsole", "TestTaskServiceConsole\TestTaskServiceConsole.csproj", "{7091A61E-0F5C-4FEA-B2F3-2538D53790CD}"
2323
EndProject
24-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TaskSchedulerMockup", "TaskSchedulerMockup\TaskSchedulerMockup.csproj", "{E9B8220B-6104-4FB2-BE74-18562ED032B7}"
24+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TaskSchedulerMockup", "TaskSchedulerMockup\TaskSchedulerMockup.csproj", "{E9B8220B-6104-4FB2-BE74-18562ED032B7}"
2525
EndProject
2626
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{5CAA4778-BF5D-46AA-A92E-04F233FE1D16}"
2727
ProjectSection(SolutionItems) = preProject
2828
code-of-conduct.md = code-of-conduct.md
2929
contributing.md = contributing.md
3030
VBTestTaskService\Directory.Build.props = VBTestTaskService\Directory.Build.props
31+
Directory.Build.props = Directory.Build.props
3132
Directory.Build.targets = Directory.Build.targets
3233
license.md = license.md
34+
Microsoft.Windows.TaskScheduler.pfx = Microsoft.Windows.TaskScheduler.pfx
3335
README.md = README.md
3436
EndProjectSection
3537
EndProject

TaskService/TaskService.csproj

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net20;net35;net40;net452;netstandard2.0;netcoreapp2.0;netcoreapp2.1;netcoreapp3.0;netcoreapp3.1;net5.0-windows</TargetFrameworks>
3+
<TargetFrameworks>net20;net35;net40;net452;netstandard2.0;netcoreapp2.0;netcoreapp2.1;netcoreapp3.0;netcoreapp3.1;net5.0-windows;net6.0-windows</TargetFrameworks>
44
<!--<TargetFrameworks>netcoreapp3.1</TargetFrameworks>-->
55
<AssemblyName>Microsoft.Win32.TaskScheduler</AssemblyName>
66
<RootNamespace>Microsoft.Win32.TaskScheduler</RootNamespace>
@@ -9,9 +9,10 @@
99
<Description>Provides a single assembly wrapper for the 1.0 and 2.0 versions of Task Scheduler found in all Microsoft operating systems post Windows 98. It simplifies the coding, aggregates the multiple versions and allows for localization support.</Description>
1010
<PackageTags>task;interop;windows;taskscheduler;scheduler;.net;task scheduler</PackageTags>
1111
<PackageReadmeFile>TaskService.md</PackageReadmeFile>
12+
<SignAssembly>True</SignAssembly>
1213
</PropertyGroup>
1314
<ItemGroup>
14-
<None Include="TaskService.md" Pack="true" PackagePath="\"/>
15+
<None Include="TaskService.md" Pack="true" PackagePath="\" />
1516
</ItemGroup>
1617
<ItemGroup>
1718
<None Remove="TaskService.bmp" />
@@ -37,7 +38,7 @@
3738
<PackageReference Include="System.Security.Principal.Windows" Version="5.0.0" />
3839
<PackageReference Include="System.Xml.XmlSerializer" Version="4.3.0" />
3940
</ItemGroup>
40-
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' Or $(TargetFramework.StartsWith('netcoreapp')) Or $(TargetFramework.StartsWith('net5')) ">
41+
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' Or $(TargetFramework.StartsWith('netcoreapp')) Or $(TargetFramework.StartsWith('net5')) Or $(TargetFramework.StartsWith('net6')) ">
4142
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" />
4243
<PackageReference Include="System.Diagnostics.EventLog" Version="5.0.0" />
4344
<PackageReference Include="System.Security.AccessControl" Version="5.0.0" />

TaskService/TaskService.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Below are links to sites that provide in-depth examples, documentation and discu
1414
## Key Features
1515
Microsoft introduced version 2.0 (internally version 1.2) with a completely new object model with Windows Vista. The managed assembly closely resembles the new object model but allows the 1.0 (internally version 1.1) COM objects to be manipulated. It will automatically choose the most recent version of the library found on the host system (up through 1.4). Core features include:
1616

17-
* Separate, functionally identical, libraries for .NET 2.0, 3.5, 4.0, 4.52, 5.0, .NET Standard 2.0, .NET Core 2.0, 2.1, 3.0, 3.1.
17+
* Separate, functionally identical, libraries for .NET 2.0, 3.5, 4.0, 4.52, 5.0, 6.0, .NET Standard 2.0, .NET Core 2.0, 2.1, 3.0, 3.1.
1818
* Unlike the base COM libraries, this wrapper accommodates creating and viewing tasks up and down stream.
1919
* Supports all V2 native properties, even under V1 tasks.
2020
* Maintain EmailAction and ShowMessageAction using PowerShell scripts for systems after Win8 where these actions have been deprecated.

TestTaskService/TestTaskService.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<Product>TaskService</Product>
99
<Description>https://github.com/dahall/TaskScheduler</Description>
1010
<Copyright>Copyright © 2020</Copyright>
11-
<Version>2.9.2</Version>
11+
<Version>2.10.0</Version>
1212
<OutputPath>bin\$(Configuration)\$(TargetFrameworkVersion)</OutputPath>
1313
<LangVersion>latest</LangVersion>
1414
</PropertyGroup>

TestTaskServiceConsole/TestTaskServiceConsole.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<OutputType>Exe</OutputType>
44
<TargetFramework>netcoreapp2.0</TargetFramework>
55
<StartupObject>TestTaskServiceConsole.Program</StartupObject>
6-
<Version>2.9.2</Version>
6+
<Version>2.10.0</Version>
77
<LangVersion>latest</LangVersion>
88
</PropertyGroup>
99
<ItemGroup>

VBTestTaskService/My Project/Resources.Designer.vb

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

VBTestTaskService/VBTestTaskService.vbproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<Version>2.9.3</Version>
3+
<Version>2.10.0</Version>
44
<OutputType>WinExe</OutputType>
55
<StartupObject>VBTestTaskService.Module1</StartupObject>
66
<MyType>WindowsFormsWithCustomSubMain</MyType>

0 commit comments

Comments
 (0)