Files
DorkNet/launcher/DorkNet.Launcher.csproj
2026-05-27 18:26:39 +03:00

49 lines
2.1 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net9.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UseWPF>true</UseWPF>
<RootNamespace>DorkNet.Launcher</RootNamespace>
<AssemblyName>dorknet</AssemblyName>
<ApplicationManifest>app.manifest</ApplicationManifest>
<PublishSingleFile>true</PublishSingleFile>
<SelfContained>true</SelfContained>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
</PropertyGroup>
<!-- WPF is built into the .NET 9 Windows SDK; no NuGet package needed.
The Backend/* classes (release downloader, server process, etc.) are
UI-framework-agnostic and stay unchanged from the PhotinoNET draft. -->
<ItemGroup>
<!-- QR rendering for the share panel — generates the code as raw
module bytes, MainWindow draws it onto a WPF Image. No System.Drawing
dependency that way, so it stays portable. -->
<PackageReference Include="QRCoder" Version="1.6.0" />
<PackageReference Include="Microsoft.Data.Sqlite" Version="9.0.4" />
</ItemGroup>
<!-- Dev convenience: copy the repo-root versions.json next to dorknet.exe
on build, so a dev checkout works against the private repo without
needing DORKNET_LOCAL_MANIFEST set. LocalOverrides picks this up as
a side-by-side fallback. The file is harmless to ship in release
builds too — VersionsManifest still prefers the live GitHub fetch
when reachable. -->
<ItemGroup>
<None Include="..\versions.json" Condition="Exists('..\versions.json')">
<Link>versions.json</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="..\local-releases\**\*" Condition="Exists('..\local-releases')">
<Link>local-releases\%(RecursiveDir)%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>