user1577821
user1577821

Reputation: 221

unable to write output file ... pdb visual studio 2010

From other answers to this same question, it seems that this error is secondary to the real problem which is a missing source file. I am not using any source control. I have looked through my entire project and don't see any files with a warning icon, indicating it's missing. If there IS a file missing, what is it missing from?

How can I find the "missing" file? Isn't there any way of resetting this? My whole project is stuck on this.

Upvotes: 9

Views: 15193

Answers (5)

Dave
Dave

Reputation: 740

Another possibility is the existence of corrupted compiled dlls for the actual project (i.e. bin/<project>.dll) In my case, I just deleted the .dll and the .pdb and recompiled and the error went away.

Upvotes: 0

user2534595
user2534595

Reputation: 1

Deleting removed files from the Solution Explorer, then rebuilding, solved it on my computer.

Upvotes: -1

Luai
Luai

Reputation: 17

Make sure that all aspx files are available in your solutions, otherwise check WebSite.vbproj, make sure maybe there is a file that is missing from your code, either add this file to the solution, or remove it from WebSite.vbproj. I recommend for you to use Notepad++ to open and modify WebSite.vbproj

Regards, Luai

Upvotes: 0

Punit
Punit

Reputation: 11

I too had this problem. My project was building in release mode but was not working in debug mode. I checked for all necesary files are included in my solution and I found that there is one file missing Settings.Designer.vb in My Project folder. I included these file in project and it build file in debug mode also.

Upvotes: 1

Chip
Chip

Reputation: 286

I had this too. Close VS and reopen. Don't compile. The errors list should tell you which file is missing.

Upvotes: 27

Related Questions