473,396 Members | 1,895 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

[VS2008] Specifying Target Framework Version

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
Dec 7 '07 #1
3 1942
>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
Dec 7 '07 #2


"David Lowndes" wrote:
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
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

Dec 7 '07 #3
>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
Dec 8 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: John | last post by:
Hi What are the advantage of vs2008 over vs2005? Thanks Regards
7
by: Cirene | last post by:
I used to use the Web Deployment Project with my VS2005 projects. Now I've fully upgraded to VS2008. Do I have to download a new version of the Web Deployment Project? If so where can I find...
8
by: Joe Withawk | last post by:
I have a solution consisting of a c# project as win application and a c++ project as classlibrary. Both are .net 2.0 The classlibrary handles some loading of quicktime movies, but that should not...
20
by: Iouri | last post by:
Hi everybody, We are currently using VS2003 and now we are in the porcess of upgrading to the next Visual Studio version. Does somebody have a real life experience with VS2008? My boss wants to...
5
by: zacks | last post by:
I am working on an application in VS2008. I have set the target framework to 2.0. I distributed the app to a coworker in MSI format. When he tried to install it, he was told that he needed to...
4
by: K Viltersten | last post by:
We have a project working well today and it's developed on VS2005. Since we're planing to switch to VS2008 in a soon future, i've been trying to move the project to VS2008 Express (Web...
8
by: Frank Hauptlorenz | last post by:
Hello out there, I changed an existing and good working webservice from an wsHttpBinding to an NetTcpBinding. This is working (after trying some time) and has real a better performance! But...
4
by: | last post by:
Hi, After installing SP1 for VS2008 and SP1 for .NET 3.5 we get the following warning in a VS2005 build: error CS0618: Warning as Error: 'System.Windows.UIElement.BitmapEffect' is obsolete:...
3
by: =?Utf-8?B?SmFsaWw=?= | last post by:
Please let me know how to configure VS2008 to use .Net Framework 3.5. My environment is using 2.0 and I don't know how to change it. Thanks, -Jalil
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.