因此,我的ios项目使用ad-hoc|iphone配置可以很好地构建。我可以在调试模式下运行模拟器。我遇到的问题是,当我试图归档项目时,我得到了以下错误:
Severity Code Description Project File Line Suppression State
Error The OutputPath property is not set for project 'arnBooking.iOS.csproj'. Please check to
make sure that you have specified a valid combination of Configuration and Platform for this project.
Configuration='Ad-Hoc' Platform='iPhoneSimulator'. This error may also appear if some other project
is trying to follow a project-to-project reference to this project, this project has been unloaded or
is not included in the solution, and the referencing project does not build using the same or an
equivalent Configuration or Platform. arnBooking.iOS
我查看了我的项目属性,debug是唯一基于iPhoneSimulator构建的配置,也是唯一将模拟器作为其输出路径的配置。我正在尝试弄清楚为什么归档构建在不同的配置上而不是普通构建。
有没有人碰到过这个?
我正在使用Visual Studio Community 2019版本16.7.5
发布于 2020-10-21 20:23:22
这一定是由visual studio缓存或其他原因引起的。清理后,手动删除bin和obj文件夹,并重新启动我的机器和mac它工作。只是Xamarin像往常一样挑剔我想
https://stackoverflow.com/questions/64378259
复制相似问题