In my winforms application, I used WebBrowser
class which is using IE
browser. I want to update it into WebView
class so that I can use Edge
browser. That's why I installed packages Microsoft.Toolkit.Forms.UI.Controls.WebView
. Then I changed some existing code which is compatible with WebView
. But when I ran the project, I found the below errors after installing that package.
The item "C:\Projects\windows-v2\packages\System.Runtime.WindowsRuntime.4.6.0\build\net461....\ref\netstandard2.0\System.Runtime.WindowsRuntime.dll" in item list "ReferencePath" does not define a value for metadata "CopyLocal". In order to use this metadata, either qualify it by specifying %(ReferencePath.CopyLocal), or ensure that all items in this list define a value for this metadata.