75 lines
2.9 KiB
XML
75 lines
2.9 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<AssemblyName>PSG-Oversight</AssemblyName>
|
|
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net8.0-windows</TargetFramework>
|
|
|
|
<UseWPF>true</UseWPF>
|
|
<StartupObject>LD_SysInfo.App</StartupObject>
|
|
<ApplicationIcon>Assets\LDShortcut.ico</ApplicationIcon>
|
|
<OutputPath>C:\Users\Sonder\source\repos\psg-oversight-app\BuildDir\bin\Debug\net8.0-windows\</OutputPath>
|
|
<IncludeSatelliteAssembliesForPublish>false</IncludeSatelliteAssembliesForPublish>
|
|
|
|
<!-- 🔢 Version Info -->
|
|
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
|
<FileVersion>1.0.3.0</FileVersion>
|
|
<Version>1.0.3</Version>
|
|
|
|
<!-- ✅ Enables source metadata and Git info -->
|
|
<Deterministic>true</Deterministic>
|
|
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
|
|
<RepositoryUrl>https://gitea.psg.net.au/your-repo</RepositoryUrl>
|
|
<IncludeSourceRevisionInInformationalVersion>true</IncludeSourceRevisionInInformationalVersion>
|
|
|
|
</PropertyGroup>
|
|
|
|
<!--
|
|
Uncomment to enable single file exe publishing
|
|
https://learn.microsoft.com/dotnet/core/deploying/single-file/overview
|
|
|
|
The Condition on PublishSingleFile is to prevent debugging issues while running as a single file.
|
|
Many debugging tools (Snoop, Visual Studio's UI debugging tools for XAML) will not function with PublishSingleFile set to true.
|
|
https://github.com/dotnet/runtime/issues/3773
|
|
|
|
You will also need to remove the no-build option from the `dotnet publish` command on the "dotnet publish" step in .github/workflows/build_app.yml
|
|
-->
|
|
<!--
|
|
<PropertyGroup>
|
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
|
<PublishSingleFile Condition="'$(Configuration)' != 'Debug'">true</PublishSingleFile>
|
|
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
|
|
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
|
|
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
|
|
<SelfContained>true</SelfContained>
|
|
</PropertyGroup>
|
|
-->
|
|
|
|
<ItemGroup>
|
|
<ApplicationDefinition Remove="App.xaml" />
|
|
<None Remove="Assets\trayicon.ico" />
|
|
<None Remove="config.json" />
|
|
<Content Include="Assets\LDShortcut.ico" />
|
|
<Page Include="App.xaml" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="CommunityToolkit.Mvvm" />
|
|
<PackageReference Include="Hardcodet.NotifyIcon.Wpf" />
|
|
<PackageReference Include="MaterialDesignColors" />
|
|
<PackageReference Include="MaterialDesignThemes" />
|
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" />
|
|
<PackageReference Include="Microsoft.Extensions.Hosting" />
|
|
<PackageReference Include="Newtonsoft.Json" />
|
|
<PackageReference Include="System.Management" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Resource Include="Assets\trayicon.ico" />
|
|
<Content Include="config.json">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
</Project>
|