简体   繁体   中英

.Net c# visual studio 2008 error

I have the project solution bin in below location for dll, pdb . my build is getting failed due to below error.

C:\Users\myusername\Documents\Visual Studio 2010\Projects\mysolution\bin\debug\CommonServices.pdb

C:\Users\myusername\Documents\Visual Studio 2010\Projects\mysolution\bin\debug\CommonServices.dll  

Error

The command "C:\\Users\\myusername\\Documents\\Visual Studio 2010\\Projects\\mysolution\\bin\\debug\\CommonServices.dll" exited with code 3.

I tried by cleaning the solution and build / Rebuild. Either way, it is not given result.
Please help.

A couple of things to consider and try - in the title, it says VS 2008 error, but the path points to 2010, are you sure it is pointing to the right reference for 2008?

If it is, try closing Visual Studio, deleting the pdb file. This will eliminate any pdb issues with building, as the pdb file will be recreated.

Then also delete the .suo file, this will also be recreated. This is to eliminate any build issues that may be caused by Visual studio version conflict.

Another thing to check is if there is any build events in your project that may be triggering this error, go into project properties and remove/edit any build commands.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM