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,