Hi have a visual studio custom webpart solution build in 2005. This solution does not have a .wsp file.when i open the solution in visual studio 2010 and build it - it succeeds but when i try to run to it - I get the error below.

Unable to start the project 
c:/project/Companyname/trunk/solution name/bin/xxx.dll

Any suggestions?

1 Answer 1


I would suggest creating a new empty sharepoint project template in visual studio 2010, add the old code files and any other files, build the project and when you want to get the wsp - right click on solution explorer and click on package,

otherwise you may create the wsp manually using post build command

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.