Created
November 27, 2017 01:35
-
-
Save JunTaoLuo/8db65e49e4fd7f0066f7018f4b724002 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Target Name="TreatWarningsAsErrorsDuringRestoreIfUsingAllMetapackage" BeforeTargets="_GenerateRestoreProjectSpec"> | |
<PropertyGroup> | |
<TreatWarningsAsErrors Condition="'$(IngoreMetapackageRestoreErrors)' != 'true' AND '%(PackageReference.Identity)' == 'Microsoft.AspNetCore.All'">true</TreatWarningsAsErrors> | |
</PropertyGroup> | |
</Target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment