Skip to content

Commit 15e532a

Browse files
committed
Avoid test asset overwrite instability
1 parent 38ce2ee commit 15e532a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/Microsoft.VisualStudio.Composition.Analyzers.Tests.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4+
<!-- Do not contribute to the one test directory that all the others do, because we're unrelated
5+
and most importantly our analyzer test dependencies bring their own copy of vs-mef, leading to a 'last one wins' file overwrite
6+
issue if we were to share a directory with vs-mef tests that makes testing unstable. -->
7+
<BaseOutputPath>$(MSBuildThisFileDirectory)..\..\..\bin\Tests\Microsoft.VisualStudio.Composition.Analyzers.Tests</BaseOutputPath>
48
<TargetFramework>netcoreapp3.1</TargetFramework>
59
<Nullable>enable</Nullable>
610
<IsPackable>false</IsPackable>

0 commit comments

Comments
 (0)