以前我使用 Xamarin Studio 构建应用程序,它工作得非常好 . 现在我复制了相同的解决方案并尝试构建 Visual Studio 到 Xamarin Mac Agent . 每当我尝试运行应用程序时,我都会收到以下错误:
根程序集/Users/eagle/Library/Caches/Xamarin/mtbs/builds/App1.iOS/3592b16d5f6494c29443153f9249eb47/bin/iPhone/Debug/App1.exe与另一个程序集冲突(/ Users / eagle / Library / Caches / Xamarin / MTBS /构建/ App1.iOS / 3592b16d5f6494c29443153f9249eb47 /斌/ iPhone /调试/ App1.exe) .
1 回答
将VS升级到当前稳定通道版本,请参阅here
尝试在visual studio中的项目中重命名 Application Name ,因为两个程序集都将被引用到同一个地方 .