vs 17.3.0预览2.0不使用Mac -MAUI削减

发布于 2025-02-13 07:55:18 字数 369 浏览 1 评论 0原文

我正在尝试为iOS& Android和Razor class Library。 在尝试将Mac与Visual Studio配对时,我会面对问题。在日志中,我以下是错误

xamarin.messaging.integration.state.iosserverstatecontextextextensions错误:0:尝试在连接的Mac中获取当前Xcode位置时发生错误 连接的Mac 的环境信息时发生了意外错误

xamarin.visualstudio.ios.messaging.macosxversionValidator警告:0:在尝试在不打开任何.sln文件的情况下尝试连接 问题。在任何项目开放的情况下,我会面临问题。

请帮助解决这个问题。

I am trying to develop a MAUI application for iOS & Android with Razor Class Library.
While trying to Pair my Mac with Visual Studio I face issue. In log I get below errors

Xamarin.Messaging.Integration.State.IOSServerStateContextExtensions Error: 0 : An error occurred while trying to get the current Xcode location in the connected Mac
Xamarin.VisualStudio.IOS.Messaging.MacOsxVersionValidator Warning: 0 : An unexpected error occurred while trying to get environment information for the connected Mac

When I try to connect without opening any .sln file, I could pair the Mac without any issue. With any project open, I face issue.

Kindly help to resolve the issue.

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

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

发布评论

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

评论(1

手长情犹 2025-02-20 07:55:18

请尝试清除Mac上的XMA缓存。您可以参考此线程有关更多详细信息。

Please try to clear the XMA cache on the Mac. You can refer to this thread for more details.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文