This repository has been archived by the owner on Oct 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
ClariusLabs.props
38 lines (38 loc) · 2.21 KB
/
ClariusLabs.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
32
33
34
35
36
37
38
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildThisFileDirectory)ClariusLabs.tasks" />
<PropertyGroup>
<SolutionDir Condition="'$(SolutionDir)' == '' Or '$(SolutionDir)' == '*Undefined*'">$(MSBuildThisFileDirectory)..\</SolutionDir>
<SolutionDir Condition="!HasTrailingSlash('$(SolutionDir)')">$(SolutionDir)\</SolutionDir>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)ClariusLabs.snk</AssemblyOriginatorKeyFile>
<RestorePackages Condition="'$(RestorePackages)' == ''">true</RestorePackages>
<FrameworkName Condition="'$(FrameworkName)' == ''">net40</FrameworkName>
<NuGetDir>$(SolutionDir).nuget\</NuGetDir>
<NuGetExe>$(NuGetDir)NuGet.exe</NuGetExe>
<OutputPath>bin\lib\$(FrameworkName)\</OutputPath>
<!-- The output package root path is two levels up from the output path, which is the actual lib+target framework -->
<PackageRoot>$(OutputPath)..\..\</PackageRoot>
</PropertyGroup>
<!-- Common properties -->
<PropertyGroup Condition="'$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<DefineConstants>$(FrameworkName);DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<DefineConstants>$(FrameworkName);TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFrameworkVersion)' == ''">
<TargetFrameworkVersion Condition="'$(FrameworkName)' == 'net40'">v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion Condition="'$(FrameworkName)' == 'net45'">v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion Condition="'$(FrameworkName)' == 'net35'">v3.5</TargetFrameworkVersion>
</PropertyGroup>
</Project>