Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi all

 

My project is written using .net 1.0.

 

I have .net 1.0 and .net 1.1 installed on the server how can I be sure that my 1.0 project is reading the correct framework

 

Also if I want to change my project from 1.0 to 1.1 what is the best way of doing this?

 

cheers

ZuBiE

Posted

1.0 is compatible with 1.1

1.1 is NOT compatible with 1.0 (or at least... yes... but not all feature... better not take chances)

 

I don't think you'll have to do much things to switch version. Look in your .sln ... there should be something that say "1.0" or "1.1" so... it's the only difference I know (apart from additional features) that you'll need to change.

"If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown

"Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me

"A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend.

C# TO VB TRANSLATOR

  • Administrators
Posted

You could always just remove 1.0. Applications compiled against 1.0 should work with 1.1. Also you will find ASP.Net is probably working with the latest version installed by default.

 

However if you are running VS.Net 2002 it will require framework 1.0 to be present so only consider removing it if you are running VS.Net 2003.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

I have VS 2002, can it run with .net 1.1??

 

I think someone told me i can overwrite 1.0 with 1.1 even tho i have VS2002...but when I tried it, it just installed it side by side..

Posted
I had VS.NET 2002 and upgrade from 1.0 to 1.1 (1.0 removed)... never got it to work ever... so better keep your version dude.

"If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown

"Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me

"A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend.

C# TO VB TRANSLATOR

Posted

ah, thanks for telling me..I'm the only developer here..if i mess up something,no one can help me...

 

So if I want 1.1, it's better to get 2003? instead of keeping 2002 and trying to get it to work with 1.0?

Posted

If you get 2003... you'll be able to compile project for both version of the framework.

If you keep 2002... you'll have to stick to 1.0 but will still work on Framework 1.1.

 

If you're happy with 2002 and it work well... why change ?

There was some bug correction, new features (didn't see any... PM me to tell me which are new because I didn't see any).

 

have a good day... the choice is yours (price is high for VS.NET... so... your money... your decision)

"If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown

"Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me

"A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend.

C# TO VB TRANSLATOR

Posted

Hey again

 

Well I have VS 2002 .. I'm happy with it and its working grand

I do however have a problem with my server

 

I have a screen for adding/amending users

This works fine so my Web services seem to be working

 

when I try and run a screen with a CrystalReportsViewer on it I recieve an error

"Error executing child request for repViewer.aspx"

 

anyone got any ideas?

have I missed anything in my install package?

 

cheers

ZuBiE

Posted

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/netframework/technologyinfo/redist/default.aspx

 

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

 

It now shows that I'm using version 1.1.4322.

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...