Skip to content

Commit bad7cd3

Browse files
committed
DRAFT: Update to net11
1 parent c97a8bd commit bad7cd3

41 files changed

Lines changed: 99 additions & 378 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.devcontainer/Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.177.0/containers/dotnet/.devcontainer/base.Dockerfile
22

3-
# [Choice] .NET version: use "latest" or a specific version like "10.0"
4-
ARG VARIANT="10.0"
3+
# [Choice] .NET version: use "latest" or a specific version like "11.0"
4+
ARG VARIANT="11.0"
55
FROM mcr.microsoft.com/vscode/devcontainers/dotnet

‎.devcontainer/devcontainer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"remoteEnv": {
2121
"PATH": "${containerWorkspaceFolder}/.dotnet:${containerEnv:PATH}",
2222
"DOTNET_MULTILEVEL_LOOKUP": "0",
23-
"TARGET": "net10.0",
23+
"TARGET": "net11.0",
2424
"DOTNET_WATCH_SUPPRESS_LAUNCH_BROWSER": "true"
2525
},
2626
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.

‎.github/workflows/codeql-analysis.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
uses: actions/setup-dotnet@v4
3232
id: installdotnet
3333
with:
34-
dotnet-version: 10.0.x
34+
dotnet-version: 11.0.x
3535

3636
- name: Create temporary global.json
3737
run: echo '{"sdk":{"version":"${{ steps.installdotnet.outputs.dotnet-version }}"}}' > ./global.json

‎build/nuget.props‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</PropertyGroup>
3737

3838
<ItemGroup Label="SourceLink">
39-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="10.0.0-*" PrivateAssets="All"/>
39+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="11.0.100-preview.6.26359.118" PrivateAssets="All"/>
4040
</ItemGroup>
4141

4242
</Project>

‎build/steps-ci.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ steps:
88
displayName: Install .NET SDK
99
inputs:
1010
packageType: sdk
11-
version: 10.0.x # https://github.com/dotnet/core/blob/main/release-notes/releases-index.json
11+
includePreviewVersions: true
12+
version: 11.0.x # https://github.com/dotnet/core/blob/main/release-notes/releases-index.json
1213

1314
- script: >
1415
dotnet test
@@ -29,4 +30,4 @@ steps:
2930
displayName: Publish Code Coverage
3031
inputs:
3132
codeCoverageTool: Cobertura
32-
summaryFileLocation: $(System.DefaultWorkingDirectory)/**/*.cobertura.xml
33+
summaryFileLocation: $(System.DefaultWorkingDirectory)/**/*.cobertura.xml

‎build/test.targets‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</ItemGroup>
1212

1313
<ItemGroup Condition=" '$(IsAspNetCore)' == 'true' ">
14-
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="$(DotNetReleaseBasePackageVersion).*" />
14+
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="11.0.0-preview.6.26359.118" />
1515
</ItemGroup>
1616

1717
<ItemGroup>
@@ -22,4 +22,4 @@
2222
<Using Include="Xunit.v3" />
2323
</ItemGroup>
2424

25-
</Project>
25+
</Project>

‎examples/AspNetCore/OData/ODataAdvancedExample/ODataAdvancedExample.csproj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net10.0</TargetFramework>
4+
<TargetFramework>net11.0</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>

‎examples/AspNetCore/OData/ODataBasicExample/ODataBasicExample.csproj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net10.0</TargetFramework>
4+
<TargetFramework>net11.0</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>

‎examples/AspNetCore/OData/ODataConventionsExample/ODataConventionsExample.csproj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net10.0</TargetFramework>
4+
<TargetFramework>net11.0</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>

‎examples/AspNetCore/OData/ODataOpenApiExample/ODataOpenApiExample.csproj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net10.0</TargetFramework>
4+
<TargetFramework>net11.0</TargetFramework>
55
<AssemblyTitle>Example API</AssemblyTitle>
66
<GenerateDocumentationFile>true</GenerateDocumentationFile>
77
</PropertyGroup>

0 commit comments

Comments
 (0)