<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>WinExe</OutputType> <TargetFramework>net8.0-windows</TargetFramework> <Nullable>enable</Nullable> <ImplicitUsings>enable</ImplicitUsings> <UseWindowsForms>true</UseWindowsForms> <RootNamespace>Lilith.DesktopWeb2App</RootNamespace> <AssemblyName>Lilith.DesktopWeb2App</AssemblyName> </PropertyGroup> <ItemGroup> <PackageReference Include="Microsoft.Web.WebView2" Version="1.0.2903.40" /> <ProjectReference Include="..\..\RazorWebGui\Lilith.RazorWebGui\Lilith.RazorWebGui.csproj" /> </ItemGroup></Project>
Documentation
Lilith.DesktopWeb2App (Version 2)
Windows desktop shell (WebView2 + local Kestrel) hosting Lilith.RazorWebGui for Version 2.
dotnet run --project Lilith.DesktopWeb2App.csproj
Requires [WebView2 Runtime](https://developer.microsoft.com/microsoft-edge/webview2/).