-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
41 lines (39 loc) · 2.07 KB
/
Copy pathDirectory.Build.props
File metadata and controls
41 lines (39 loc) · 2.07 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
<Project>
<PropertyGroup>
<TargetFramework>net10.0-windows</TargetFramework>
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
<OutputType>Exe</OutputType>
<PublishSingleFile>true</PublishSingleFile>
<SelfContained>true</SelfContained>
<PublishReadyToRun>false</PublishReadyToRun>
<PublishTrimmed>true</PublishTrimmed>
<TrimMode>partial</TrimMode>
<SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
<JsonSerializerIsReflectionEnabledByDefault>true</JsonSerializerIsReflectionEnabledByDefault>
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<Deterministic>true</Deterministic>
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningLevel>5</WarningLevel>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<LangVersion>preview</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<!-- Version Information - Dynamic timestamp versioning -->
<AssemblyVersion>$([System.DateTime]::Now.ToString("yyyy.MM.dd.HHmm"))</AssemblyVersion>
<FileVersion>$([System.DateTime]::Now.ToString("yyyy.MM.dd.HHmm"))</FileVersion>
<Version>$([System.DateTime]::Now.ToString("yyyy.MM.dd.HHmm"))</Version>
<Product>cimipkg</Product>
<Company>WindowsAdmins</Company>
<Copyright>Copyright © 2025 WindowsAdmins</Copyright>
<Description>Cimian Package Builder - Create .pkg and .nupkg packages for deployment</Description>
</PropertyGroup>
<!-- Only applied for standalone builds (not when inherited from CimianTools) -->
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0-windows'">
<PackageReference Include="Microsoft.Extensions.Logging" Version="10.0.0-preview.*" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="10.0.0-preview.*" />
<PackageReference Include="YamlDotNet" Version="16.3.0" />
</ItemGroup>
</Project>