forked from PSAppDeployToolkit/PSAppDeployToolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
65 lines (59 loc) · 2.48 KB
/
Directory.Build.props
File metadata and controls
65 lines (59 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<Project>
<!-- Common properties for all PSADT projects -->
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<Deterministic>true</Deterministic>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<GenerateSupportedRuntime>false</GenerateSupportedRuntime>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
<WarningLevel>9999</WarningLevel>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest-all</AnalysisLevel>
<PlatformTarget>AnyCPU</PlatformTarget>
<Platforms>AnyCPU</Platforms>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<EmbedAllSources>false</EmbedAllSources>
<EmbedUntrackedSources>false</EmbedUntrackedSources>
</PropertyGroup>
<!-- Common company/product metadata -->
<PropertyGroup>
<Company>PSAppDeployToolkit Team</Company>
<AssemblyCompany>PSAppDeployToolkit Team</AssemblyCompany>
<Copyright>Copyright © 2026 PSAppDeployToolkit Team. All rights reserved.</Copyright>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<InformationalVersion>4.2.0</InformationalVersion>
</PropertyGroup>
<!-- Debug configuration -->
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<Optimize>false</Optimize>
</PropertyGroup>
<!-- Release configuration -->
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<Optimize>true</Optimize>
</PropertyGroup>
<!-- ARM64 preference for .NET Framework -->
<PropertyGroup Condition="'$(TargetFramework)' == 'net472'">
<PreferNativeArm64>True</PreferNativeArm64>
</PropertyGroup>
<!-- Banned API analyzer -->
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<AdditionalFiles Include="$(MSBuildThisFileDirectory)src\BannedSymbols.txt" />
</ItemGroup>
<!-- Common embedded resource for license -->
<ItemGroup>
<EmbeddedResource Include="$(MSBuildThisFileDirectory)COPYING.Lesser" />
</ItemGroup>
</Project>