我有几个应用程序我想在我的解决方案中构建,我想单独构建它们。
运行: /Applications/Xamarin\ Studio.app/Content/MacOS/mdtool构建“-配置:Release”./42.csproj
失败了。
我确实看到,所有的Xamarin示例都在mdtool中使用了一个解决方案文件(.sln),但我仍然想知道在我的解决方案中是否有一种方法可以在项目上引用。
发布于 2015-10-13 06:33:04
在与xamarin交谈之后,他们声称不建议使用mdtool。我被告知要使用xbuild,方法是:
xbuild Project.sln /p:Configuration=AppStore /p:Platform=iPhone /p:BuildIpa=true /t:42这将将BuildIpa标志设置为true。
发布于 2015-09-15 03:03:44
你可以这样运行:
/Applications/Xamarin\ Studio.app/Contents/MacOS/mdtool -v build -c:"Release|iPhone" -p:"42"运行此文件时,需要确保您在解决方案文件夹中。上面命令中的42应该引用iOS项目文件所在的子文件夹,而不是项目文件本身。
https://stackoverflow.com/questions/23855103
复制相似问题