forked from Azure/azure-iot-remote-monitoring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCommon_Props.proj
47 lines (41 loc) · 2.16 KB
/
Common_Props.proj
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<BranchRoot Condition="'$(BranchRoot)'==''">$(MSBuildThisFileDirectory)</BranchRoot>
<BuildRoot Condition="'$(BuildRoot)'==''">$(BranchRoot)\Build_Output</BuildRoot>
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
<Platform Condition="'$(Platform)' == ''">AnyCPU</Platform>
<OutputPath Condition="'$(OutputPath)' == ''">$(BuildRoot)\$(Configuration)\</OutputPath>
<!-- dirs off of base dir to output various bits -->
<PublishServicesOutDir>$(OutputPath)\Services</PublishServicesOutDir>
<!-- Handling for Service projects -->
<Suffix>.ccproj</Suffix>
<OutputPath Condition="$(MSBuildProjectFile.EndsWith($(Suffix), System.StringComparison.InvariantCultureIgnoreCase))">$(PublishServicesOutDir)\$(MSBuildProjectName)</OutputPath>
<!-- finally, set the OutDir for the project -->
<OutDir>$(OutputPath)</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<Choose>
<When Condition="$(MSBuildProjectFile.EndsWith($(Suffix), System.StringComparison.InvariantCultureIgnoreCase))">
<PropertyGroup>
<PublishDir>$(OutDir)\pub\</PublishDir>
<ServiceOutputDirectory>$(OutDir)\csx\</ServiceOutputDirectory>
</PropertyGroup>
</When>
</Choose>
</Project>