Repository navigation
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
61 lines (54 loc) · 2.97 KB
/
Copy pathDirectory.Build.props
File metadata and controls
61 lines (54 loc) · 2.97 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
<Project>
<PropertyGroup>
<!-- The SDK version is pinned in global.json -->
<TargetFramework>net10.0</TargetFramework>
<ProjectBaseVersion>20.0</ProjectBaseVersion>
<ProjectVersion Condition="'$(GITHUB_RUN_NUMBER)' != ''">$(ProjectBaseVersion).$(GITHUB_RUN_NUMBER)</ProjectVersion>
<ProjectVersion Condition="'$(GITHUB_RUN_NUMBER)' == ''">$(ProjectBaseVersion).0</ProjectVersion>
<DefineConstants Condition="'$(GITHUB_REF_TYPE)' == 'tag'">$(DefineConstants);CI_RELEASE_BUILD</DefineConstants>
<AssemblyVersion>$(ProjectBaseVersion)</AssemblyVersion>
<FileVersion>$(ProjectVersion)</FileVersion>
<Version>$(ProjectVersion)</Version>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)/Misc/ValveResourceFormat.snk</AssemblyOriginatorKeyFile>
<!-- Full strong-name signing needs the private key, which OpenSSL 3 rejects for this legacy
.snk on non-Windows .NET. Public signing embeds the same public key (so InternalsVisibleTo
still matches) and is enough to run. Windows keeps full signing. -->
<PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
</PropertyGroup>
<PropertyGroup>
<Deterministic>true</Deterministic>
<DebugSymbols>true</DebugSymbols>
<DebugType>embedded</DebugType>
<PublishReadyToRun>true</PublishReadyToRun>
<NeutralLanguage>en</NeutralLanguage>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<TreatWarningsAsErrors Condition="'$(Configuration)' == 'Release'">true</TreatWarningsAsErrors>
<ContinuousIntegrationBuild Condition="'$(CI)' == 'true'">true</ContinuousIntegrationBuild>
<PublishReferencesDocumentationFiles>false</PublishReferencesDocumentationFiles>
<AnalysisMode Condition="'$(Configuration)' == 'Release'">All</AnalysisMode>
<AnalysisMode Condition="'$(Configuration)' != 'Release'">Recommended</AnalysisMode>
<EnforceCodeStyleInBuild Condition="'$(Configuration)' == 'Release'">true</EnforceCodeStyleInBuild>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup>
<Authors>ValveResourceFormat Contributors</Authors>
<Copyright>Copyright © ValveResourceFormat Contributors</Copyright>
<RepositoryUrl>https://github.com/MonsterDomosed/ValveResourceFormat-Linux</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageProjectUrl>https://github.com/MonsterDomosed/ValveResourceFormat-Linux</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' != 'Release'">
<!-- CA2000 is very slow: https://github.com/dotnet/roslyn-analyzers/issues/4915 -->
<NoWarn>$(NoWarn);CA2000</NoWarn>
</PropertyGroup>
<ItemGroup>
<Using Include="System" />
<Using Include="System.Numerics" />
<Using Include="System.Collections.Generic" />
</ItemGroup>
</Project>