.Net Framework Compatablilty

G

Guest

I have a program written for the .Net Framework 1.1

I have distributed to someone with Vista OS. They say it will not run. Do
they need the 1.1 framework or is the 2.0 or 3.0 compatible? If they do
instll the 1.1 framework will this affect their configuration?
 
C

Communikator

Give them the .NET 1.1 and all will be fine. I have all the three versions
on my Vista and it seems to like them finely. The only issue was with web
applications, as some may explicitly need the corresponding ASP.NET version
under which they have been created. But if it's about desktop apps, then
there should be no problem. Just install .NET 2.0 "side-by-side" with 1.1 on
your PC and see that you can develop for both versions. Cheers
 
A

Andre Da Costa[ActiveWin]

Depends, if an application targets only the 1.1 version, it will have some
issues working under 2.0 and 3.0.
 
G

Guest

Obviously, a targeted 3.0 will not work with 2.0 or 1.1. I understand this.
But are you saying, I need to create 3 different versions of my program so it
may work with 1.1, 2.0 and 3.0? How could Microsoft NOT create backwards
compatibility? This is a Demo of my program and I don't want customers to
have to update their system just to try my product?

Does anyone have information on what parts do not work for 1.1 framework
targeted program or a 3.0 framework?
 
A

Andre Da Costa[ActiveWin]

I think you need to post this issue in a more developer savvy newsgroup:
microsoft.public.vsnet.general
 
D

Daniel F Valot

Eric,

Vista only includes .net2 and .net3, if your program need .net1.1, it must
be added to the system.

Daniel,

 
A

Andrew McLaren

Eric said:
I have a program written for the .Net Framework 1.1
I have distributed to someone with Vista OS. They say it will not run. Do
they need the 1.1 framework or is the 2.0 or 3.0 compatible? If they do
instll the 1.1 framework will this affect their configuration?

It would depend on exactly why your app does not run, on Vista. What error
are they getting? Is it related to version of .NET Framework, or some other
compatibility issue? Have you tested it on Vista yourself? Have you tested
your app on .NET Framework 2.0?

An application written for .NET Framework 1.1 can - in general terms - run
on .NET Framework 2.0 and 3.0, with no 1.1 runtime required. It *won't* run
on these more recent versions, if:

- you have a manifest which specifically requires version 1.1

- .NET Framework 2.0 contains breaking changes which affect your code.

For a list of breaking changes in 2.0, see:
http://msdn2.microsoft.com/en-us/netframework/aa570326.aspx

Vista has .NET Framework 3.0 built-in. Version 3.0 is actually the same CLR
Runtime as version .20; it just adds extra bits like WCF (Indigo), WPF, etc.

There are mountains of information about this in MSDN. A good place to
start:

Microsoft .NET Framework 1.1 and 2.0 Compatibility
Development and Deployment Best Practices
http://msdn2.microsoft.com/en-us/library/ms994381.aspx

Either you need to write your code in a way which is portable across
versions, or your customers need to install the necessary CLR Runtime. .NET
Framework 1.1 runs fine on Vista, as long as you have .NET Framework 1.1 SP1
installed.

More good info here:
Migration from .NET Version 1.1 to 2.0
http://blogs.msdn.com/kcasada/archive/2007/05/15/migration-from-net-version-1-1-to-2-0.aspx

Hope it helps,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top