Skip to content

Commit

Permalink
Update SDK (#34236)
Browse files Browse the repository at this point in the history
* Update SDK

This ingests the global imports change from the SDK

* Implicit imports fixes

* Fix test projects
  • Loading branch information
John Luo authored Jul 9, 2021
1 parent bb37377 commit 15949fa
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion eng/targets/CSharp.Common.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>

<PropertyGroup>
<LangVersion>9.0</LangVersion>
<LangVersion>10.0</LangVersion>

<!-- Enables Strict mode for Roslyn compiler -->
<Features>strict;nullablePublicOnly</Features>
Expand Down
1 change: 1 addition & 0 deletions eng/tools/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
<IsPackable>false</IsPackable>
<DisablePackageReferenceRestrictions>true</DisablePackageReferenceRestrictions>
<Nullable>disable</Nullable>
<DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
</PropertyGroup>
</Project>
4 changes: 2 additions & 2 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"sdk": {
"version": "6.0.100-preview.7.21356.3"
"version": "6.0.100-preview.7.21359.3"
},
"tools": {
"dotnet": "6.0.100-preview.7.21356.3",
"dotnet": "6.0.100-preview.7.21359.3",
"runtimes": {
"dotnet/x64": [
"2.1.27",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<SignAssembly>false</SignAssembly>
<IsTestAssetProject>true</IsTestAssetProject>
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
<DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<TestAssetOutputName>InProcessNewShimWebSite</TestAssetOutputName>
<DefineConstants>FORWARDCOMPAT</DefineConstants>
<CompileUsingReferenceAssemblies>false</CompileUsingReferenceAssemblies>
<DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
</PropertyGroup>

<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
Expand Down
8 changes: 8 additions & 0 deletions src/Servers/Kestrel/Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<Project>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)..\, Directory.Build.targets))\Directory.Build.targets" />

<ItemGroup>
<Import Remove="System.Net.Http" />
</ItemGroup>

</Project>

0 comments on commit 15949fa

Please sign in to comment.