Set `DisableImplicitNamespaceImports_Dotnet=true` to workaround sdk issue (#56744)
authorSantiago Fernandez Madero <safern@microsoft.com>
Tue, 3 Aug 2021 00:42:37 +0000 (17:42 -0700)
committerGitHub <noreply@github.com>
Tue, 3 Aug 2021 00:42:37 +0000 (17:42 -0700)
* Set `DisableImplicitNamespaceImports_Dotnet=true` to workaround sdk issue

* Disable just the imports declaration rather than the functionality

Directory.Build.props

index 2e8a20b..556b399 100644 (file)
     <ProduceReferenceAssembly>false</ProduceReferenceAssembly>
     <!-- We have very special projects that don't always contain default references. We also build MSBuild Tasks
     and there are some implicit namespaces that clash, i.e System.Threading.Tasks. -->
-    <DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
+    <DisableImplicitNamespaceImports_DotNet>true</DisableImplicitNamespaceImports_DotNet>
   </PropertyGroup>
 
   <PropertyGroup>