DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2006
    Posts
    5

    How to configure .NET VS 2003 to use .net 2.0

    Hi there,

    I have .net visual studio 2003 installed on my windows 2003 machine,
    along with .net 1.1 framework/sdk.

    I'd to like to be able to run my app aslo against .net 2.0 (besides 1.1),
    so I have downloaded .NET 2.0 framework and SDK, and have them
    installed. Then I tried to modify file:
    C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat

    to switch from 1.1 to 2.0:
    -----
    @SET FrameworkVersion=v1.1.4322
    @SET FrameworkSDKDir=C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1
    -----
    to:
    -----------
    @SET FrameworkVersion=v2.0.50727
    @SET FrameworkSDKDir=C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v2.0
    ----

    after refreshing the environment and restarting vs 2003, and rebuilding the app,
    somehow the app is still linked to .net 1.1 SDK and loads .net 1.1 framework.

    Could someone tell me if it is possible at all to get VS .net 2003 to work with
    both .net 1.1 and 2.0, if so how can that be done in detail?

    Thanks,

    -jen w.

  2. #2
    Join Date
    Dec 2004
    Posts
    163
    Jen,

    VS 2003 works with .Net 1.1 and VS 2005 works with .Net 2.0.

    You cannot get VS 2003 to work with .Net 2.0.

    Kerry Moorman

  3. #3
    Join Date
    Dec 2003
    Posts
    2,750
    As Kerry mentioned, the Visual Studio development environment is hard wired to a specific version of the .NET Framework. However, it is possible to run your compiled application assembly under a different (forward compatible) version of the .NET Framework. How this is implemented will depend upon what type of application you are developing (ASP.NET, VB.NET or C#, etc).
    Paul
    ~~~~
    Microsoft MVP (Visual Basic)

Similar Threads

  1. Replies: 0
    Last Post: 05-28-2003, 10:34 AM
  2. Replies: 0
    Last Post: 05-20-2003, 07:06 AM
  3. ANN: Release of DeKlarit 2.0 for Microsoft Visual Studio .NET
    By Maria Jose Serres in forum dotnet.announcements
    Replies: 0
    Last Post: 02-19-2003, 02:54 PM
  4. Release of DeKlarit 2.0
    By Maria Jose Serres in forum dotnet.announcements
    Replies: 0
    Last Post: 02-18-2003, 01:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links