Skip to content

Commit 5aaaecd

Browse files
authored
Update to .NET 11 (#134)
2 parents 34b7481 + f7d1c48 commit 5aaaecd

15 files changed

Lines changed: 222 additions & 164 deletions

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project>
22
<PropertyGroup>
3-
<TargetFramework>net10.0</TargetFramework>
3+
<TargetFramework>net11.0</TargetFramework>
44
<Nullable>enable</Nullable>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<RootNamespace>DotNetLab</RootNamespace>

Directory.Build.targets

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
11
<Project>
2+
3+
<!-- Workaround for https://github.com/microsoft/codecoverage/issues/209. -->
4+
<Target Name="MsCoverageExtensionReferencedPathMaps"></Target>
5+
6+
<!-- Workaround for https://github.com/dotnet/runtime/issues/124729. -->
7+
<ItemGroup Condition="'$(WasmEmitTypeScriptDefinitions)' == 'true'">
8+
<Content Remove="$(MSBuildProjectDirectory)\wwwroot\dotnet.d.ts" />
9+
<None Include="$(MSBuildProjectDirectory)\wwwroot\dotnet.d.ts" />
10+
</ItemGroup>
11+
212
</Project>

Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
55
<!-- We are not using package source mapping. -->
66
<NoWarn>$(NoWarn);NU1507</NoWarn>
7-
<NetCoreVersion>10.0.3</NetCoreVersion>
7+
<NetCoreVersion>11.0.0-preview.1.26104.118</NetCoreVersion>
88
<AspNetCoreVersion>$(NetCoreVersion)</AspNetCoreVersion>
99
<RoslynVersion>5.5.0-2.26110.7</RoslynVersion>
1010
<RazorVersion>10.0.0-preview.26109.1</RazorVersion>

DotNetLab.slnx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<Folder Name="/eng/">
33
<File Path="eng/AppEntryPoint.targets" />
44
<File Path="eng/build.sh" />
5-
<File Path="eng/CopyDotNetDTs.targets" />
65
<File Path="eng/index.template.html" />
76
<File Path="eng/IndexHtmlGeneration.targets" />
7+
<File Path="eng/PatchCoreLib.targets" />
88
<Project Path="eng/BuildTools/BuildTools.csproj" />
99
</Folder>
1010
<Folder Name="/src/">

eng/CopyDotNetDTs.targets

Lines changed: 0 additions & 23 deletions
This file was deleted.

eng/PatchCoreLib.targets

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<!-- Workaround for https://github.com/jjonescz/DotNetLab/issues/129. -->
21
<Project>
32
<PropertyGroup>
43
<_CoreLibAssemblyName>System.Private.CoreLib.dll</_CoreLibAssemblyName>

0 commit comments

Comments
 (0)