Files
pokerfreak/winui/Pokerfreak.Cockpit.csproj
mmintelandClaude Opus 5.5 987a37895c WinUI: Cockpit laeuft nur einmal - ein zweiter Start holt das laufende nach vorn
Eigenes Main (Programm.cs) mit AppInstance.FindOrRegisterForKey: der zweite Prozess reicht
seine Aktivierung weiter und endet; das erste kommt nach vorn und klappt die Pille aus.
Geprueft: zwei Starts -> ein Prozess.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 17:41:17 +01:00

33 lines
1.5 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<!-- Das native Windows-Cockpit (WinUI 3, Windows App SDK, unpaketiert). Nur Anzeige und Befehle:
die Daten kommen vom Python-Server sicht/start.py (WebSocket /ws, POST /api/steuern). -->
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
<TargetPlatformMinVersion>10.0.19041.0</TargetPlatformMinVersion>
<RootNamespace>Pokerfreak.Cockpit</RootNamespace>
<AssemblyName>Pokerfreak.Cockpit</AssemblyName>
<ApplicationManifest>app.manifest</ApplicationManifest>
<Platforms>x64</Platforms>
<PlatformTarget>x64</PlatformTarget>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<UseWinUI>true</UseWinUI>
<WindowsPackageType>None</WindowsPackageType>
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
<SelfContained>true</SelfContained>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>latest</LangVersion>
<EnableMsixTooling>true</EnableMsixTooling>
<ApplicationIcon>Assets/cockpit.ico</ApplicationIcon>
<!-- Eigenes Main in Programm.cs: nur ein Cockpit zugleich -->
<DefineConstants>$(DefineConstants);DISABLE_XAML_GENERATED_MAIN</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.8.260921001" />
</ItemGroup>
<ItemGroup>
<Content Update="Assets/cockpit.ico" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
</Project>