admin管理员组文章数量:1323224
I'm using some code in VB (Visual Studio 2022) that's using Webview2 on my desktop. I made a setup file to install it on my laptop. Unfortunatly Webview2 is not included in the setup file, and the code works fine till I want to open a page. How can I include Webview2 in the setupfiles so everything works right from the start?
In the solution explorer I find under Dependencies, Under Packages Microsoft.Web.Webview2 (1.0.1054.31) Under Setup1 (Visual Studio Installer) I find Detected Dependecies = Empty.
I found some warnings while creating the MSI-file
WARNING: File 'Voetbalbrowser2.exe' of project output 'Publish Items from Voetbalbrowser2 (Active)' targeting 'x64' is not compatible with the project's target platform 'x86'
WARNING: File 'Voetbalbrowser2.exe' of project output 'Publish Items from Voetbalbrowser2 (Active)' targeting 'x64' is not compatible with the project's target platform 'x86'
WARNING: File 'Voetbalbrowser2.exe' of project output 'Publish Items from Voetbalbrowser2 (Active)' targeting 'x64' is not compatible with the project's target platform 'x86'
WARNING: File 'Voetbalbrowser2.exe' of project output 'Publish Items from Voetbalbrowser2 (Active)' targeting 'x64' is not compatible with the project's target platform 'x86'
WARNING: File 'Voetbalbrowser2.exe' of project output 'Publish Items from Voetbalbrowser2 (Active)' targeting 'x64' is not compatible with the project's target platform 'x86'
WARNING: File 'Voetbalbrowser2.exe' of project output 'Publish Items from Voetbalbrowser2 (Active)' targeting 'x64' is not compatible with the project's target platform 'x86'
WARNING: File 'Voetbalbrowser2.exe' of project output 'Publish Items from Voetbalbrowser2 (Active)' targeting 'x64' is not compatible with the project's target platform 'x86'
WARNING: File 'WebView2Loader.dll' of project output 'Publish Items from Voetbalbrowser2 (Active)' targeting 'x64' is not compatible with the project's target platform 'x86'
WARNING: File 'WebView2Loader.dll' of project output 'Publish Items from Voetbalbrowser2 (Active)' targeting 'x64' is not compatible with the project's target platform 'x86'
WARNING: File 'WebView2Loader.dll' of project output 'Publish Items from Voetbalbrowser2 (Active)' targeting 'x64' is not compatible with the project's target platform 'x86'
WARNING: File 'WebView2Loader.dll' of project output 'Publish Items from Voetbalbrowser2 (Active)' targeting 'x64' is not compatible with the project's target platform 'x86'
WARNING: File 'WebView2Loader.dll' of project output 'Publish Items from Voetbalbrowser2 (Active)' targeting 'x64' is not compatible with the project's target platform 'x86'
WARNING: File 'WebView2Loader.dll' of project output 'Publish Items from Voetbalbrowser2 (Active)' targeting 'x64' is not compatible with the project's target platform 'x86'
WARNING: File 'WebView2Loader.dll' of project output 'Publish Items from Voetbalbrowser2 (Active)' targeting 'x64' is not compatible with the project's target platform 'x86'
WARNING: File 'WebView2Loader.dll' of project output 'Publish Items from Voetbalbrowser2 (Active)' targeting 'x64' is not compatible with the project's target platform 'x86'
WARNING: File 'WebView2Loader.dll' of project output 'Publish Items from Voetbalbrowser2 (Active)' targeting 'Unknown' is not compatible with the project's target platform 'x86'
WARNING: File 'WebView2Loader.dll' of project output 'Publish Items from Voetbalbrowser2 (Active)' targeting 'Unknown' is not compatible with the project's target platform 'x86'
WARNING: File 'WebView2Loader.dll' of project output 'Publish Items from Voetbalbrowser2 (Active)' targeting 'Unknown' is not compatible with the project's target platform 'x86'
WARNING: File 'WebView2Loader.dll' of project output 'Publish Items from Voetbalbrowser2 (Active)' targeting 'Unknown' is not compatible with the project's target platform 'x86'
WARNING: File 'WebView2Loader.dll' of project output 'Publish Items from Voetbalbrowser2 (Active)' targeting 'Unknown' is not compatible with the project's target platform 'x86'
WARNING: File 'WebView2Loader.dll' of project output 'Publish Items from Voetbalbrowser2 (Active)' targeting 'Unknown' is not compatible with the project's target platform 'x86'
WARNING: File 'WebView2Loader.dll' of project output 'Publish Items from Voetbalbrowser2 (Active)' targeting 'Unknown' is not compatible with the project's target platform 'x86'
WARNING: File 'WebView2Loader.dll' of project output 'Publish Items from Voetbalbrowser2 (Active)' targeting 'Unknown' is not compatible with the project's target platform 'x86'
Those were all the warnings. Build: 1 succeeded 0 failed ...
版权声明:本文标题:How can I include Webview2 in the setup.exe or MSI with Microsoft Visual Studio installer? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742070349a2419085.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论