From a3cac73677f228757ae7fdb07286df05c150bff3 Mon Sep 17 00:00:00 2001 From: Andrii Kurdiumov Date: Sat, 24 Dec 2022 01:24:51 +0600 Subject: [PATCH] Bump to 0.4.1 --- Directory.Build.props | 2 +- README.md | 19 +++++++++++++++++++ WinFormsComInterop/README.md | 5 ++--- 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index ea8c5bf..d71786b 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -3,7 +3,7 @@ False False $(DefineConstants);USE_WPF - 0.4.0 + 0.4.1 diff --git a/README.md b/README.md index 224cb31..c18494f 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,25 @@ And modify project file to enable NativeAOT If you application will works with this ComWrappers implementation, then most likely it would work with NativeAOT. +If you are using WebView2 using `Microsoft.Web.WebView2.Core` package, then use + + ComWrappers.RegisterForMarshalling(WinFormsComInterop.WebView2.WebView2ComWrapper.Instance); + +Also +1. Add RD.xml file from https://github.com/kant2002/RdXmlLibrary/blob/main/Microsoft.AspNetCore.Components.Web.rd.xml to project +2. Add `` to project file +3. Make sure that RootComponets are added to you app-specific rd.xml +```xml + + + + + + + + +``` + ## Testing technology Test that normal CoreCLR works diff --git a/WinFormsComInterop/README.md b/WinFormsComInterop/README.md index 5c430a8..1af0986 100644 --- a/WinFormsComInterop/README.md +++ b/WinFormsComInterop/README.md @@ -30,7 +30,7 @@ Also 1. Add RD.xml file from https://github.com/kant2002/RdXmlLibrary/blob/main/Microsoft.AspNetCore.Components.Web.rd.xml to project 2. Add `` to project file 3. Make sure that RootComponets are added to you app-specific rd.xml -``` +```xml @@ -39,5 +39,4 @@ Also - -``` \ No newline at end of file +```