Skip to content

Commit

Permalink
Always import language targets
Browse files Browse the repository at this point in the history
Fixes an issue where the platform targets are not available (building a netstandard 2.0 project that references a "netstandard2.0;xamarinios10" project on Linux.
  • Loading branch information
jeromelaban committed Sep 26, 2019
1 parent ee620c1 commit 6705a4b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -30,7 +30,7 @@

<!-- Import common targets so NuGet restore succeeds -->
<!-- https://github.com/dotnet/sdk/blob/979eed136b786b6e2d77f567eb5a368952982740/src/Tasks/Microsoft.NET.Build.Tasks/sdk/Sdk.targets#L33 -->
<Import Condition="'$(_SdkLanguageTargetsMissing)' == 'true' " Project="$(LanguageTargets)" />
<Import Project="$(LanguageTargets)" />


<Target Name="_ShowMissingLanguageTargetsError" BeforeTargets="_CheckForUnsupportedTargetFramework" Condition="'$(_SdkLanguageTargetsMissing)' == 'true' and '$(_SdkIgnoreMissingLanguageTargetsError)' != 'true' ">
Expand Down

0 comments on commit 6705a4b

Please sign in to comment.