VS 2005在构建项目解决方案时重新启动?怎么解决?

时间:2012-06-28 13:52:06

标签: c# build visual-studio-2005 application-restart

我在vs2005网站项目解决方案中遇到了一个问题。
当我在一段时间内开始构建我的vs2005项目时vs2005显示错误: - &#34; Microsoft Visual Studio遇到问题并需要关闭&#34; 。< / p> 每当我开始构建解决方案时,每次都重新启动visual studio。

如何从这个错误中获得游乐设施?

任何解决方案。

来自事件查看器的错误消息:
for privacy我用虚拟

更改了我的项目名称
It showing message: Windows cannot access the file D:\MyProject\Bin\MyLib.pdb for one of the following reasons: there is a problem with the network connection, the disk that the file is stored on, or the storage drivers installed on this computer; or the disk is missing. Windows closed the program Microsoft Visual Studio 2005 because of this error.

Program: Microsoft Visual Studio 2005
File: D:\MyProject\Bin\MyLib.pdb

The error value is listed in the Additional Data section.
User Action
1. Open the file again. This situation might be a temporary problem that corrects itself when the program runs again.
2. If the file still cannot be accessed and
    - It is on the network, your network administrator should verify that there is not a problem with the network and that the server can be contacted.
    - It is on a removable disk, for example, a floppy disk or CD-ROM, verify that the disk is fully inserted into the computer.
3. Check and repair the file system by running CHKDSK. To run CHKDSK, click Start, click Run, type CMD, and then click OK. At the command prompt, type CHKDSK /F, and then press ENTER.
4. If the problem persists, restore the file from a backup copy.
5. Determine whether other files on the same disk can be opened. If not, the disk might be damaged. If it is a hard disk, contact your administrator or computer hardware vendor for further assistance.

Additional Data
Error value: C000009C
Disk type: 3

1 个答案:

答案 0 :(得分:0)

由于 .pdb 文件存在问题..这让我遇到了问题。

当我删除并重新插入(D:\ MyProject \ Bin \ MyLib.pdb)类库文件(.pdb)到我的Web解决方案中时,然后它工作了。

我解决了从类库中删除并重新插入文件到Web应用程序然后构建/重新构建解决方案......

它解决了我的问题。

由于