Skip to content

Commit

Permalink
Release 0.5.0 with .NET 8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
kant2002 committed Jun 16, 2024
1 parent 65bb603 commit 6b553b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<UseNet8 Condition="'$(UseNet8)' == ''">True</UseNet8>
<GenerateWPF Condition="'$(GenerateWPF)' == ''">False</GenerateWPF>
<DefineConstants Condition="'$(GenerateWPF)' == 'True'">$(DefineConstants);USE_WPF</DefineConstants>
<VersionPrefix>0.4.3</VersionPrefix>
<VersionPrefix>0.5.0</VersionPrefix>
<WinFormsRepoRoot></WinFormsRepoRoot>
<WpfRepoRoot></WpfRepoRoot>
</PropertyGroup>
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ If you are using WebView2 using `Microsoft.Web.WebView2.Core` package, then use

ComWrappers.RegisterForMarshalling(WinFormsComInterop.WebView2.WebView2ComWrapper.Instance);

Note, that it does not working for *new* WebView2 as of .NET 8, please file and issue if you need it, I'll prioritize.

Also
1. Add `<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.1462.37" />` as depedency. This library would work only starting from this version of WebView2 package.
2. Add RD.xml file from https://github.com/kant2002/RdXmlLibrary/blob/main/Microsoft.AspNetCore.Components.Web.rd.xml to project
Expand Down

0 comments on commit 6b553b2

Please sign in to comment.