managed / unmanged C++ projects and C# projects in one VS 11 solution

Locked managed / unmanged C++ projects and C# projects in one VS 11 solution

  • Monday, August 20, 2012 8:07 PM
     
     

    I have a VS 2010 solution with a managed / unmanged C++ project 'cppOptimize' and some C# projects accessing manged C++ classes of cppOptimize in one solution. No Problem with VS 2010. After conversion to VS 11 (opening the solution with VS 11) the C+ project was not accespted by the C# projects: error message "Der Typ- oder Namenspacename 'cppOptimize' konnte nicht gefunden werden. (fehlt eine Using-Direktive oder ein Assemblyverweise?). But the using-statement and the reference to the C++-project are added. Compared to VS 2010 the c++ project is listed twice in the list of references. I tried adding the reference as project and as file, but nothing worked.

    So adding a manged / unmanged C++ project to a C# project, what are the differences comparing VS 2010 and VS 11?

    Thanks Karl

All Replies