diff --git a/.vscode/launch.json b/.vscode/launch.json index 154f9ac8..617e9d71 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -6,7 +6,7 @@ "type": "coreclr", "request": "launch", "preLaunchTask": "build", - "program": "${workspaceFolder}/src/TodoApp/bin/Debug/net8.0/TodoApp.dll", + "program": "${workspaceFolder}/src/TodoApp/bin/Debug/net9.0/TodoApp.dll", "args": [], "cwd": "${workspaceFolder}/src/TodoApp", "stopAtEntry": false, diff --git a/.vsconfig b/.vsconfig index 76104a4d..3ab89173 100644 --- a/.vsconfig +++ b/.vsconfig @@ -3,7 +3,7 @@ "components": [ "Microsoft.VisualStudio.Component.CoreEditor", "Microsoft.VisualStudio.Workload.CoreEditor", - "Microsoft.NetCore.Component.Runtime.8.0", + "Microsoft.NetCore.Component.Runtime.9.0", "Microsoft.NetCore.Component.SDK", "Microsoft.VisualStudio.Component.Roslyn.Compiler", "Microsoft.VisualStudio.Component.Roslyn.LanguageServices", diff --git a/README.md b/README.md index c130de69..d2376e66 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ with [User Secrets] instead. Compiling the application yourself requires Git and the [.NET SDK](https://www.microsoft.com/net/download/core "Download the .NET SDK") -to be installed (version `8.0.100` or later). +to be installed (version `9.0.100` or later). To build and test the application locally from a terminal/command-line, run the following set of commands: diff --git a/build.ps1 b/build.ps1 index 3ed0048b..7f678744 100755 --- a/build.ps1 +++ b/build.ps1 @@ -12,10 +12,6 @@ param( $env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE = "true" $env:NUGET_XMLDOC_MODE = "skip" -if ($null -eq $env:MSBUILDTERMINALLOGGER) { - $env:MSBUILDTERMINALLOGGER = "auto" -} - $Configuration = "Release" $ErrorActionPreference = "Stop" $ProgressPreference = "SilentlyContinue" diff --git a/global.json b/global.json index 7c4a0199..b207f0ea 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "8.0.203", + "version": "9.0.100-preview.1.24101.2", "allowPrerelease": false, "rollForward": "latestMajor" } diff --git a/src/TodoApp/TodoApp.csproj b/src/TodoApp/TodoApp.csproj index b0dc060b..6632b47c 100644 --- a/src/TodoApp/TodoApp.csproj +++ b/src/TodoApp/TodoApp.csproj @@ -2,16 +2,16 @@ true false - $(NoWarn);CA1050 + $(NoWarn);CA1050;CA1515 TodoApp - net8.0 + net9.0 true latest TodoApp - + diff --git a/startvscode.cmd b/startvscode.cmd index abec237b..45ea8f6d 100644 --- a/startvscode.cmd +++ b/startvscode.cmd @@ -11,7 +11,7 @@ SET DOTNET_ROOT(x86)=%~dp0.dotnetcli\x86 SET PATH=%DOTNET_ROOT%;%PATH% :: Sets the Target Framework for Visual Studio Code. -SET TARGET=net8.0 +SET TARGET=net9.0 SET FOLDER=%~1 diff --git a/tests/TodoApp.Tests/TodoApp.Tests.csproj b/tests/TodoApp.Tests/TodoApp.Tests.csproj index 3cf6bc9e..06d480a1 100644 --- a/tests/TodoApp.Tests/TodoApp.Tests.csproj +++ b/tests/TodoApp.Tests/TodoApp.Tests.csproj @@ -1,9 +1,9 @@ false - $(NoWarn);CA1861 + $(NoWarn);CA1515;CA1861 TodoApp - net8.0 + net9.0 @@ -11,7 +11,7 @@ - +