forked from dotnet/maui
/
Microsoft.AspNetCore.Components.WebView.Wpf.csproj
38 lines (32 loc) · 1.51 KB
/
Microsoft.AspNetCore.Components.WebView.Wpf.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
36
37
38
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!-- Use TargetFrameworks (plural) instead of TargetFramework (singular) here even though there is only one target
framework. This is to work around an issue with the Microsoft.Web.WebView2 package:
https://github.com/MicrosoftEdge/WebView2Feedback/issues/710 -->
<TargetFrameworks>$(_MauiDotNetTfm)-windows</TargetFrameworks>
<SupportedOSPlatformVersion>7.0</SupportedOSPlatformVersion>
<DefineConstants>$(DefineConstants);WEBVIEW2_WPF</DefineConstants>
<UseWPF>true</UseWPF>
<Nullable>enable</Nullable>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<PropertyGroup>
<!-- NuGet package information -->
<IsPackable>true</IsPackable>
<PackageId>Microsoft.AspNetCore.Components.WebView.Wpf</PackageId>
<PackageIconFile>$(MauiRootDirectory)Assets\aspnet-icon.png</PackageIconFile>
<PackageTags>blazor;webview;aspnet;wpf</PackageTags>
<Description>Build WPF apps with Blazor and WebView2.</Description>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebView" />
<PackageReference Include="Microsoft.Web.WebView2" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\SharedSource\**\*.cs" Link="SharedSource\%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
<Content Remove="build\**\*" />
<None Include="build\**\*" Pack="True" PackagePath="build\%(RecursiveDir)%(FileName)%(Extension)" />
</ItemGroup>
</Project>