Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi. If anyone has any answers or insight into this, it would be MOST appreciated. Right now, my computer has Visual Studio.NET installed (2002?? - it says "Microsoft Development Environment 2002") with .NET Framework 1.0 SDK installed on it. I just installed the 1.1 Redistributable Package and .NET Framework 1.1 SDK this afternoon. One of the reasons I did so was to be able to use the new System.Data.OracleClient namespace and children available in 1.1 to connect to an Oracle database in a web application.

 

However, when I create a new project in VS.NET (ASP.NET Web Application for VB.NET), that namespace is not available to me; and going to the Help menu of VS.NET and looking at "About Microsoft Visual Basic.NET", it still shows the old .NET Framework version (1.0.3705) instead of the newly-installed 1.1.

 

Is there something I'm missing here? Does anyone have any suggestions or ideas as to what I might be doing wrong? Any help would be most appreciated! Thanks in advance! :D

3,450,897,223 posts away from crazy...
Posted
So that basically means that 2002 won't recognize any of the code used in 1.1 then? So I'm basically left with either getting VS.NET 2003 or using 1.0 (for the time being) and downloading the "extras" I want to use with 2002 (i.e., Oracle connectivity availability, Mobile Internet Toolkit, etc.), huh? Thanks, Plaus, for the quick response!
3,450,897,223 posts away from crazy...
Posted
is that true? i got 2002 version and installed 1.1 sdk but i think i would get an error if i compile 1.1 on 2002 if that is really true, but i am not certain about my answer..
Posted

Yep...

 

Yep, from what I've recently read (and based on my previous question), you won't be able to compile apps using .NET Framework 1.1 in VS.NET 2002. Looks like we're both in a similar boat. :)

3,450,897,223 posts away from crazy...
Posted

You can always just compile your project from the command line and that way get the 1.1 framework.

 

My build machine has VS2002 and 1.1SDK and our Nant scripts compile at 1.1 framework just fine.

 

Although if you can't see the namespace you might as well just code you classes in UltraEdit or something after you use VS2002 to design your forms.

 

Any reason you can't upgrade to 2003 and run side-by-side installs? I recall the upgrade being fairly cheap.

  • 4 weeks later...
Posted (edited)

Update Framework to 1.1

 

I'm working on a PrintDialog issue with Microsoft and received the following advice from a GDI tech at Microsoft:

 

By the way, just in case you don�t have 1.1, there are two ways to get it...

 

1 � You can get Visual Studio .Net 2003 which includes 1.1 and which automatically builds apps against the 1.1 Framework.

 

or

 

2 �

 

A - Download version 1.1 of the Framework from our web site...

 

http://msdn.microsoft.com/netframework/technologyinfo/redist/default.aspx

 

B - Then, configure your application to use 1.1 (instead of 1.0). See the �Configuring Windows Client Applications� section of...

 

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetdep/html/sidexsidenet.asp

 

In a nutshell, using this sample, you would create a small file in the same directory as your EXE called �yourexename.exe.config� containing...

 

<configuration>

<startup>

<supportedRuntime version="v1.1.4322" />

<supportedRuntime version="v1.0.3705" />

</startup>

</configuration>

 

 

Assuming v1.1.4322 and v1.0.3705 are the versions you have on your system. You can check by going to the windows\microsoft.net\framework directory and viewing the subdirectory names there.

 

I then added a label to the About form to show the version of the .NET Framework we are using:

   lblVersion.Text = ".NET Framework Version " & Environment.Version.Major _
     & "." & Environment.Version.Minor _
     & "." & Environment.Version.Build

Edited by rustyd
rustyd

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...