-
Notifications
You must be signed in to change notification settings - Fork 27
/
TugDSC.common.props
50 lines (40 loc) · 1.89 KB
/
TugDSC.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
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!-- We define this flag to allow us to guard against multiple imports -->
<TugDSC_common_props>true</TugDSC_common_props>
</PropertyGroup>
<!--
- References:
- * https://docs.microsoft.com/en-us/dotnet/core/tools/csproj
- * https://docs.microsoft.com/en-us/visualstudio/msbuild/common-msbuild-project-properties
- * https://github.com/dotnet/sdk/issues/2#issuecomment-238368991
-->
<PropertyGroup>
<SharedSourceDir>$(MSBuildThisFileDirectory)/src/shared</SharedSourceDir>
<NETStandardMoniker>netstandard2.0</NETStandardMoniker>
<NETCoreAppMoniker>netcoreapp2.0</NETCoreAppMoniker>
<!-- Disabling .NET Framework for now -->
<!-- <NETFrameworkMoniker>net461</NETFrameworkMoniker> -->
<NETFrameworkMoniker></NETFrameworkMoniker>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetFramework)' == '$(NETStandardMoniker)' ">
<DefineConstants>$(DefineConstants);DOTNET_CORE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetFramework)' == '$(NETCoreAppMoniker)' ">
<DefineConstants>$(DefineConstants);DOTNET_CORE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetFramework)' == 'NETFrameworkMoniker' ">
<DefineConstants>$(DefineConstants);DOTNET_FRAMEWORK</DefineConstants>
</PropertyGroup>
<PropertyGroup>
<NeutralLanguage>en-US</NeutralLanguage>
<Authors>github.com/PowerShellOrg/tug/graphs/contributors</Authors>
<!--
* https://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0169
The private field 'class member' is never used
* https://docs.microsoft.com/en-us/dotnet/csharp/misc/cs0649
Field 'field' is never assigned to, and will always have its default value 'value'
-->
<CommonNoWarn>CS0169;CS0649</CommonNoWarn>
</PropertyGroup>
</Project>