Skip to content

Commit

Permalink
Workaround package bug in WebView2 nuget package. (Issue #188)
Browse files Browse the repository at this point in the history
  • Loading branch information
dotMorten committed Sep 25, 2024
1 parent d784e03 commit 56b74a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<Authors>Morten Nielsen - https://xaml.dev</Authors>
<Company>Morten Nielsen - https://xaml.dev</Company>
<PackageIcon>logo.png</PackageIcon>
<Version>2.4.1</Version>
<Version>2.4.2</Version>
<!--<PackageValidationBaselineVersion>2.3.4</PackageValidationBaselineVersion>-->
</PropertyGroup>

Expand Down
6 changes: 2 additions & 4 deletions src/WinUIEx/WinUIEx.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@
<PackageId>WinUIEx</PackageId>
<Product>WinUI Extensions</Product>
<PackageReleaseNotes>
- Added full support for Native AOT
- Upgraded Windows App SDK to 1.6.0
- Upgraded CSWinRT to 2.1.3
- Changed required target framework to 10.0.19041.0
- Workaround package bug in WebView2 nuget package. (Issue #188)
</PackageReleaseNotes>
</PropertyGroup>

Expand All @@ -38,6 +35,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.WindowsAppSDK" Version="$(WinAppSDKVersion)" />
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.2651.64" IncludeAssets="none" /> <!-- Work around bug in webview package, and we don't really need this anyway -->
<None Include="README.md" Pack="true" PackagePath="\" />
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.1.3" >
<PrivateAssets>all</PrivateAssets>
Expand Down

0 comments on commit 56b74a7

Please sign in to comment.