Skip to content

Commit 15949fa

Browse files
author
John Luo
authored
Update SDK (#34236)
* Update SDK This ingests the global imports change from the SDK * Implicit imports fixes * Fix test projects
1 parent bb37377 commit 15949fa

File tree

6 files changed

+14
-3
lines changed

6 files changed

+14
-3
lines changed

eng/targets/CSharp.Common.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22

33
<PropertyGroup>
4-
<LangVersion>9.0</LangVersion>
4+
<LangVersion>10.0</LangVersion>
55

66
<!-- Enables Strict mode for Roslyn compiler -->
77
<Features>strict;nullablePublicOnly</Features>

eng/tools/Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
<IsPackable>false</IsPackable>
66
<DisablePackageReferenceRestrictions>true</DisablePackageReferenceRestrictions>
77
<Nullable>disable</Nullable>
8+
<DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
89
</PropertyGroup>
910
</Project>

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"sdk": {
3-
"version": "6.0.100-preview.7.21356.3"
3+
"version": "6.0.100-preview.7.21359.3"
44
},
55
"tools": {
6-
"dotnet": "6.0.100-preview.7.21356.3",
6+
"dotnet": "6.0.100-preview.7.21359.3",
77
"runtimes": {
88
"dotnet/x64": [
99
"2.1.27",

src/Components/benchmarkapps/Wasm.Performance/Driver/Wasm.Performance.Driver.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<SignAssembly>false</SignAssembly>
1010
<IsTestAssetProject>true</IsTestAssetProject>
1111
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
12+
<DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
1213
</PropertyGroup>
1314

1415
<ItemGroup>

src/Servers/IIS/IIS/test/testassets/InProcessNewShimWebSite/InProcessNewShimWebSite.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<TestAssetOutputName>InProcessNewShimWebSite</TestAssetOutputName>
99
<DefineConstants>FORWARDCOMPAT</DefineConstants>
1010
<CompileUsingReferenceAssemblies>false</CompileUsingReferenceAssemblies>
11+
<DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
1112
</PropertyGroup>
1213

1314
<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<Project>
2+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)..\, Directory.Build.targets))\Directory.Build.targets" />
3+
4+
<ItemGroup>
5+
<Import Remove="System.Net.Http" />
6+
</ItemGroup>
7+
8+
</Project>

0 commit comments

Comments
 (0)