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
83 lines (77 loc) · 3.5 KB
/
Copy pathDirectory.Build.props
File metadata and controls
83 lines (77 loc) · 3.5 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<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>
<EmbedAllSources>false</EmbedAllSources>
<EmbedUntrackedSources>false</EmbedUntrackedSources>
<StaticAnalysisCodeType>General</StaticAnalysisCodeType>
</PropertyGroup>
<!-- Debug symbol generation must be configured early so SDK targets derive symbol output/copy state correctly. -->
<PropertyGroup Condition="'$(MSBuildProjectName)' == 'PSADT.Interop'">
<DebugSymbols>false</DebugSymbols>
<DebugType>none</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(MSBuildProjectName)' != 'PSADT.Interop'">
<DebugSymbols>true</DebugSymbols>
</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>
<!-- Banned API analyzer -->
<ItemGroup>
<PackageReference Include="Meziantou.Analyzer" Version="3.0.117">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="5.6.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.StaticAnalysis" Version="10.7.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Roslynator.Analyzers" Version="4.15.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<AdditionalFiles Include="$(MSBuildThisFileDirectory)src\BannedSymbols.txt" />
</ItemGroup>
<PropertyGroup>
<MeziantouAnalysisMode>all-errors</MeziantouAnalysisMode>
</PropertyGroup>
<!-- Common embedded resource for license -->
<ItemGroup>
<EmbeddedResource Include="$(MSBuildThisFileDirectory)COPYING.Lesser" />
</ItemGroup>
</Project>