-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
common.props
107 lines (90 loc) · 4.97 KB
/
common.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<Project>
<Import Project="versions.props" />
<PropertyGroup>
<RootOutDir>bin\prj\</RootOutDir>
<RootObjDir>bin\obj\</RootObjDir>
<VsSbeTfmSdk10>net40</VsSbeTfmSdk10>
<VsSbeTfmSdk15>net472</VsSbeTfmSdk15>
<VsSbeTfmSdk17>$(VsSbeTfmSdk15)</VsSbeTfmSdk17>
<!-- For a non-SDK-stlye projects using TargetFrameworkVersion property -->
<VsSbeTfmVersionSdk10>v4.0</VsSbeTfmVersionSdk10>
<VsSbeTfmVersionSdk15>v4.7.2</VsSbeTfmVersionSdk15>
<VsSbeTfmVersionSdk17>$(VsSbeTfmVersionSdk15)</VsSbeTfmVersionSdk17>
</PropertyGroup>
<PropertyGroup>
<OutPrjDir>$(RootOutDir)$(MSBuildProjectName)\$(Configuration)\</OutPrjDir>
<IntermediateOutputPath>..\$(RootObjDir)$(MSBuildProjectName)\$(Configuration)\</IntermediateOutputPath>
<OutputPath>..\$(OutPrjDir)\</OutputPath>
<OutDir>$([MSBuild]::Escape($([System.IO.Path]::GetFullPath(`$([System.IO.Path]::Combine(`$(SolutionDir)`, `$(OutPrjDir)`))`))))</OutDir>
</PropertyGroup>
<PropertyGroup>
<Configurations>DBG_SDK10;REL_SDK10;DBG_SDK15;REL_SDK15;DBG_SDK17;REL_SDK17</Configurations>
<Configuration Condition="'$(Configuration)'==''">DBG_SDK10</Configuration>
<Platform Condition="'$(Platform)'==''">AnyCPU</Platform>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\com.github.3F.snk</AssemblyOriginatorKeyFile>
<NoWarn>$(NoWarn);1701;1702;CS1591;IDE1006</NoWarn>
<NoWarn>$(NoWarn);VSTHRD010</NoWarn> <!-- L-675 -->
<LangVersion>latest</LangVersion>
<RunCodeAnalysis>false</RunCodeAnalysis>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<MinimumVisualStudioVersion>$(VisualStudioVersion)</MinimumVisualStudioVersion>
<RuntimeIdentifiers>win</RuntimeIdentifiers>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('SDK10'))">
<TargetFrameworks Condition="'$(UsingMicrosoftNETSdk)'=='true'">$(VsSbeTfmSdk10)</TargetFrameworks>
<TargetFrameworkVersion Condition="'$(UsingMicrosoftNETSdk)'!='true'">$(VsSbeTfmVersionSdk10)</TargetFrameworkVersion>
<DefineConstants>$(DefineConstants);NET_40;SDK10</DefineConstants>
<SdklibTarget>net40</SdklibTarget>
<VsSbeSdkBase>10</VsSbeSdkBase>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('SDK15'))">
<TargetFrameworks Condition="'$(UsingMicrosoftNETSdk)'=='true'">$(VsSbeTfmSdk15)</TargetFrameworks>
<TargetFrameworkVersion Condition="'$(UsingMicrosoftNETSdk)'!='true'">$(VsSbeTfmVersionSdk15)</TargetFrameworkVersion>
<SdklibTarget>net45</SdklibTarget>
<VsSbeSdkBase>15</VsSbeSdkBase>
<DefineConstants>$(DefineConstants);SDK15_OR_HIGH;SDK15;CODE_ANALYSIS</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('SDK17'))">
<TargetFrameworks Condition="'$(UsingMicrosoftNETSdk)'=='true'">$(VsSbeTfmSdk17)</TargetFrameworks>
<TargetFrameworkVersion Condition="'$(UsingMicrosoftNETSdk)'!='true'">$(VsSbeTfmVersionSdk17)</TargetFrameworkVersion>
<SdklibTarget>net45</SdklibTarget>
<VsSbeSdkBase>17</VsSbeSdkBase>
<DefineConstants>$(DefineConstants);SDK15_OR_HIGH;SDK17;CODE_ANALYSIS</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Debug' Or $(Configuration.Contains('DBG_'))">
<DefineConstants>DEBUG;TRACE;$(DefineConstants)</DefineConstants>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<ZipPackageCompressionLevel>NotCompressed</ZipPackageCompressionLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release' Or '$(Configuration)' == 'PublicRelease' Or $(Configuration.Contains('REL_'))">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<ZipPackageCompressionLevel>Normal</ZipPackageCompressionLevel> <!-- VSIX Packaging Tools 17.0.5233 supports only 'Normal' and 'NotCompressed' -->
</PropertyGroup>
<PropertyGroup>
<Copyright>Copyright (c) 2013-2024 Denis Kuzmin <x-3F@outlook.com> github/3F</Copyright>
<PackageOwners>reg</PackageOwners>
<PackageProjectUrl>https://github.com/3F/vsSolutionBuildEvent</PackageProjectUrl>
<RepositoryUrl>https://github.com/3F/vsSolutionBuildEvent</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<Authors>github.com/3F/vsSolutionBuildEvent</Authors>
<DocumentationFile>$(OutputPath)\$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Compile Remove="Appveyor.TestLogger.2.0.0\**" />
<EmbeddedResource Remove="Appveyor.TestLogger.2.0.0\**" />
<None Remove="Appveyor.TestLogger.2.0.0\**" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="$(MicrosoftCodeAnalysisNetAnalyzersVersion)">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>