diff --git a/.github/ISSUE_TEMPLATE/upgrade_dependency.md b/.github/ISSUE_TEMPLATE/upgrade_dependency.md new file mode 100644 index 0000000..4399baa --- /dev/null +++ b/.github/ISSUE_TEMPLATE/upgrade_dependency.md @@ -0,0 +1,16 @@ +--- +name: Upgrade dependency +about: Create a request to upgrade a dependency +title: '' +labels: +assignees: '' + +--- + +Describe the dependency you want to upgrade here. + +Put the current version and the desired version of the dependency. You can also include any relevant context or reasons for the upgrade. + +Current version : '' + +Desired version : '' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e07780..bfb3f66 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,7 @@ jobs: publishToNuget: ${{ github.event.inputs.publishToNuget == true }} dotnet-version: | 9.0.x + 10.0.x secrets: NUGETPACKAGEIDENTIFIER: ${{ secrets.NUGETPACKAGEIDENTIFIER }} NUGETAPIKEY: ${{ secrets.NUGETAPIKEY }} diff --git a/src/Directory.builds.prop b/src/Directory.builds.prop deleted file mode 100644 index 6620b78..0000000 --- a/src/Directory.builds.prop +++ /dev/null @@ -1,27 +0,0 @@ - - - $(AssemblyName) ($(TargetFramework)) - en - - latest - $(NoWarn);1591;1701;1702;1705;VSX1000;NU1603 - true - true - - AnyCPU - portable - $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb - true - - $(MSBuildProjectName.Contains('UnitTest')) - $(MSBuildProjectName.Contains('MvvX.Plugins.ServiceMaxMobile')) - - - $(MSBuildProgramFiles32)\dotnet\dotnet - $(ProgramW6432)\dotnet\dotnet - - \ No newline at end of file diff --git a/src/JSLTSharp.Tests/BaseTestsClass.cs b/src/JSLTSharp.Tests/BaseTestsClass.cs index 7e59b99..f479743 100644 --- a/src/JSLTSharp.Tests/BaseTestsClass.cs +++ b/src/JSLTSharp.Tests/BaseTestsClass.cs @@ -3,6 +3,7 @@ using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Newtonsoft.Json.Linq; +using System; using System.Diagnostics.CodeAnalysis; namespace JSLTSharp.Tests diff --git a/src/JSLTSharp.Tests/EmbededFunctions/ValueTransformations/ToBooleanTransformTests.cs b/src/JSLTSharp.Tests/EmbededFunctions/ValueTransformations/ToBooleanTransformTests.cs index 6db2298..115b524 100644 --- a/src/JSLTSharp.Tests/EmbededFunctions/ValueTransformations/ToBooleanTransformTests.cs +++ b/src/JSLTSharp.Tests/EmbededFunctions/ValueTransformations/ToBooleanTransformTests.cs @@ -34,10 +34,11 @@ public void TestString_False() } [TestMethod] - [ExpectedException(typeof(JsonReaderException))] public void TestString_WithUpperCase() { - TestJsonTransformation(@"{ + Assert.Throws(() => + { + TestJsonTransformation(@"{ 'bool': False }", @"{ @@ -46,6 +47,7 @@ public void TestString_WithUpperCase() @"{ 'bool': false }"); + }); } [TestMethod] diff --git a/src/JSLTSharp.Tests/JSLTSharp.Tests.csproj b/src/JSLTSharp.Tests/JSLTSharp.Tests.csproj index ae0577e..dc919b4 100644 --- a/src/JSLTSharp.Tests/JSLTSharp.Tests.csproj +++ b/src/JSLTSharp.Tests/JSLTSharp.Tests.csproj @@ -1,22 +1,21 @@  - net9.0 + net10.0 true enable - false - - - - - + + + + + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/JSLTSharp/JSLTSharp.csproj b/src/JSLTSharp/JSLTSharp.csproj index 7a64ee6..bb5c4a4 100644 --- a/src/JSLTSharp/JSLTSharp.csproj +++ b/src/JSLTSharp/JSLTSharp.csproj @@ -2,7 +2,7 @@ {7E99DD47-E2FE-4ABE-8481-3B3FE758C7D4} - net8.0;net9.0 + net9.0;net10.0 true README.md preview @@ -21,18 +21,9 @@ - - - - - - - - - - - - + + +