Skip to content

Commit

Permalink
Remove unnecessary removals.
Browse files Browse the repository at this point in the history
  • Loading branch information
manodasanW committed Jul 1, 2020
1 parent cd3b2f1 commit 669484c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Projections/Benchmark/Benchmark.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
<ItemGroup>
<ReferenceWinMDs Include="@(ReferencePath)" Condition="'%(ReferencePath.WinMDFile)' == 'true'" />
<!--Do not publish projection source winmds -->
<ReferenceCopyLocalPaths Remove="@(ReferenceCopyLocalPaths)" Condition="%(ReferenceCopyLocalPaths.Filename) == 'TestComponent'" />
<ReferenceCopyLocalPaths Remove="@(ReferenceCopyLocalPaths)" Condition="%(ReferenceCopyLocalPaths.Filename) == 'TestComponentCSharp'" />
<ReferenceCopyLocalPaths Remove="@(ReferenceCopyLocalPaths)" Condition="%(ReferenceCopyLocalPaths.Filename) == 'BenchmarkComponent'" />
</ItemGroup>
<PropertyGroup>
Expand Down Expand Up @@ -59,9 +57,9 @@
<ItemGroup>
<Compile Include="$(GeneratedFilesDir)*.cs" Exclude="@(Compile)" />
<!--Remove references to projection source winmds to prevent compile conflict warnings-->
<ReferencePathWithRefAssemblies Remove="@(ReferencePathWithRefAssemblies)" Condition="%(ReferencePathWithRefAssemblies.Filename) == 'TestComponent'" />
<ReferencePathWithRefAssemblies Remove="@(ReferencePathWithRefAssemblies)" Condition="%(ReferencePathWithRefAssemblies.Filename) == 'TestComponentCSharp'" />
<ReferencePathWithRefAssemblies Remove="@(ReferencePathWithRefAssemblies)" Condition="%(ReferencePathWithRefAssemblies.Filename) == 'BenchmarkComponent'" />
<!--Also remove ReferencePath winmds to prevent error NETSDK1130 false positive-->
<ReferencePath Remove="@(ReferencePath)" Condition="%(ReferencePath.Filename) == 'BenchmarkComponent'" />
</ItemGroup>
</Target>

Expand Down

0 comments on commit 669484c

Please sign in to comment.