Skip to content

Commit 044d1bf

Browse files
committed
Consolidate project properties.
This commit is intended to improve maintenancibility as possible.
1 parent d1295d6 commit 044d1bf

27 files changed

Lines changed: 499 additions & 1048 deletions

File tree

Directory.Build.props

716 Bytes
Binary file not shown.

MsgPack.Common.props

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project>
3+
<PropertyGroup>
4+
<AppDesignerFolder>Properties</AppDesignerFolder>
5+
<RootNamespace>MsgPack</RootNamespace>
6+
<DefineConstants>TRACE</DefineConstants>
7+
<ErrorReport>prompt</ErrorReport>
8+
<WarningLevel>4</WarningLevel>
9+
<PlatformTarget>AnyCPU</PlatformTarget>
10+
<Prefer32Bit>false</Prefer32Bit>
11+
<AssemblyOriginatorKeyFile>$(SolutionDir)\src\MsgPack.snk</AssemblyOriginatorKeyFile>
12+
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
13+
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
14+
<SignAssembly>true</SignAssembly>
15+
</PropertyGroup>
16+
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
17+
<DebugSymbols>true</DebugSymbols>
18+
<DebugType>full</DebugType>
19+
<Optimize>false</Optimize>
20+
<OutputPath>bin\Debug\</OutputPath>
21+
<DefineConstants>$(DefineConstants);DEBUG;SKIP_LARGE_TEST</DefineConstants>
22+
</PropertyGroup>
23+
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
24+
<DebugType>pdbonly</DebugType>
25+
<Optimize>true</Optimize>
26+
<OutputPath>bin\Release\</OutputPath>
27+
</PropertyGroup>
28+
<PropertyGroup Condition="'$(Configuration)' == 'Instrument'">
29+
<OutputPath>bin\Instrument\</OutputPath>
30+
<Optimize>true</Optimize>
31+
<DebugType>pdbonly</DebugType>
32+
<CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
33+
<CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
34+
</PropertyGroup>
35+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'CodeAnalysis|AnyCPU'">
36+
<OutputPath>bin\CodeAnalysis\</OutputPath>
37+
<Optimize>true</Optimize>
38+
<DebugType>pdbonly</DebugType>
39+
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
40+
<CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules>
41+
</PropertyGroup>
42+
<PropertyGroup Condition="'$(TargetFramework)' == 'MonoAndroid10' or '$(TargetFramework)' == 'Xamarin.iOS10'">
43+
<DocumentationFile>$(OutputPath)\$(AssemblyName).XML</DocumentationFile>
44+
<SignAssembly>false</SignAssembly>
45+
</PropertyGroup>
46+
<PropertyGroup Condition="'$(TargetFramework)' != 'MonoAndroid10' and '$(TargetFramework)' != 'Xamarin.iOS10'">
47+
<DocumentationFile>$(OutputPath)\$(TargetFramework)\$(AssemblyName).XML</DocumentationFile>
48+
</PropertyGroup>
49+
<PropertyGroup Condition="'$(TargetFramework)' == 'uap10.0'">
50+
<DefineConstants>$(DefineConstants);FEATURE_TAP;FEATURE_CONCURRENT</DefineConstants>
51+
</PropertyGroup>
52+
<PropertyGroup Condition="'$(TargetFramework)' == 'net35'">
53+
<DefineConstants>$(DefineConstants);FEATURE_POINTER_CONVERSION</DefineConstants>
54+
</PropertyGroup>
55+
<PropertyGroup Condition="'$(TargetFramework)' == 'net45'">
56+
<DefineConstants>$(DefineConstants);FEATURE_TAP;FEATURE_CONCURRENT;FEATURE_POINTER_CONVERSION</DefineConstants>
57+
</PropertyGroup>
58+
<PropertyGroup Condition="'$(TargetFramework)' == 'net46'">
59+
<DefineConstants>$(DefineConstants);FEATURE_TAP;FEATURE_CONCURRENT;FEATURE_POINTER_CONVERSION;FEATURE_MEMCOPY</DefineConstants>
60+
</PropertyGroup>
61+
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard1.1'">
62+
<DefineConstants>$(DefineConstants);FEATURE_TAP;FEATURE_CONCURRENT</DefineConstants>
63+
</PropertyGroup>
64+
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard1.3'">
65+
<DefineConstants>$(DefineConstants);FEATURE_TAP;FEATURE_CONCURRENT;FEATURE_MEMCOPY</DefineConstants>
66+
</PropertyGroup>
67+
<PropertyGroup Condition="'$(TargetFramework)' == 'MonoAndroid10' or '$(TargetFramework)' == 'Xamarin.iOS10'">
68+
<DefineConstants>$(DefineConstants);__MOBILE__;AOT;XAMARIN;FEATURE_TAP;FEATURE_CONCURRENT;FEATURE_POINTER_CONVERSION;FEATURE_MEMCOPY</DefineConstants>
69+
</PropertyGroup>
70+
<PropertyGroup Condition="'$(TargetFramework)' == 'MonoAndroid10'">
71+
<DefineConstants>$(DefineConstants);__ANDROID__</DefineConstants>
72+
<TargetFrameworkRootPath Condition="'$(VsInstallRoot)' != ''">$(VsInstallRoot)\Common7\IDE\ReferenceAssemblies\Microsoft\Framework\</TargetFrameworkRootPath>
73+
<ImplicitlyExpandDesignTimeFacades>true</ImplicitlyExpandDesignTimeFacades>
74+
</PropertyGroup>
75+
<PropertyGroup Condition="'$(TargetFramework)' == 'Xamarin.iOS10'">
76+
<DefineConstants>$(DefineConstants);__IOS__</DefineConstants>
77+
<TargetFrameworkRootPath Condition="'$(VsInstallRoot)' != ''">$(VsInstallRoot)\Common7\IDE\ReferenceAssemblies\Microsoft\Framework\</TargetFrameworkRootPath>
78+
<ImplicitlyExpandDesignTimeFacades>true</ImplicitlyExpandDesignTimeFacades>
79+
</PropertyGroup>
80+
<PropertyGroup Condition="'$(TargetFramework)' == 'uap10.0'">
81+
<DefineConstants>$(DefineConstants);NETFX_CORE;WINDOWS_UWP;NETSTANDARD1_3;AOT</DefineConstants>
82+
</PropertyGroup>
83+
</Project>

0 commit comments

Comments
 (0)