[VS2008] Specifying Target Framework Version

C

CMWoods

Is there a way to specify which .Net Framework version should be targeted
when compiling a C++/CLI managed assembly?

I see that VS2008 includes an easy way to specify which framework version
should be targeted when creating C# .Net Assemblies but I can't figure out
how to do the same thing for C++/CLI Managed Assemblies.

Or am I missing something fundamental and the C++/CLI assembly compiled with
VS2008 will work "automagically" with the .Net Framework v2.0?

TIA,

-CMWoods
 
D

David Lowndes

Is there a way to specify which .Net Framework version should be targeted
when compiling a C++/CLI managed assembly?

I see that VS2008 includes an easy way to specify which framework version
should be targeted when creating C# .Net Assemblies but I can't figure out
how to do the same thing for C++/CLI Managed Assemblies.

Or am I missing something fundamental and the C++/CLI assembly compiled with
VS2008 will work "automagically" with the .Net Framework v2.0?

It's taken a bit of finding, but thankfully it is there:

In your project's property pages, Common Properties, Framework and
references - then on the page as "Targeted Framework".

Dave
 
C

CMWoods

David Lowndes said:
It's taken a bit of finding, but thankfully it is there:

In your project's property pages, Common Properties, Framework and
references - then on the page as "Targeted Framework".

Dave

Dave,

Many thanks! I've been developing native C++ for so long that I only combed
over the "Configuration Properties" section. I never thought to look in the
other section!

-CMWoods
 
D

David Lowndes

Many thanks! I've been developing native C++ for so long that I only combed
over the "Configuration Properties" section. I never thought to look in the
other section!

I didn't either! I found it by accident while fumbling around in
disbelief that there didn't seem to be any setting for it :)

Dave
 

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