File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,11 @@ Copyright (C) Microsoft Corporation. All rights reserved.
2727 <Target Name =" CsWinRTRemoveWinMDReferences" BeforeTargets =" ResolveReferences;BeforeCompile" AfterTargets =" AfterResolveReferences" >
2828 <ItemGroup >
2929 <!-- Move winmd references into private item group to prevent subsequent winmd reference errors-->
30- <CsWinRTRemovedReferences Include =" @(ReferencePath)" Condition =" '%(ReferencePath.WinMDFile )' == 'true '" />
30+ <CsWinRTRemovedReferences Include =" @(ReferencePath)" Condition =" '%(ReferencePath.Extension )' == '.winmd '" />
3131 <CsWinRTInputs Include =" @(CsWinRTRemovedReferences)" />
3232
3333 <!-- Prevent NETSDK1130 errors from winmd references-->
34- <ReferencePath Remove =" @(ReferencePath)" Condition =" '%(ReferencePath.WinMDFile )' == 'true '" />
34+ <ReferencePath Remove =" @(ReferencePath)" Condition =" '%(ReferencePath.Extension )' == '.winmd '" />
3535 <ReferencePathWithRefAssemblies Remove =" @(CsWinRTRemovedReferences)"
3636 Condition =" '%(CsWinRTRemovedReferences.Filename)%(CsWinRTRemovedReferences.Extension)' == '%(ReferencePathWithRefAssemblies.Filename)%(ReferencePathWithRefAssemblies.Extension)'" />
3737 <!-- Do not publish projection source winmds -->
You can’t perform that action at this time.
0 commit comments