How do I start a MANAGED C++.NET application in 2003 version?

  • Thread starter Thread starter Peter Oliphant
  • Start date Start date
P

Peter Oliphant

In the 2002 version of VS C++.NET if I wanted to create a new Managed C++
application I would got to "New Projects", then select "C++ Projects," then
"Managed C++ Application".

I recently upgraded to 2003, and there is no Managed C++ application option
given! Where did it go, and how do I create a new Manage C++.NET Application
in the 2003 version?

As a side note, WHY was this changed? It use to be simple to open a Managed
C++ project, now I'm totally lost as to how to do it...
 
Peter Oliphant said:
I recently upgraded to 2003, and there is no Managed C++ application
option given! Where did it go, and how do I create a new Manage C++.NET
Application in the 2003 version?

Choose New->Blank Solution from the menu.

Then highlight the folder named "Visual C++ Projects"

Next highlight the sub-folder named ".Net"

In the right pane you will (should?) find icons for a half-dozen .Net
project types. If you don't want the wizard's "help" here just choose the
empty project option.
As a side note, WHY was this changed?

I don't know.
It use to be simple to open a Managed C++ project, now I'm totally lost as
to how to do it...

FWIW, I think I remember hearing that creating a new project is something
that VS2005 (out in about 2 weeks) does better than 2003.

Regards,
Will
 
In the right pane you will (should?) find icons for a half-dozen .Net
project types. If you don't want the wizard's "help" here just choose the
empty project option.

Indeed, but none of them are Managed C++ application options (that I can
find, unless it's labeled something besides "Managed C++ Application")! In
2002 if you did this there was one option clearly labeled "Managed C++
Application". No such option anymore in 2003 that I can find...

What I do now is 'cheat'. I use 2002 (still installed...hehe) to create a
"Hello World" Managed C++ Application using its very-easy-to-find option in
this regard, then re-open it in 2003. When I do, it comes up with the
'conversion to 2003 not reversible" warning, after which I know have a
Managed C++ application that is usable is 2003. But I really shouldn't have
to do it this way... : )

[==P==]
 
Peter Oliphant said:
Indeed, but none of them are Managed C++ application options (that I can
find, unless it's labeled something besides "Managed C++ Application")! In
2002 if you did this there was one option clearly labeled "Managed C++
Application". No such option anymore in 2003 that I can find...

Well, I'm not going defend the ergonomics.

And I won't tell you how long it took me how cajole the wizard into creating
an empty project the _first_ time I tried it because it would embarrass me -
and I have been using VC++ for about a dozen years. :-(

But a .Net application under the C++ heading is one that uses Managed
Extensions for C++ and vice-versa.

In other words a Managed C++ application is not a lot more than a C++
application in which the "Use Managed Extensions" is set from the IDE menu
item Project->Properties->General. If you choose one of the .Net project
templates for C++ then the wizard asserts the option.
But I really shouldn't have to do it this way... : )

Right. You don't.

Regards,
Will
 
Back
Top