3

I have WPF .Net core 3.1 Desktop Application and trying to Add MicrosoftEdgeWebView2Runtime as prerequisite with Clickonce but I'm not able to find in prerequisite list.

prerequisite list

Thanks in Advance. Ravi V.

Ravi vanzara
  • 73
  • 1
  • 7

1 Answers1

2

Try to follow this guide.

I think that in your case you have download WebView2 installer and place it under, either Program Files (x86)\Microsoft SDKs\ClickOnce Bootstrapper\Packages\, or <VS Install Dir>\MSBuild\Microsoft\VisualStudio\BootstrapperPackages\ together with product.xml file where you define how WebView2 should be installed.

user2250152
  • 14,658
  • 4
  • 33
  • 57
  • Thanks but I'm getting Error while publishing "Microsoft.WebTools.Shared.Exceptions.WebToolsException: Publish has encountered an error. We were unable to determine the cause of the error. Check the output log for more details." – Ravi vanzara Mar 08 '21 at 09:24