forked from CommitteeOfZero/nitrosharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
OutputPath.props
31 lines (27 loc) · 962 Bytes
/
OutputPath.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<Project>
<PropertyGroup>
<OutputPath>$(RepoRootDirectory)\bin\$(Configuration)</OutputPath>
</PropertyGroup>
<Choose>
<When Condition="'$(ExeProjectKind)' == 'Dev'">
<PropertyGroup>
<OutputPath>$(OutputPath)Dev\$(MSBuildProjectName)</OutputPath>
</PropertyGroup>
</When>
<When Condition="'$(OutputType)' == 'Library' AND !$(MSBuildProjectName.Contains('NitroSharp'))">
<PropertyGroup>
<OutputPath>$(OutputPath)\Dependencies\$(MSBuildProjectName)</OutputPath>
</PropertyGroup>
</When>
<When Condition="'$(OutputType)' == 'Library' AND $(MSBuildProjectName.Contains('Tests'))">
<PropertyGroup>
<OutputPath>$(OutputPath)\UnitTests\$(MSBuildProjectName)</OutputPath>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup>
<OutputPath>$(OutputPath)\$(MSBuildProjectName)</OutputPath>
</PropertyGroup>
</Otherwise>
</Choose>
</Project>