diff --git a/demo/frosting/build/Build.csproj b/demo/frosting/build/Build.csproj index ed335055..639af7a7 100644 --- a/demo/frosting/build/Build.csproj +++ b/demo/frosting/build/Build.csproj @@ -1,16 +1,16 @@ Exe - net6.0 + net8.0 $(MSBuildProjectDirectory) - + - - ..\..\..\src\Cake.ESLint\bin\Debug\netstandard2.0\Cake.ESLint.dll + + $(ProjectDir)../../../src/Cake.ESLint/bin/Debug/net8.0/Cake.ESLint.dll diff --git a/demo/script/.config/dotnet-tools.json b/demo/script/.config/dotnet-tools.json index 31e896e9..da200cda 100644 --- a/demo/script/.config/dotnet-tools.json +++ b/demo/script/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "cake.tool": { - "version": "2.0.0", + "version": "4.0.0", "commands": [ "dotnet-cake" ] diff --git a/demo/script/build.cake b/demo/script/build.cake index f8d726a2..75952662 100644 --- a/demo/script/build.cake +++ b/demo/script/build.cake @@ -1,5 +1,5 @@ #addin nuget:?package=Cake.Npm&version=3.0.0 -#r "..\..\src\Cake.ESLint\bin\Debug\net6.0\Cake.ESLint.dll" +#r "..\..\src\Cake.ESLint\bin\Debug\net8.0\Cake.ESLint.dll" /////////////////////////////////////////////////////////////////////////////// // ARGUMENTS @@ -12,11 +12,11 @@ var target = Argument("target", "Default"); /////////////////////////////////////////////////////////////////////////////// Task("ensure-eslint-tool") -.Does(() => +.Does(() => { var tools = Context.Configuration.GetToolPath(Context.Environment.WorkingDirectory, Context.Environment); CreateDirectory(tools); - var settings = new NpmInstallSettings + var settings = new NpmInstallSettings { WorkingDirectory = tools }; diff --git a/src/Cake.ESLint.Tests/Cake.ESLint.Tests.csproj b/src/Cake.ESLint.Tests/Cake.ESLint.Tests.csproj index 8bdc8c7f..41fa6983 100644 --- a/src/Cake.ESLint.Tests/Cake.ESLint.Tests.csproj +++ b/src/Cake.ESLint.Tests/Cake.ESLint.Tests.csproj @@ -8,14 +8,14 @@ Remove this hack if Cake.Recipe bumps the usage of Cake.Incubator to version 7.0.0 --> netcoreapp3.1 - net6.0;net7.0 + net6.0;net7.0;net8.0 $(NoWarn);CS1591;SA1600 false - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Cake.ESLint/Cake.ESLint.csproj b/src/Cake.ESLint/Cake.ESLint.csproj index 1b2d9240..7af6d58f 100644 --- a/src/Cake.ESLint/Cake.ESLint.csproj +++ b/src/Cake.ESLint/Cake.ESLint.csproj @@ -1,6 +1,6 @@ - net6.0;net7.0; + net6.0;net7.0;net8.0 true true snupkg @@ -32,8 +32,8 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive