-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.props
63 lines (47 loc) · 2.79 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
<Project>
<!-- Let's help to override something when it used as a submodule.
Or build with /p:property=value -->
<Import Project="..\redefine.props" Condition="Exists('..\redefine.props')" />
<Import Project="..\..\redefine.props" Condition="Exists('..\..\redefine.props')" />
<PropertyGroup>
<RootOutDir>bin\prj\</RootOutDir>
<RootObjDir>bin\obj\</RootObjDir>
<OsUnixLike>false</OsUnixLike>
<OsUnixLike Condition="$([MSBuild]::IsOsUnixLike())">true</OsUnixLike>
<NetStdTFM>netstandard2.0</NetStdTFM>
<NetStdTFM Condition="'$(SuppressNetStdTFM)' == 'true'"></NetStdTFM>
<!-- .NET Core Support Policy: https://dotnet.microsoft.com/platform/support/policy/dotnet-core -->
<NetCoreTFM>net6</NetCoreTFM>
<LSenderTFM>net40;net472;$(NetStdTFM)</LSenderTFM>
<LSenderTFM Condition="'$(OsUnixLike)'=='true'">$(NetStdTFM)</LSenderTFM>
<LSenderTFM Condition="'$(OverrideLSenderTFM)'!=''">$(OverrideLSenderTFM)</LSenderTFM>
<LSenderTestTFM>net472;$(NetCoreTFM)</LSenderTestTFM>
<LSenderTestTFM Condition="'$(OsUnixLike)'=='true'">$(NetCoreTFM)</LSenderTestTFM>
<LSenderTestTFM Condition="'$(OverrideLSenderTestTFM)'!=''">$(OverrideLSenderTestTFM)</LSenderTestTFM>
</PropertyGroup>
<PropertyGroup>
<OutPrjDir>$(RootOutDir)$(MSBuildProjectName)\$(Configuration)\$(TargetFramework)\</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>Debug;Release;PublicRelease</Configurations>
<Configurations Condition="'$(OverrideLSenderConfigurations)'!=''">$(OverrideLSenderConfigurations)</Configurations>
</PropertyGroup>
<PropertyGroup>
<DefineConstants Condition="'$(LSenderDisableSVector)'!='true'">LSR_FEATURE_S_VECTOR;$(DefineConstants)</DefineConstants>
</PropertyGroup>
<PropertyGroup>
<IsNetCoreFamilyTarget>true</IsNetCoreFamilyTarget>
<IsNetCoreFamilyTarget Condition="$(TargetFramework.StartsWith('net4')) == 'true'">false</IsNetCoreFamilyTarget>
</PropertyGroup>
<PropertyGroup>
<DefineConstants Condition="'$(IsNetCoreFamilyTarget)' == 'true'">NETCORE;$(DefineConstants)</DefineConstants>
<DefineConstants Condition="'$(TargetFramework)' == 'netstandard2.0'">NETSTD20;NETSTD;$(DefineConstants)</DefineConstants>
<DefineConstants Condition="'$(TargetFramework)' == 'net40'">NET40;$(DefineConstants)</DefineConstants>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.Reflection.Emit.Lightweight" Version="4.7.0" />
</ItemGroup>
</Project>