小编Mla*_*rić的帖子

WinUI3 应用程序上出现错误 NETSDK1152:发现多个具有相同相对路径的发布输出文件:Microsoft.Web.WebView2.Core.dll

  1. 安装了 Visual Studio 2022(在全新的 Windows 11 安装上),安装了 Template Studio for WinUI (v5.3)。
  2. 使用 Template Studio 使用以下设置创建了一个项目:
- Project type:         Navigation pane
- Design pattern:       MVVM Toolkit
- Pages (Blank pages):
    * Page1
    * Page2
    *
    *
    * Settings page
- Features:
    * Settings Storage  added
    * MSIX Packaging    added
    * Self-Contained    added
    * App Notifications added
    * Theme Selection   added
- Testing: MSTest       not added
Run Code Online (Sandbox Code Playgroud)
  1. 安装了 Microsoft.EntityFrameworkCore.SqlServer (以连接到我的 SQL Server)。

  2. 安装 Microsoft.EntityFrameworkCore.SqlServer (最新稳定版 7.0.4)后,立即尝试运行应用程序,出现以下错误:

Found multiple publish output files with …
Run Code Online (Sandbox Code Playgroud)

c# webview winui winui-3 .net-7.0

4
推荐指数
1
解决办法
640
查看次数

标签 统计

.net-7.0 ×1

c# ×1

webview ×1

winui ×1

winui-3 ×1