Add workaround for build failure due to MSBuild bug

このコミットが含まれているのは:
Sergio Pedri committed 2024-10-17 21:41:43 -07:00
1 親 cc5bbd48c1
コミット 17874acc25
1ファイル変更
+12
+12
ファイルの表示
@@ -43,4 +43,16 @@
<AutoGen>True</AutoGen>
</Compile>
</ItemGroup>
<!--
Setting this property is needed as a temporary workaround for an MSBuild bug triggered by WinAppSDK,
around 'GetReferenceTargetPlatformMonikers'. That target is currently producing multiple items and breaking
the build (in particular here it causes aliases to be lost/overwritten, and to ignore some attributes such
as 'PrivateAssets', causing potential type collisions across different projects) when compiling projects.
This can be removed once the bug is fixed in MSBuild and the tooling is updated here (likely VS 17.12).
See: https://github.com/dotnet/msbuild/pull/10220.
-->
<PropertyGroup>
<FindInvalidProjectReferences>false</FindInvalidProjectReferences>
</PropertyGroup>
</Project>