将 WPF 浏览器应用程序转换为 WPF 桌面应用程序

发布于 2024-09-27 10:18:36 字数 65 浏览 2 评论 0原文

在不将所有代码从一个项目复制到另一个项目的情况下,是否可以将 XBAP 浏览器应用程序转换为 WPF 表单应用程序?

Without copying all the code from one project to another, is it possible to convert an XBAP browser app into a WPF forms app?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

温暖的光 2024-10-04 10:18:36

除了上面的答案之外,如果您收到错误“清单文件位于:XXX 不包含足够的权限来启动您的应用程序进行调试。...”,请进入 app.manifest 并注释掉 applicationRequestMinimum 标记,如下所示如下:

<!--<applicationRequestMinimum>
  <defaultAssemblyRequest permissionSetReference="Custom" />
  <PermissionSet class="System.Security.PermissionSet" version="1" ID="Custom" SameSite="site" />
</applicationRequestMinimum>-->

In addition to the answer above, if you get the error "The manifest file at: XXX does not contain sufficient permissions to launch your application for debugging. ...", go into the app.manifest and comment out the applicationRequestMinimum tag, as follows:

<!--<applicationRequestMinimum>
  <defaultAssemblyRequest permissionSetReference="Custom" />
  <PermissionSet class="System.Security.PermissionSet" version="1" ID="Custom" SameSite="site" />
</applicationRequestMinimum>-->
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文