Click here to Skip to main content
15,885,156 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have an application that has a GUI project written in VS2008 that interfaces to several dlls also originally created in VS2008 C#. I recently upgraded my VS to 2010. When I imported the dll projects to VS2010 everything seemed to go smoothly and they compiled properly with a targeted Framework of 3.5. However, when I try to run the GUI, which is still compiled under VS2008, I get runtime errors when the GUI tries to instantiate the class defined in the dlls. Do I have to convert the GUI to a VS2010 project as well? What am I missing here?

Thanks for any help.

Preston
Posted
Comments
Sergey Alexandrovich Kryukov 8-Feb-11 13:56pm    
Catch exception and dump exception information, show the code when exception was thrown.

1 solution

You might try deleting and then re-adding the DLL references to your GUI project.
 
Share this answer
 
Comments
Steve Maier 8-Feb-11 14:03pm    
I am having large issues with this too and readding the DLL references seems the best way.
Preston Phillips 8-Feb-11 14:19pm    
That did the trick. Thank you very much!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900