6960ed0933
This change adds setup delta/patch generation commands, rotation helpers for setup payloads, and native SIMD detection for AVX/AVX2/AVX512 builds. It also standardizes error reporting via Program.PrintErrorMessage, suppresses ANSI escape codes when output is redirected, and updates the HTTP client helpers and build paths required for the new tooling.
189 lines
8.7 KiB
XML
189 lines
8.7 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
<CodePage>65001</CodePage>
|
|
<CsWin32EnableWindowsTargeting>true</CsWin32EnableWindowsTargeting>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>portable</DebugType>
|
|
<Deterministic>true</Deterministic>
|
|
<DisableRuntimeMarshalling>true</DisableRuntimeMarshalling>
|
|
<DockerDefaultTargetOS>Windows</DockerDefaultTargetOS>
|
|
<DockerfileContext>.</DockerfileContext>
|
|
<ContainerDevelopmentMode>Regular</ContainerDevelopmentMode>
|
|
<CsWin32RunAsBuildTask>true</CsWin32RunAsBuildTask>
|
|
<CsWin32Targeting>Windows</CsWin32Targeting>
|
|
<EmbedAllSources>false</EmbedAllSources>
|
|
<EmbedUntrackedSources>false</EmbedUntrackedSources>
|
|
<EnableWindowsTargeting>true</EnableWindowsTargeting>
|
|
<EventSourceSupport>false</EventSourceSupport>
|
|
<FileAlignment>4096</FileAlignment>
|
|
<HttpActivityPropagationSupport>false</HttpActivityPropagationSupport>
|
|
<IlcOptimizationPreference>Speed</IlcOptimizationPreference>
|
|
<IlcGenerateCompleteTypeMetadata>false</IlcGenerateCompleteTypeMetadata>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<InvariantGlobalization>true</InvariantGlobalization>
|
|
<JsonSerializerIsReflectionEnabledByDefault>false</JsonSerializerIsReflectionEnabledByDefault>
|
|
<OutputType>Exe</OutputType>
|
|
<Platforms>x64;x86;ARM64</Platforms>
|
|
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>
|
|
<ProjectGuid>{CD644DF2-A658-4CBC-9497-CA5DD13CFEC3}</ProjectGuid>
|
|
<PublishAot>true</PublishAot>
|
|
<PublishReadyToRun>false</PublishReadyToRun>
|
|
<PublishSingleFile>true</PublishSingleFile>
|
|
<PublishTrimmed>true</PublishTrimmed>
|
|
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
|
|
<SelfContained>true</SelfContained>
|
|
<TargetFramework>net10.0-windows</TargetFramework>
|
|
<TrimUnusedDependencies>true</TrimUnusedDependencies>
|
|
<UseSystemResourceKeys>false</UseSystemResourceKeys>
|
|
<Version>5.0.0.0</Version>
|
|
<Nullable>disable</Nullable>
|
|
<EnforceCodeStyleInBuild>false</EnforceCodeStyleInBuild>
|
|
<PackageProjectUrl>https://github.com/winsiderss/systeminformer</PackageProjectUrl>
|
|
<RepositoryUrl>https://github.com/winsiderss/systeminformer</RepositoryUrl>
|
|
<NuGetAuditMode>all</NuGetAuditMode>
|
|
<IncludeSymbols>True</IncludeSymbols>
|
|
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
|
<SupportedOSPlatformVersion>7.0</SupportedOSPlatformVersion>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Platform)'=='x86'">
|
|
<IntDir>$(ProjectDir)obj\$(Configuration)\$(TargetFramework)-$(PlatformTarget)\</IntDir>
|
|
<OutDir>$(ProjectDir)bin\$(Configuration)\$(TargetFramework)-$(PlatformTarget)\</OutDir>
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
<PublishDir>bin\$(Configuration)\x86\</PublishDir>
|
|
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Platform)'=='x64'">
|
|
<IntDir>$(ProjectDir)obj\$(Configuration)\$(TargetFramework)-$(PlatformTarget)\</IntDir>
|
|
<OutDir>$(ProjectDir)bin\$(Configuration)\$(TargetFramework)-$(PlatformTarget)\</OutDir>
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
<PublishDir>bin\$(Configuration)\amd64\</PublishDir>
|
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Platform)'=='ARM64'">
|
|
<IntDir>$(ProjectDir)obj\$(Configuration)\$(TargetFramework)-$(PlatformTarget)\</IntDir>
|
|
<OutDir>$(ProjectDir)bin\$(Configuration)\$(TargetFramework)-$(PlatformTarget)\</OutDir>
|
|
<PlatformTarget>ARM64</PlatformTarget>
|
|
<PublishDir>bin\$(Configuration)\arm64\</PublishDir>
|
|
<RuntimeIdentifier>win-arm64</RuntimeIdentifier>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<IlcGenerateStackTraceData>true</IlcGenerateStackTraceData>
|
|
<MetadataUpdaterSupport>UpdateAndReset</MetadataUpdaterSupport>
|
|
<Optimize>False</Optimize>
|
|
<DebugType>portable</DebugType>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
|
<IlcGenerateStackTraceData>true</IlcGenerateStackTraceData>
|
|
<MetadataUpdaterSupport>UpdateAndReset</MetadataUpdaterSupport>
|
|
<Optimize>False</Optimize>
|
|
<DebugType>portable</DebugType>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
|
|
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
|
<IlcGenerateStackTraceData>true</IlcGenerateStackTraceData>
|
|
<MetadataUpdaterSupport>UpdateAndReset</MetadataUpdaterSupport>
|
|
<Optimize>False</Optimize>
|
|
<DebugType>portable</DebugType>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<IlcGenerateStackTraceData>false</IlcGenerateStackTraceData>
|
|
<MetadataUpdaterSupport>false</MetadataUpdaterSupport>
|
|
<Optimize>True</Optimize>
|
|
<ControlFlowGuard>Guard</ControlFlowGuard>
|
|
<DebugType>portable</DebugType>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
|
|
<IlcGenerateStackTraceData>false</IlcGenerateStackTraceData>
|
|
<MetadataUpdaterSupport>false</MetadataUpdaterSupport>
|
|
<Optimize>True</Optimize>
|
|
<ControlFlowGuard>Guard</ControlFlowGuard>
|
|
<DebugType>portable</DebugType>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
|
|
<IlcGenerateStackTraceData>false</IlcGenerateStackTraceData>
|
|
<MetadataUpdaterSupport>false</MetadataUpdaterSupport>
|
|
<Optimize>True</Optimize>
|
|
<ControlFlowGuard>Guard</ControlFlowGuard>
|
|
<DebugType>portable</DebugType>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Compile Remove="bin\Release\**" />
|
|
<EmbeddedResource Remove="bin\Release\**" />
|
|
<None Remove="bin\Release\**" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<AdditionalFiles Remove="NativeMethods.json" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<DirectPInvokeList Include="NativeImports.txt" />
|
|
<NativeLibrary Include="Advapi32.lib" />
|
|
<NativeLibrary Include="delayimp.lib" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="app.manifest" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Using Include="SharpCompress.Common" />
|
|
<Using Include="SharpCompress.Writers" />
|
|
<Using Include="SharpCompress.Writers.Zip" />
|
|
<Using Include="System.Collections.Frozen" />
|
|
<Using Include="Microsoft.Win32.SafeHandles" />
|
|
<Using Include="System.Buffers" />
|
|
<Using Include="System.Buffers.Binary" />
|
|
<Using Include="System.Collections.Concurrent" />
|
|
<Using Include="System.Collections.Immutable" />
|
|
<Using Include="System.CommandLine" />
|
|
<Using Include="System.ComponentModel" />
|
|
<Using Include="System.Diagnostics" />
|
|
<Using Include="System.Diagnostics.CodeAnalysis" />
|
|
<Using Include="System.Globalization" />
|
|
<Using Include="System.Net" />
|
|
<Using Include="System.Net.Http.Headers" />
|
|
<Using Include="System.Net.Http.Json" />
|
|
<Using Include="System.Net.Security" />
|
|
<Using Include="System.Numerics;" />
|
|
<Using Include="System.Reflection" />
|
|
<Using Include="System.Reflection.PortableExecutable" />
|
|
<Using Include="System.Runtime.CompilerServices" />
|
|
<Using Include="System.Runtime.InteropServices" />
|
|
<Using Include="System.Security.Authentication" />
|
|
<Using Include="System.Security.Cryptography" />
|
|
<Using Include="System.Security.Cryptography.X509Certificates" />
|
|
<Using Include="System.Text" />
|
|
<Using Include="System.Text.Json" />
|
|
<Using Include="System.Text.Json.Nodes" />
|
|
<Using Include="System.Text.Json.Serialization" />
|
|
<Using Include="System.Text.Json.Serialization.Metadata" />
|
|
<Using Include="System.Text.RegularExpressions" />
|
|
<Using Include="System.Xml" />
|
|
<Using Include="Windows.Win32" />
|
|
<Using Include="Windows.Win32.Foundation" />
|
|
<Using Include="Windows.Win32.Security" />
|
|
<Using Include="Windows.Win32.Security.Cryptography" />
|
|
<Using Include="Windows.Win32.Storage.FileSystem" />
|
|
<Using Include="Windows.Win32.System.ApplicationInstallationAndServicing" />
|
|
<Using Include="Windows.Win32.System.Diagnostics.Debug" />
|
|
<Using Include="Windows.Win32.System.Memory" />
|
|
<Using Include="Windows.Win32.System.Registry" />
|
|
<Using Include="Windows.Win32.System.SystemServices" />
|
|
<Using Include="Windows.Win32.System.Threading" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<LinkerArg Include="/RELEASE /BREPRO /DEPENDENTLOADFLAG:0x800 /PDBALTPATH:%_PDB% /FILEALIGN:0x1000" />
|
|
<LinkerArg Include="/DELAYLOAD:WS2_32.dll /DELAYLOAD:IPHLPAPI.DLL /DELAYLOAD:OLEAUT32.dll" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.23.0" />
|
|
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.335">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="SharpCompress" Version="0.50.4" />
|
|
<PackageReference Include="System.CommandLine" Version="2.0.12" />
|
|
</ItemGroup>
|
|
</Project>
|