Visual Studio 2013无法保存,生成或重建解决方案 [英] Visual Studio 2013 Can't save, build, or rebuild solution

查看:274
本文介绍了Visual Studio 2013无法保存,生成或重建解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

突然我单击干净的解决方案后,我不再能够保存,构建或对解决方案做任何事情.每当我按CTRL + S或只是Rebuild或Build甚至什至开始按钮时,这似乎是一个错误

Suddenly after i clicked clean solution i am no longer able either to save, build or do anything to the solution. It appears to be a bug as every time i hit CTRL+S or just Rebuild or Build or even Start button i get this message

  • 我也仔细检查了所有程序集,它们什么也没有 不见了.我需要找到一个解决方案,而又不会丢失未保存的数据.
  • Also i double checked all the assemblies and they are there nothing is missing. I need to find a solution without losing my unsaved data.

推荐答案

好吧,这是我曾经遇到过的一个令人毛骨悚然的小故障,它使Visual Studio失去了对其引用或类似内容的链接.

Well this is strange glitch which I once faced with Visual Studio which results in losing the linkage to it's references or something like that.

一个快速解决方法就是

  1. 在第二个Visual Studio实例中打开项目(没有
    关闭现有的数据库以保持数据的生命力!)
  2. 从新打开的第二个实例重建项目,然后关闭
    并返回到您的bug视觉工作室(第一个实例),它应该 现在可以保存/构建/重建.
  3. 切换回第一个实例时,如果您进行了更改
    在第二个实例中,让您的项目进行编译,第一个实例 将检测到这些,并询问您是否要重新加载已更改的
    文件.选择全部拒绝",否则您将丢失未保存的
    在第一个实例中发生了变化.
  1. Opening the project in a 2nd visual studio instance (without
    closing the existing one to keep your data alive!)
  2. Rebuild your project from the newly opened 2nd instance then close
    and return to your bugged visual studio (1st instance) and it should work be able to save/build/rebuild now.
  3. When switching back to your 1st instance, if you had made changes
    in the 2nd instance to get your project to compile, the 1st instance will detect these and ask if you would like to reload the changed
    files. Select "No to all" otherwise you will lose your unsaved
    changes in the 1st instance.

这篇关于Visual Studio 2013无法保存,生成或重建解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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