Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎么解决错误以及警告 #5131

Open
1100-docx opened this issue Sep 13, 2024 · 0 comments
Open

怎么解决错误以及警告 #5131

1100-docx opened this issue Sep 13, 2024 · 0 comments
Assignees
Labels

Comments

@1100-docx
Copy link

Type of issue

Missing information

Feedback

我希望这个文档可以告诉像我这样的编程新手怎么解决
This version of the Windows App SDK requires Microsoft.Windows.SDK.NET.Ref 10.0.19041.38 or later.
Please update to .NET SDK 6.0.134, 6.0.426, 8.0.109, 8.0.305 or 8.0.402 (or later).
Or add a temporary Microsoft.Windows.SDK.NET.Ref reference which can be added with:

10.0.19041.38

的错误以及
发现无法解析的“WinRT.Runtime”的不同版本之间存在冲突。
“WinRT.Runtime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709”与“WinRT.Runtime, Version=2.1.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709”之间存在冲突。
已选择“WinRT.Runtime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709”,因为它是主版本而“WinRT.Runtime, Version=2.1.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709”不是。
依赖于“WinRT.Runtime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709”[E:\packages\NuGet\cache\microsoft.windows.sdk.net.ref\10.0.19041.34\lib\net6.0\WinRT.Runtime.dll]的引用。
E:\packages\NuGet\cache\microsoft.windows.sdk.net.ref\10.0.19041.34\lib\net6.0\WinRT.Runtime.dll
导致引用“E:\packages\NuGet\cache\microsoft.windows.sdk.net.ref\10.0.19041.34\lib\net6.0\WinRT.Runtime.dll”的项目文件项 Include 特性。
E:\packages\NuGet\cache\microsoft.windows.sdk.net.ref\10.0.19041.34\lib/net6.0/WinRT.Runtime.dll
依赖于或已统一到“WinRT.Runtime, Version=2.1.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709”[] 的引用。
E:\packages\NuGet\cache\microsoft.web.webview2\1.0.2651.64\lib_manual\net6.0-windows10.0.17763.0\Microsoft.Web.WebView2.Core.Projection.dll
导致引用“E:\packages\NuGet\cache\microsoft.web.webview2\1.0.2651.64\lib_manual\net6.0-windows10.0.17763.0\Microsoft.Web.WebView2.Core.Projection.dll”的项目文件项 Include 特性。
E:\packages\NuGet\cache\microsoft.web.webview2\1.0.2651.64\build..\lib_manual\net6.0-windows10.0.17763.0\Microsoft.Web.WebView2.Core.Projection.dll
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.WinUI.dll
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.InteractiveExperiences.Projection.dll
导致引用“E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.InteractiveExperiences.Projection.dll”的项目文件项 Include 特性。
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.InteractiveExperiences.Projection.dll
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.WinUI.dll
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.WinUI.dll
导致引用“E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.WinUI.dll”的项目文件项 Include 特性。
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.WinUI.dll
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppLifecycle.Projection.dll
导致引用“E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppLifecycle.Projection.dll”的项目文件项 Include 特性。
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppLifecycle.Projection.dll
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppNotifications.Builder.Projection.dll
导致引用“E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppNotifications.Builder.Projection.dll”的项目文件项 Include 特性。
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppNotifications.Builder.Projection.dll
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppNotifications.Projection.dll
导致引用“E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppNotifications.Projection.dll”的项目文件项 Include 特性。
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppNotifications.Projection.dll
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppNotifications.Builder.Projection.dll
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.DynamicDependency.Projection.dll
导致引用“E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.DynamicDependency.Projection.dll”的项目文件项 Include 特性。
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.DynamicDependency.Projection.dll
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Management.Deployment.Projection.dll
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.Resources.Projection.dll
导致引用“E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.Resources.Projection.dll”的项目文件项 Include 特性。
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.Resources.Projection.dll
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.WinUI.dll
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.WindowsAppRuntime.Projection.dll
导致引用“E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.WindowsAppRuntime.Projection.dll”的项目文件项 Include 特性。
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.WindowsAppRuntime.Projection.dll
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Management.Deployment.Projection.dll
导致引用“E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Management.Deployment.Projection.dll”的项目文件项 Include 特性。
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Management.Deployment.Projection.dll
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.PushNotifications.Projection.dll
导致引用“E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.PushNotifications.Projection.dll”的项目文件项 Include 特性。
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.PushNotifications.Projection.dll
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Security.AccessControl.Projection.dll
导致引用“E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Security.AccessControl.Projection.dll”的项目文件项 Include 特性。
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Security.AccessControl.Projection.dll
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Storage.Projection.dll
导致引用“E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Storage.Projection.dll”的项目文件项 Include 特性。
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Storage.Projection.dll
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.System.Power.Projection.dll
导致引用“E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.System.Power.Projection.dll”的项目文件项 Include 特性。
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.System.Power.Projection.dll
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.System.Projection.dll
导致引用“E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.System.Projection.dll”的项目文件项 Include 特性。
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.System.Projection.dll
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Widgets.Projection.dll
导致引用“E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Widgets.Projection.dll”的项目文件项 Include 特性。
E:\packages\NuGet\cache\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Widgets.Projection.dll
的警告,因为我到https://learn.microsoft.com/zh-cn/windows/apps/windows-app-sdk/check-windows-app-sdk-versions这个网站就是为了查找原因以及怎么解决这个错误,但是文档中似乎没有提到怎么解决这个错误。至于那个警告,右键后点击“在 Web 上搜索帮助”没有在浏览器中打开,而是在浏览器中提示
Bad Request
Your browser sent a request that this server could not understand.
Reference #7.e6322d17.1726249857.4ad7dc9

https://errors.edgesuite.net/7.e6322d17.1726249857.4ad7dc9

前往 https://errors.edgesuite.net/7.e6322d17.1726249857.4ad7dc9 网址显示

呃哦!上一个请求出错。
如果您导航到此处,这是因为上一个请求遇到了错误。如果您是网站所有者,则可以使用 Translate Error String 工具进一步调查此问题。它位于控制中心的以下位置:

汉堡菜单 > SUPPORT > Edge Diagnostics。

Page URL

https://learn.microsoft.com/zh-cn/windows/apps/windows-app-sdk/check-windows-app-sdk-versions

Content source URL

https://github.com/MicrosoftDocs/windows-dev-docs/blob/docs/hub/apps/windows-app-sdk/check-windows-app-sdk-versions.md

Author

@Karl-Bridge-Microsoft

Document Id

863bd877-6f53-4850-038b-862f9833c633

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants