Skip to content

Commit

Permalink
Update to .NET 9 preview 7
Browse files Browse the repository at this point in the history
Update to preview 7 of .NET 9.
  • Loading branch information
martincostello committed Aug 21, 2024
1 parent 4f5594b commit 8123f8b
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/src/DotNetBenchmarks/bin/Release/net8.0/DotNetBenchmarks.dll",
"program": "${workspaceFolder}/src/DotNetBenchmarks/bin/Release/net9.0/DotNetBenchmarks.dll",
"args": [ "--configuration", "Release" ],
"cwd": "${workspaceFolder}/src/DotNetBenchmarks",
"stopAtEntry": false
Expand Down
2 changes: 1 addition & 1 deletion .vsconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions DotNetBenchmarks.ruleset
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<Rule Id="CA2000" Action="None" />
<Rule Id="CA2227" Action="None" />
<Rule Id="CA2234" Action="None" />
<Rule Id="CA2263" Action="None" />
</Rules>
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
<Rule Id="AD0001" Action="None" />
Expand Down
2 changes: 1 addition & 1 deletion benchmark.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#Requires -Version 7

param(
[Parameter(Mandatory = $false)][string] $Framework = "net8.0",
[Parameter(Mandatory = $false)][string] $Framework = "net9.0",
[Parameter(Mandatory = $false)][string] $Job = ""
)

Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "8.0.401",
"version": "9.0.100-preview.7.24407.12",
"allowPrerelease": false,
"rollForward": "latestMajor"
}
Expand Down
2 changes: 1 addition & 1 deletion src/DotNetBenchmarks/DotNetBenchmarks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<NoWarn>$(NoWarn);SA1600</NoWarn>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
Expand Down
2 changes: 1 addition & 1 deletion startvscode.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SET DOTNET_ROOT(x86)=%~dp0.dotnet\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

Expand Down

0 comments on commit 8123f8b

Please sign in to comment.