diff --git a/build/build.csx b/build/build.csx index c3af7a8d..576aa403 100644 --- a/build/build.csx +++ b/build/build.csx @@ -1,4 +1,4 @@ -#load "nuget:Dotnet.Build, 0.16.1" +#load "nuget:Dotnet.Build, 0.23.0" #load "nuget:github-changelog, 0.1.5" #load "nuget:dotnet-steps, 0.0.2" diff --git a/omnisharp.json b/omnisharp.json index 4993383a..75f99d44 100644 --- a/omnisharp.json +++ b/omnisharp.json @@ -9,6 +9,6 @@ }, "script": { "enableScriptNuGetReferences": true, - "defaultTargetFramework": "net6.0" + "defaultTargetFramework": "net8.0" } } \ No newline at end of file diff --git a/src/LightInject.Benchmarks/LightInject.Benchmarks.csproj b/src/LightInject.Benchmarks/LightInject.Benchmarks.csproj index 856f0ccb..5640ca49 100644 --- a/src/LightInject.Benchmarks/LightInject.Benchmarks.csproj +++ b/src/LightInject.Benchmarks/LightInject.Benchmarks.csproj @@ -2,16 +2,16 @@ Exe - net6.0 + net8.0 false false - - + + - - + + diff --git a/src/LightInject.Tests/LightInject.Tests.csproj b/src/LightInject.Tests/LightInject.Tests.csproj index 2007d012..b761f1ba 100644 --- a/src/LightInject.Tests/LightInject.Tests.csproj +++ b/src/LightInject.Tests/LightInject.Tests.csproj @@ -17,23 +17,23 @@ USE_ASSEMBLY_VERIFICATION;USE_ASYNCDISPOSABLE - + - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + - + - - + + - - + + all runtime; build; native; contentfiles; analyzers diff --git a/src/LightInject.Tests/MicrosoftTests.cs b/src/LightInject.Tests/MicrosoftTests.cs index 08891849..90891683 100644 --- a/src/LightInject.Tests/MicrosoftTests.cs +++ b/src/LightInject.Tests/MicrosoftTests.cs @@ -762,7 +762,7 @@ public void NonexistentServiceCanBeIEnumerableResolved() Assert.Empty(services); } - public static TheoryData ServiceContainerPicksConstructorWithLongestMatchesData + public static TheoryData ServiceContainerPicksConstructorWithLongestMatchesData { get { diff --git a/src/LightInject/LightInject.csproj b/src/LightInject/LightInject.csproj index 7acd2816..f3f08569 100644 --- a/src/LightInject/LightInject.csproj +++ b/src/LightInject/LightInject.csproj @@ -1,8 +1,8 @@  - net8.0;netstandard2.0;netcoreapp3.1;net462 - 6.6.4 + net8.0;netstandard2.0;net462 + 7.0.0 Bernhard Richter https://www.lightinject.net git @@ -45,7 +45,7 @@ all runtime; build; native; contentfiles; analyzers - + all runtime; build; native; contentfiles; analyzers