Skip to content

Commit

Permalink
Add a preventative workaround for an incoming MSBuild regression
Browse files Browse the repository at this point in the history
MSBuild 15.3 will be briefly broken, see details here:
dotnet/msbuild#2165

It is not yet public and will be fixed soon, but we're already starting to hit the problem as we upgrade. To temporarily work around this until everybody upgrades the MSBuild that fixes the issue this is a simple workaround with no other side effects.
  • Loading branch information
KirillOsenkov committed Jun 2, 2017
1 parent 5315887 commit b1dea22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main/MonoDevelop.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<CustomBeforeMicrosoftCommonTargets>$(MonoDevelopRootDir)\msbuild\MonoDevelop.BeforeCommon.targets</CustomBeforeMicrosoftCommonTargets>
<CustomAfterMicrosoftCommonTargets>$(MonoDevelopRootDir)\msbuild\MonoDevelop.AfterCommon.targets</CustomAfterMicrosoftCommonTargets>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>

<!-- temporary workaround for https://github.com/Microsoft/msbuild/issues/2165 -->
<CompileUsingReferenceAssemblies>false</CompileUsingReferenceAssemblies>
</PropertyGroup>
<!-- import common targets if they were not imported already by an MSBuild Sdk -->
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="'$(MicrosoftCommonPropsHasBeenImported)' != 'true'" />
Expand Down

0 comments on commit b1dea22

Please sign in to comment.