-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMinimalWebView.csproj
35 lines (30 loc) · 1.21 KB
/
MinimalWebView.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!-- Exe: console and GUI window. WinExe: GUI window only -->
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<ApplicationManifest>app.manifest</ApplicationManifest>
<ImplicitUsings>true</ImplicitUsings>
<Version>0.4.4</Version>
<Description>A tiny .NET 6 Windows application that hosts web UI in WebView2</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.1245.22" />
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.2.1-beta">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\PublishProfiles\" />
</ItemGroup>
<ItemGroup>
<None Update="wwwroot\index.html">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="wwwroot\tailwind.css">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>