加载Solution时VS2017会锁定 [英] VS2017 locks when loading Solution

查看:67
本文介绍了加载Solution时VS2017会锁定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是VS和.NET编程的新手。我已经看过是否可以在其他线程中找到解决方案,但我担心我只是不知道确定这个结果。

I am fairly new to VS and .NET programming. I have looked to see if I can find the solution in other threads but I fear I just don't know enough to determine this outcome.

我一直在为一对夫妇制定解决方案几个星期,一切都很好,直到今天早上。这是一个单项目解决方案。似乎同一个文件在环境中打开两次,解决方案是每次打开它时锁定VS.其他
罚款。我已经安装了最新的更新。我已经运行了resetsettings(似乎没有做任何不同的事情)。我没有任何测试设置。 

I have been working on a solution for a couple of weeks and everything was fine until this morning. It is a single-project solution. It appeared that the same file was open twice in the environment and the solution is locking VS each time I open it. Others open fine. I have installed the latest update. I have run resetsettings (which didn't appear to do anything different). I don't have any test settings. 

我重新启动了几次,因为每次尝试新功能时,它都会关闭(使用"关闭窗口")一次然后我必须按Ctrl + Alt + Del才能进入任务管理器。下一次,我只需重新启动...

I have rebooted several times because each time I try something new, it will close (using "Close Window") once and then I have to Ctrl+Alt+Del to get to task manager. The next time, I just have to reboot...

无论如何,最后一次,我做了一个文件|关闭似乎是违规文件并关闭(然后挂断了) )但是当我重新打开解决方案时,我认为问题的文件没有打开,而且爸爸的事情仍在锁定。我今天早上成功运行了解决方案
,但运行了之前的构建,因为我仍在处理的类中存在错误。在我之前的一次尝试中,我删除了该文件以查看是否存在问题。至少,我以为我会得到错误,因为
找不到文件,这没问题。

Anyway, the last time, I did a File|Close for what appeared to be the offending file and it closed (then hung up) but when I re-opened the solution, the file I thought was the problem wasn't open and the dadgum thing is still locking up. I ran the solution this morning successfully but ran a previous build because there was an error in a class that I was still working on. In one of my earlier attempts, I removed that file to see if that was the issue. At a minimum, I thought I would just get the error that it couldn't find the file, which is no problem.

我最后一次打开时,Server explorer是工作,但一旦我点击代码部分,它就会挂起。

This last time I opened, Server explorer is working but as soon as I click on the code section, it hangs.

我是一名数据库开发人员,试图扩大我的视野,所以我不理解很多"代码说话" ;在许多答案中。

I am a database developer trying to expand my horizons so I do not understand a lot of the "code-speak" in many of the answers.

推荐答案

当我继续发现问题时,我将解决方案目录复制到另一个名称并尝试重新创建。在这个过程中,我尝试在"坏"的情况下打开解决方案。目录并且它已成功打开,没有项目打开。

As I continued to find the issue, I copied the solution directory to another name and tried to re-create. In the process, I tried opening the solution in the "bad" directory and it opened successfully, with no items open.

我不知道发生了什么或为什么,但这似乎解决了我的问题,我又回来了。

I do not know what happened or why, but this has appeared to resolve my issue and I am back up again.

我在互联网上搜索的内容"如何在没有预先打开的文件的情况下打开解决方案" (或那些影响的东西)没有向我提供任何细节。

What I searched on the internet "How to open a solution without the presaved files open" (or something to that affect) didn't provide me with any details.

我想这可以关闭。


这篇关于加载Solution时VS2017会锁定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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