-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
69 lines (59 loc) · 2.71 KB
/
Copy pathDirectory.Build.props
File metadata and controls
69 lines (59 loc) · 2.71 KB
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
<Project>
<!-- Project Properties -->
<PropertyGroup>
<NoWarn>$(NoWarn);
MSB3277; <!-- Found conflicts between different versions of "..." that could not be resolved -->
NU1702; <!-- Package is not compatible with the target framework -->
CS1587; <!-- XML comment is not placed on valid language element -->
</NoWarn>
</PropertyGroup>
<!-- Project Directories -->
<PropertyGroup>
<SolutionDir>$(MSBuildThisFileDirectory)</SolutionDir>
<DistDir>$(SolutionDir)dist</DistDir>
<LogDir>$(SolutionDir)logs</LogDir>
<ExampleDir>$(SolutionDir)examples</ExampleDir>
<ToolsDir>$(SolutionDir)tools</ToolsDir>
<TestDir>$(SolutionDir)MTGOSDK.Tests</TestDir>
<PublishDir>$(SolutionDir)publish</PublishDir>
<PackageOutputPath>$(PublishDir)</PackageOutputPath>
<FeedOutputPath>$(SolutionDir)packages</FeedOutputPath>
</PropertyGroup>
<!-- Internal SDK Paths -->
<PropertyGroup Condition="'$(UseFullSDKPaths)' != 'false'">
<UseFullSDKPaths>true</UseFullSDKPaths>
<_MTGOSDKCoreTFM>net48</_MTGOSDKCoreTFM>
<_MTGOSDKCoreTarget>.NETFramework4.8</_MTGOSDKCoreTarget>
<_MTGOSDKCorePath>$(SolutionDir)MTGOSDK/bin/$(Configuration)/$(_MTGOSDKCoreTFM)</_MTGOSDKCorePath>
<NuGetExePath>$(SolutionDir)NuGet.exe</NuGetExePath>
</PropertyGroup>
<!-- Tool paths -->
<PropertyGroup>
<_ILRepackTaskPath>$(DistDir)/tools/ILRepack/ILRepack.MSBuild.dll</_ILRepackTaskPath>
<_ILRepackProjectPath>$(ToolsDir)/ILRepack.MSBuild/ILRepack.MSBuild.csproj</_ILRepackProjectPath>
<_ILRepackTargetsPath>$(ToolsDir)/ILRepack.MSBuild/ILRepack.MSBuild.targets</_ILRepackTargetsPath>
</PropertyGroup>
<!-- Debugging Options -->
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<DefineConstants>DEBUG;TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<DefineConstants>TRACE</DefineConstants>
</PropertyGroup>
<!-- Enable building on non-Windows platforms -->
<PropertyGroup Condition="'$(OS)' != 'Windows_NT'">
<EnableWindowsTargeting>true</EnableWindowsTargeting>
<IsNonDeterministic>true</IsNonDeterministic>
</PropertyGroup>
<!-- Enable deterministic builds and package verification -->
<PropertyGroup Condition="'$(IsNonDeterministic)' != 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<EnablePackageValidation>true</EnablePackageValidation>
</PropertyGroup>
<PropertyGroup Condition="'$(VSTestArtifactsProcessingMode)' == 'collect' Or
'$(VSTestSessionCorrelationId)' != ''">
<IsBuildRunningInTest>true</IsBuildRunningInTest>
</PropertyGroup>
<!-- NuGet Package Properties -->
<Import Project="NuGet.pkg.props" />
</Project>