项目文件无法迁移 [英] The project file cannot be migrated

查看:40
本文介绍了项目文件无法迁移的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到错误消息无法完成操作.无法迁移项目文件.请参阅迁移报告了解详细信息."当我尝试将现有项目添加到空白解决方案中时......似乎没有任何解决方案可以解决这个问题......

I got an error message "Operation could not be completed. The project file cannot be migrated. See the migration report for details." When I was trying to add an existing project into a blank solution... and it seems there's doesn't exist any solution to this problem...

以下是我尝试将这些现有项目添加到解决方案中的方法:

Here's how I tried to add those existing project into the solution:

右键单击解决方案菜单 > 添加 > 现有项目... > xxx.vcproj > 然后单击打开

Right click on the Solution menu > Add > Existing Project... > xxx.vcproj > then click Open

项目文件夹还包含另一个子文件夹,里面有一个xxx.exe,还有一个名为'xxx.vcxproj'的文件,但我也打不开

The project folder also contain another sub folder and it has a xxx.exe inside, there is also a file called 'xxx.vcxproj' but I could not open it as well

我该如何解决这个问题?

How could I fix this?

推荐答案

遇到了同样的问题.修正如下:

Had the same problem. Fixed it like this:

您可能需要为每个下载的文件执行此操作

You might need to do this for each downloaded file

  • 右键单击文件并选择属性
  • 在右下角的安全性下,您可能会看到一个对话框,说明出于安全原因该文件已被阻止.点击允许以取消阻止.
  • 该文件也可以只读.如果需要,取消选中该框.
  • Right click the file and choose Properties
  • In the lower-right corner, under Sercurity, you might see a dialog stating that the file has been blocked for security reasons. Click Allow to unblock it.
  • The file could also be read only. Uncheck that box if needed.
  • 此文件下载到您的桌面并运行它
  • 转到包含您的项目的文件夹,右键单击它并选择取得所有权
  • Download this file to your desktop and run it
  • Go to the folder containing your project, right-click it and choose Take Ownership

来源

  • 然后,打开 Visual Studio,选择打开项目并选择 *.vcxproj 文件
  • 如果它告诉您需要安装其他 C++ 包,请单击确定并等待安装完成(您可能需要关闭 Visual Studio)
  • Then, open Visual Studio, choose open project and select the *.vcxproj file
  • If it tells you you need to install additional C++ packages, click OK and wait until the install completes (you may need to close visual studio)

这篇关于项目文件无法迁移的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆