Visual Studio 2010 error generated due to missing files

I searched everywhere and I cannot find anyone with the same problem (although I am sure that people made mistakes in the past) ... I accidentally deleted the contents of my Debug and Release folders. Now I get a file of no errors found. As a background, this is a Windows Forms application in C #, and I am running Visual Studio 10.

Here are the errors:

Unable to read manifest 'bin\Debug\projectName.vshost.exe.manifest' Could not find file [pathName]\projectName.vshost.exe.manifest. 

Before I skipped the manifest, I received an error message that it could not find other contents of the folder (exe, pdb, etc.), error MSB3113 ( link )

Things I tried (and some of them were far-fetched, I know):

  • I tried to rename dummy files for all missing files.
  • I tried to find deleted files, but I can’t
  • I tried deleting all the contents of the Debug / Release folders and doing a clean build
  • I tried to remove Debug / Release directories

Let me know if you can come up with something that I could try. My problem seems vaguely similar to this one .

+6
source share
3 answers

This is how I decided to solve the problem - it turned out that I included my bin and obj directories in the project. For those experiencing the same problem, just right-click and Exclude From Project. After that, clean and rebuild your project, and you should be good to go.

+19
source

In my case, the app.manifest file was extracted. This file is located in my Winforms project in the Properties folder. I selected this file from the Pending Changes window and Canceled Pending Validation. After that, the assembly succeeded. This happened in Visual Studio 2008.

+1
source

Worked for me: Properties => Build => Create build serialization => change from Auto to Off

-1
source

Source: https://habr.com/ru/post/918414/


All Articles