main ini
This commit is contained in:
42
launcher/ProjectDashboard.csproj
Normal file
42
launcher/ProjectDashboard.csproj
Normal file
@@ -0,0 +1,42 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<!-- Desktop window for the project dashboard: starts server.js (Node) hidden
|
||||
and shows the UI in a WebView2 window. Build with ..\build.ps1. -->
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net8.0-windows</TargetFramework>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<AssemblyName>ProjectDashboard</AssemblyName>
|
||||
<RootNamespace>ProjectDashboard</RootNamespace>
|
||||
<ApplicationIcon>app.ico</ApplicationIcon>
|
||||
<ApplicationHighDpiMode>PerMonitorV2</ApplicationHighDpiMode>
|
||||
<Product>Projekt-Dashboard</Product>
|
||||
<Version>1.0.0</Version>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
<SelfContained>false</SelfContained>
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
|
||||
<DebugType>none</DebugType>
|
||||
<SatelliteResourceLanguages>de</SatelliteResourceLanguages>
|
||||
<!-- WebView2 also ships a WPF control; its WindowsBase reference clashes harmlessly with WinForms -->
|
||||
<NoWarn>$(NoWarn);MSB3277</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Portable build (build.ps1 -Release): one exe for other PCs - .NET runtime
|
||||
included, and the whole dashboard incl. node.exe embedded as payload.zip. -->
|
||||
<PropertyGroup Condition="'$(Portable)' == 'true'">
|
||||
<SelfContained>true</SelfContained>
|
||||
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
|
||||
<InvariantGlobalization>false</InvariantGlobalization>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition="'$(Portable)' == 'true'">
|
||||
<EmbeddedResource Include="payload.zip" LogicalName="payload.zip" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.2903.40" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user