Sorry if the answer was given earlier.
Something happened to my VB.NET VS2010 SP1 environment. I successfully worked on compiling and publishing Project A through ClickOnce for a while, and then tried to publish Project B and got an error:
Could not find file 'obj \ Debug \ Program.exe.manifest' in microsoft.common.targets file. When I look at the microsoft.common.targets file, I get> 101 warning.
Help informs me of the MSBuild Error MSB3113 error.
Now ALL projects behave the same, including the one I published.
Things I tried:
Create a new project in a new location. same error at time of publication.
I moved both projects to another machine and published them without any problems.
I reinstalled VS2010 from scratch to another location on the problem machine, and the error reappears (the problem machine is Vista, normal, this is Windows7 prof).
Tried all deployment options, unsigned, signed, etc. All projects are in VB.NET, and it is unclear how to disable the inclusion of the manifest using the settings of VS2010. I tried to do this by changing the project information in the .vbproj file to
<PropertyGroup> <GenerateManifests>false</GenerateManifests> </PropertyGroup>
no effect.
The project is rarely built successfully, but then not published. I have not yet fully understood the model for this.
Any advice appreciated
Peter