File tree Expand file tree Collapse file tree 14 files changed +66
-19
lines changed Expand file tree Collapse file tree 14 files changed +66
-19
lines changed Original file line number Diff line number Diff line change 6
6
"type" : " coreclr" ,
7
7
"request" : " launch" ,
8
8
"preLaunchTask" : " build" ,
9
- "program" : " ${workspaceFolder}/src/Website/bin/Debug/net8 .0/Website.dll" ,
9
+ "program" : " ${workspaceFolder}/src/Website/bin/Debug/net9 .0/Website.dll" ,
10
10
"args" : [],
11
11
"cwd" : " ${workspaceFolder}/src/Website" ,
12
12
"stopAtEntry" : false ,
Original file line number Diff line number Diff line change 3
3
"components": [
4
4
"Microsoft.VisualStudio.Component.CoreEditor",
5
5
"Microsoft.VisualStudio.Workload.CoreEditor",
6
- "Microsoft.NetCore.Component.Runtime.8 .0",
6
+ "Microsoft.NetCore.Component.Runtime.9 .0",
7
7
"Microsoft.NetCore.Component.SDK",
8
8
"Microsoft.VisualStudio.Component.Roslyn.Compiler",
9
9
"Microsoft.VisualStudio.Component.Roslyn.LanguageServices",
Original file line number Diff line number Diff line change 9
9
<PackageVersion Include =" coverlet.msbuild" Version =" 6.0.2" />
10
10
<PackageVersion Include =" GitHubActionsTestLogger" Version =" 2.4.1" />
11
11
<PackageVersion Include =" MartinCostello.Logging.XUnit" Version =" 0.4.0" />
12
- <PackageVersion Include =" Microsoft.AspNetCore.AzureAppServices.HostingStartup" Version =" 8 .0.8 " />
13
- <PackageVersion Include =" Microsoft.AspNetCore.Mvc.Testing" Version =" 8 .0.8 " />
12
+ <PackageVersion Include =" Microsoft.AspNetCore.AzureAppServices.HostingStartup" Version =" 9 .0.0-rc.1.24452.1 " />
13
+ <PackageVersion Include =" Microsoft.AspNetCore.Mvc.Testing" Version =" 9 .0.0-rc.1.24452.1 " />
14
14
<PackageVersion Include =" Microsoft.NET.Test.Sdk" Version =" 17.11.1" />
15
15
<PackageVersion Include =" Microsoft.Playwright" Version =" 1.46.0" />
16
16
<PackageVersion Include =" Microsoft.TypeScript.MSBuild" Version =" 5.6.2" />
Original file line number Diff line number Diff line change @@ -11,10 +11,6 @@ param(
11
11
$ErrorActionPreference = " Stop"
12
12
$ProgressPreference = " SilentlyContinue"
13
13
14
- if ($null -eq ${env: MSBUILDTERMINALLOGGER} ) {
15
- ${env: MSBUILDTERMINALLOGGER} = " auto"
16
- }
17
-
18
14
$solutionPath = $PSScriptRoot
19
15
$sdkFile = Join-Path $solutionPath " global.json"
20
16
Original file line number Diff line number Diff line change 6
6
$ErrorActionPreference = " Stop"
7
7
$ProgressPreference = " SilentlyContinue"
8
8
9
- if ($null -eq $env: MSBUILDTERMINALLOGGER ) {
10
- $env: MSBUILDTERMINALLOGGER = " auto"
11
- }
12
-
13
9
$solutionPath = $PSScriptRoot
14
10
$sdkFile = Join-Path $solutionPath " global.json"
15
11
Original file line number Diff line number Diff line change 1
1
{
2
2
"sdk" : {
3
- "version" : " 8 .0.401 " ,
3
+ "version" : " 9 .0.100-rc.1.24452.12 " ,
4
4
"allowPrerelease" : false ,
5
5
"rollForward" : " latestMajor"
6
6
}
Original file line number Diff line number Diff line change 5
5
<OutputType >Exe</OutputType >
6
6
<RootNamespace >MartinCostello.Website.Benchmarks</RootNamespace >
7
7
<Summary >$(Description)</Summary >
8
- <TargetFramework >net8 .0</TargetFramework >
8
+ <TargetFramework >net9 .0</TargetFramework >
9
9
</PropertyGroup >
10
10
<ItemGroup >
11
11
<ProjectReference Include =" ..\..\src\Website\Website.csproj" />
Original file line number Diff line number Diff line change 11
11
<PublishSelfContained >true</PublishSelfContained >
12
12
<RootNamespace >MartinCostello.Website</RootNamespace >
13
13
<Summary >Martin Costello's website</Summary >
14
- <TargetFramework >net8 .0</TargetFramework >
14
+ <TargetFramework >net9 .0</TargetFramework >
15
15
<TrimmerSingleWarn >false</TrimmerSingleWarn >
16
16
<TypeScriptCompileBlocked >true</TypeScriptCompileBlocked >
17
17
<TypeScriptToolsVersion >latest</TypeScriptToolsVersion >
18
18
<UserSecretsId >martincostello.com</UserSecretsId >
19
+ <!-- HACK Workaround for https://github.com/dotnet/runtime/issues/106566 -->
20
+ <UseSystemZlib >false</UseSystemZlib >
19
21
</PropertyGroup >
20
22
<ItemGroup >
21
23
<PackageReference Include =" Azure.Monitor.OpenTelemetry.Exporter" />
Original file line number Diff line number Diff line change
1
+ @ ECHO OFF
2
+ SETLOCAL
3
+
4
+ :: This command launches a Visual Studio solution with environment variables required to use a local version of the .NET SDK.
5
+
6
+ :: This tells .NET to use the same dotnet.exe that the build script uses.
7
+ SET DOTNET_ROOT = %~dp0 .dotnetcli
8
+ SET DOTNET_ROOT(x86) = %~dp0 .dotnetcli\x86
9
+
10
+ :: Put our local dotnet.exe on PATH first so Visual Studio knows which one to use.
11
+ SET PATH = %DOTNET_ROOT% ;%PATH%
12
+
13
+ SET sln = %~dp0 Website.sln
14
+
15
+ IF NOT EXIST " %DOTNET_ROOT% \dotnet.exe" (
16
+ echo The .NET SDK has not yet been installed. Run `%~dp0 build.ps1` to install it
17
+ exit /b 1
18
+ )
19
+
20
+ IF " %VSINSTALLDIR% " == " " (
21
+ start " " " %sln% "
22
+ ) else (
23
+ " %VSINSTALLDIR% \Common7\IDE\devenv.com" " %sln% "
24
+ )
Original file line number Diff line number Diff line change
1
+ @ ECHO OFF
2
+ SETLOCAL
3
+
4
+ :: This command launches Visual Studio Code with environment variables required to use a local version of the .NET SDK.
5
+
6
+ :: This tells .NET to use the same dotnet.exe that the build script uses.
7
+ SET DOTNET_ROOT = %~dp0 .dotnetcli
8
+ SET DOTNET_ROOT(x86) = %~dp0 .dotnetcli\x86
9
+
10
+ :: Put our local dotnet.exe on PATH first so Visual Studio Code knows which one to use.
11
+ SET PATH = %DOTNET_ROOT% ;%PATH%
12
+
13
+ :: Sets the Target Framework for Visual Studio Code.
14
+ SET TARGET = net9.0
15
+
16
+ SET FOLDER = %~1
17
+
18
+ IF NOT EXIST " %DOTNET_ROOT% \dotnet.exe" (
19
+ echo The .NET SDK has not yet been installed. Run `%~dp0 build.ps1` to install it
20
+ exit /b 1
21
+ )
22
+
23
+ IF " %FOLDER% " == " " (
24
+ code .
25
+ ) else (
26
+ code " %FOLDER% "
27
+ )
28
+
29
+ exit /b 1
You can’t perform that action at this time.
0 commit comments