Set BaseOutputPath conditionally so LUT works

As per https://docs.microsoft.com/en-us/visualstudio/test/live-unit-testing-faq
This commit is contained in:
Andrew Arnott 2017-05-26 22:13:44 -07:00
Родитель 8194c968bb
Коммит 688fcce64c
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)..\obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
<OutputPath>$(MSBuildThisFileDirectory)..\bin\$(MSBuildProjectName)\$(Configuration)\</OutputPath>
<BaseOutputPath Condition=" '$(BaseOutputPath)' == '' ">$(MSBuildThisFileDirectory)..\bin\$(MSBuildProjectName)\</BaseOutputPath>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning" Version="1.6.25" PrivateAssets="all" />