.NET 2005 installed, my .NET 2003 C++ manage applications fail to build

D

David Alloza

Hello,
I have exactly the same problem as this guy, but in the case of a ( final )
commercial version of .NET2005.

http://216.239.59.104/search?q=cach...time::InteropServices::DispIdAttribute'&hl=fr

I copy/paste his description:

"I have both version of Visual Studio installed, but since
installing 2005 beta, I can no longer build managed C++
apps in 2003. Even if I use the standard wizard to create
a simple Windows Forms application, it won't build - in
this case I get the following errors:-
AssemblyInfo.cpp(11) : error C3246: 'System::String' :
cannot inherit
from 'System::Runtime::InteropServices::DispIdAttribute'
as it has been declared as '__sealed'
stdafx.cpp(0) : see declaration
of 'System::Runtime::InteropServices::DispIdAttribute'
AssemblyInfo.cpp(11) : error C2890: 'System::String' :
a __gc class can only have one non-interface base class
'System::Object' is declared to be a __gc base
class of 'System::String'
'System::Runtime::InteropServices::DispIdAttribu
te' is declared to be a __gc base class
of 'System::String'

Any ideas what might be causing this? "

If anyone can help me..
regards,
David ALLOZA.
 
D

David Alloza

We have found the origin of the problem.
This occur only for console games programmeurs who use Visual Studio ProDJ
integration.
In case of .NET2003 and .NET2005 installed on the same computer, if you have
an SN Sytem Prodj integration installed, yours C++ Manage (.NET 2003 )
applications fail to build.
You must remove your ProDJ integration to fix the problem, and all work
fine.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top