使用 MonoDevelop 手动迁移 XCode 4 的 MonoTouch 项目
我刚刚升级到最新的 MonoDevelop (2.8),打开 MonoDevelop 后,它要求迁移我的 MonoTouch 项目,以允许它在 MonoDevelop 2.8 中使用 XCode 4。
根据我看到的对话框,该过程是不可逆的,因此我在备份并阅读有关项目迁移过程的更多信息时关闭了对话框。
当我回去实际迁移项目时,我在 MonoDevelop 中找不到任何地方可以强制迁移过程(重新打开项目不会像第一次那样提示我进行迁移)。
有人知道在 MonoDevelop 中手动执行此迁移的方法吗?
干杯。
I just upgraded to the latest MonoDevelop (2.8) and upon opening MonoDevelop, it asked to migrate my MonoTouch project to allow it to use XCode 4 with MonoDevelop 2.8.
According to the dialog I was presented with, the process was irreversible so I just closed the dialog while I went to backup and read up more about the project migration process.
When I went back to actually migrate the project, I can't find anywhere in MonoDevelop to force the migration process (re-opening the project does not prompt me with the migration as it did the first time).
Anyone know a way to manually perform this migration in MonoDevelop?
Cheers.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
“根据我看到的对话框,该过程是不可逆的,因此我在进行备份并阅读有关项目迁移过程的更多信息时关闭了对话框。”
您可以随时单击“备份和升级”,这将为您执行所有必要文件的备份。如果在升级过程中发生了可怕的事情,只需将文件从备份目录中复制回来,您就会恢复到原来的状态。这应该是100%安全的。
艾伦.
编辑:我也刚刚修复了该错误。有一个 if/else 语句,如果没有命中任何有效选项,则默认为 BackupAndMigrate,事后看来这有点愚蠢,它应该默认为 DoNotMigrate。您的原始项目文件已放入项目文件夹中名为“backup”的目录中,以便您可以轻松撤消意外迁移:)
"According to the dialog I was presented with, the process was irreversible so I just closed the dialog while I went to backup and read up more about the project migration process."
You could have always just clicked on 'Backup and Upgrade' which will perform a backup of all necessary files for you. If something dire should happen during the upgrade process, it's a simple case of copying the files back out of the backup directory and you'll be back to the way things were. This should be 100% safe.
Alan.
EDIT: I've also just fixed that bug. There was an if/else statement which defaulted to BackupAndMigrate if none of the valid options were hit, this was a bit silly in hindsight, it should've defaulted to DoNotMigrate. Your original project files were put in a directory called 'backup' in your project folder so you can easily undo the accidental migration :)