Skip to content

Commit

Permalink
Only check on lower msbuild versions
Browse files Browse the repository at this point in the history
Workaround for #179
Fixes #178
  • Loading branch information
Oren Novotny committed Aug 19, 2019
1 parent 8ce9859 commit 559855a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
</PropertyGroup>

<!-- Need to detect if the expected targets where actually imported and reset to common if not -->
<PropertyGroup>
<!-- Workaround for https://github.com/onovotny/MSBuildSdkExtras/issues/179 -->
<PropertyGroup Condition=" '$(MSBuildVersion)' == '' Or '$(MSBuildVersion)' &lt; '16.0' ">
<_SdkLanguageTargetsMissing Condition="$(MSBuildAllProjects.Contains('Microsoft.Common.targets')) ">false</_SdkLanguageTargetsMissing>
<_SdkLanguageTargetsMissing Condition="'$(_SdkLanguageTargetsMissing)' == ''">true</_SdkLanguageTargetsMissing>
</PropertyGroup>
Expand Down

0 comments on commit 559855a

Please sign in to comment.