Skip to content

Commit

Permalink
Workaround error for implicit imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Redth authored and Jonathan Dick committed Jul 22, 2021
1 parent 6ec882a commit 1a9b55c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
<Project>
<Import Project="eng\Versions.props" />

<PropertyGroup>
<!-- Workaround: https://github.com/dotnet/sdk/issues/19050 -->
<DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
</PropertyGroup>

<PropertyGroup>
<BuildForWinUI Condition=" ('$(SolutionFileName)' == 'Microsoft.Maui.WinUI.sln' OR '$(SolutionFileName)' == 'BlazorWindows-net6.sln') AND '$(Packing)' == ''">true</BuildForWinUI>
<BuildForAndroid Condition="'$(SolutionFileName)' == 'Microsoft.Maui.Droid.sln' AND '$(Packing)' == ''">true</BuildForAndroid>
Expand Down

0 comments on commit 1a9b55c

Please sign in to comment.