Skip to content

Commit

Permalink
Import Microsoft.Managed targets in Sdk.IL (dotnet#34124)
Browse files Browse the repository at this point in the history
If Microsoft.Managed targets aren't imported, multitargeting is broken as the required `InnerBuildProperty` and `InnerBuildPropertyValues` properties aren't defined. Those properties are read by the Graph APIs to identify if a build is an outer or inner build and multiplexes on them.

Fixes dotnet#34123
  • Loading branch information
ViktorHofer authored Mar 26, 2020
1 parent 4a55b46 commit 3b719ca
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ Copyright (c) .NET Foundation. All rights reserved.
***********************************************************************************************
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildToolsPath)\Microsoft.Managed.Before.targets" />

<Import Condition="'$(IsCrossTargetingBuild)' != 'true'" Project="$(MSBuildThisFileDirectory)Microsoft.NET.Sdk.IL.targets" />
<Import Condition="'$(IsCrossTargetingBuild)' == 'true'" Project="$(MSBuildExtensionsPath)\Microsoft.Common.CrossTargeting.targets" />


<Import Project="$(MSBuildToolsPath)\Microsoft.Managed.After.targets" />
</Project>

0 comments on commit 3b719ca

Please sign in to comment.