-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
42 lines (42 loc) · 2.48 KB
/
Copy pathDirectory.Build.props
File metadata and controls
42 lines (42 loc) · 2.48 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
<Project>
<PropertyGroup>
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
<ArtifactsPath>$(RepoRoot)artifacts</ArtifactsPath>
<LangVersion>14.0</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<AnalysisLevel>10.0-recommended</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild Condition="'$(CI)' == 'true'">true</ContinuousIntegrationBuild>
<!-- Symbols travel inside every assembly: the plugin folder ships no .pdb, yet stack traces keep file and line data. -->
<DebugType>embedded</DebugType>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<NuGetAudit>true</NuGetAudit>
<NuGetAuditMode>all</NuGetAuditMode>
<NuGetAuditLevel>low</NuGetAuditLevel>
<!-- Audit-source outages and low/moderate advisories are reported without blocking; high and critical fail. -->
<WarningsNotAsErrors>$(WarningsNotAsErrors);NU1900;NU1901;NU1902;NU1905</WarningsNotAsErrors>
<PlatformTarget>x64</PlatformTarget>
<Version>2.0.0-beta.2</Version>
<Authors>CheatEngineNet</Authors>
<Company>CheatEngineNet</Company>
<RepositoryUrl>https://github.com/CheatEngineNet/CheatEngine.Mcp</RepositoryUrl>
<IsPackable>false</IsPackable>
<!-- Product projects are the libraries under libs/ and the applications under srcs/; tests/ never ship. -->
<_CeMcpProjectFolder>$([MSBuild]::MakeRelative('$(RepoRoot)', '$(MSBuildProjectDirectory)').Replace('\', '/'))</_CeMcpProjectFolder>
<CeMcpProductProject Condition="$(_CeMcpProjectFolder.StartsWith('libs/')) or $(_CeMcpProjectFolder.StartsWith('srcs/'))">true</CeMcpProductProject>
</PropertyGroup>
<!--
Every product project is analyzed for Native AOT and trimming (CEMCP005): an AOT/trim-unsafe API is a build error.
Only the gateway is ever published that way; CE hosts the framework-dependent, Costura-bundled plugin (CEMCP006).
-->
<PropertyGroup Label="Native AOT analysis" Condition="'$(CeMcpProductProject)' == 'true'">
<IsAotCompatible>true</IsAotCompatible>
<VerifyReferenceAotCompatibility>true</VerifyReferenceAotCompatibility>
<VerifyReferenceTrimCompatibility>true</VerifyReferenceTrimCompatibility>
</PropertyGroup>
<Import Project="$(RepoRoot)eng/Tests.props" Condition="$(MSBuildProjectName.EndsWith('.Tests'))"/>
</Project>