Solved

How can I make sure that I am developping for .NET Framework 2.0 when I a working in visual studio 2008

Posted on 2008-10-30
2
160 Views
Last Modified: 2013-11-26
How can I prevent intellisence from suggestion code that is incompatible with version 2.0 of the dotnet framwork.
0
Comment
Question by:itbabe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 53

Accepted Solution

by:
Dhaest earned 500 total points
ID: 22840720
The vs2008 intellisence won't suggest any code that is incompatible with version 2.0, because this is the least version you can develop against

Or did you select the 3.5 framework and on the client there is only a 2.0 environment ? Then you should reselect your framework: Open up your project properties.  In the compile tab press the Advanced Compile Options button.   You will find a target framework combobox on the form that is displayed. You can select ,net 2.0, 3.0 or 3.5
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 22841552
in the properties of your project, change your target to 2.0.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question