2026-09-25 15:26:15 +07:00
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
|
<PropertyGroup>
|
2026-09-26 12:11:20 +07:00
|
|
|
<OutputType>WinExe</OutputType>
|
|
|
|
|
<TargetFramework>net10.0-windows10.0.17763.0</TargetFramework>
|
|
|
|
|
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
|
|
|
|
|
<RootNamespace>HearingProtector</RootNamespace>
|
|
|
|
|
<Platforms>x64</Platforms>
|
|
|
|
|
<RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
|
|
|
|
|
<UseWinUI>true</UseWinUI>
|
|
|
|
|
<LangVersion>latest</LangVersion>
|
|
|
|
|
<WindowsPackageType>None</WindowsPackageType>
|
|
|
|
|
<WinUISDKReferences>false</WinUISDKReferences>
|
2026-09-25 15:26:15 +07:00
|
|
|
<Nullable>enable</Nullable>
|
2026-09-26 12:11:20 +07:00
|
|
|
|
|
|
|
|
<!-- публикация -->
|
|
|
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
|
|
|
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
|
|
|
|
|
<SelfContained>true</SelfContained>
|
|
|
|
|
<EnableMsixTooling>true</EnableMsixTooling>
|
|
|
|
|
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
|
|
|
|
|
<PublishSingleFile>true</PublishSingleFile>
|
|
|
|
|
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
|
|
|
|
|
|
|
|
|
|
<!-- версия и информация -->
|
2026-09-28 08:23:30 +07:00
|
|
|
<Version>0.9.1</Version>
|
|
|
|
|
<AssemblyVersion>0.9.1.0</AssemblyVersion>
|
|
|
|
|
<FileVersion>0.9.1.0</FileVersion>
|
|
|
|
|
<InformationalVersion>0.9.1</InformationalVersion>
|
2026-09-26 12:11:20 +07:00
|
|
|
<Product>Hearing Protector</Product>
|
|
|
|
|
<AssemblyTitle>Hearing Protector</AssemblyTitle>
|
|
|
|
|
<Company>QwertyKez</Company>
|
|
|
|
|
<Copyright>Copyright © 2026</Copyright>
|
|
|
|
|
|
|
|
|
|
<!-- single instance application -->
|
|
|
|
|
<DefineConstants>$(DefineConstants);DISABLE_XAML_GENERATED_MAIN</DefineConstants>
|
2026-09-25 15:26:15 +07:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2026-09-26 12:11:20 +07:00
|
|
|
<!-- Manifest -->
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<ApplicationManifest Condition="'$(Configuration)' != 'Debug'">app.manifest</ApplicationManifest>
|
|
|
|
|
</PropertyGroup>
|
2026-09-25 15:52:58 +07:00
|
|
|
<ItemGroup>
|
2026-09-26 12:11:20 +07:00
|
|
|
<None Remove="MainPage.xaml" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Manifest Condition="'$(Configuration)' != 'Debug'" Include="$(ApplicationManifest)" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<PackageReference Include="H.NotifyIcon.WinUI" Version="2.4.1" />
|
|
|
|
|
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.28000.2705" />
|
|
|
|
|
<PackageReference Include="Microsoft.WindowsAppSDK" Version="2.5.1" />
|
2026-09-25 15:52:58 +07:00
|
|
|
<PackageReference Include="NAudio" Version="3.1.0" />
|
|
|
|
|
<PackageReference Include="NAudio.Wasapi" Version="3.1.0" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
2026-09-26 12:11:20 +07:00
|
|
|
<ItemGroup>
|
|
|
|
|
<Page Update="MainPage.xaml">
|
|
|
|
|
<Generator>MSBuild:Compile</Generator>
|
|
|
|
|
</Page>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<!-- Publish Properties -->
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<PublishReadyToRun Condition="'$(Configuration)' == 'Debug'">False</PublishReadyToRun>
|
|
|
|
|
<PublishReadyToRun Condition="'$(Configuration)' != 'Debug'">True</PublishReadyToRun>
|
|
|
|
|
<!--
|
|
|
|
|
<PublishTrimmed Condition="'$(Configuration)' == 'Debug'">False</PublishTrimmed>
|
|
|
|
|
<PublishTrimmed Condition="'$(Configuration)' != 'Debug'">True</PublishTrimmed>
|
|
|
|
|
-->
|
|
|
|
|
<PublishTrimmed>False</PublishTrimmed>
|
|
|
|
|
|
|
|
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
|
|
|
|
|
|
|
|
<ApplicationIcon>Assets\app.ico</ApplicationIcon>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
</Project>
|