Framework Version Compatibility

J

Jeff

Hi -

I have a VB.NET Windows Forms application that I developed using MS Visual
Studio .NET Professional 2003. I'd like the app to be able to run with
either 1.1 or 1.0 of the .NET Framework.

It runs fine with .NET Framework 1.1. When I try to run it on a machine
with .NET Framework 1.0 installed (without .Net Framework 1.1), the
following error is displayed:

"C:\WINNT\Microsoft.NET\Framework\v.1.1.4322\mscorwks.dll could not be
loaded"

Obviously, it's looking for 1.1. I have the following section within the
<configuration></configuration> tags of my app.config file:

<startup>
<supportedRuntime version="v1.1.4322" />
<supportedRuntime version="v1.0.3705" />
</startup>

Is there some other setting that I've missed? How can I have my app
compatible with either version of the .NET Framework??

Thanks for your help.

- Jeff
 
C

Cor Ligthert

Jeff,

Visual studio Net 2003 programs will only run with Net1.1 and Net2.0
(However AFAIK can you set in Net 2003 that it has to behave as VS2002 and
miss than of course the Net1.1 features)

I hope this helps,

Cor
 
J

Jeff

Thanks Cor, but ...

In Project Properties (under "Build"), I've selected "Both Microsoft .NET
Framework v1.1 and v1.0 (advanced)" as the versions of the runtime that I
wish to support. That same version dialog says "It is possible to configure
your application to run on .NET Framework v1.0."

I don't *think* I'm using 1.1 features (but I obviously haven't been able to
test that).

What else must/can I do to configure my application "to run on .NET
Framework v1.0?" Or, as you mentioned, how can I set VS2003 to behave as
VS2002?

- Jeff
 
C

Cor Ligthert

Jeff,

In Project Properties (under "Build"), I've selected "Both Microsoft .NET
Framework v1.1 and v1.0 (advanced)" as the versions of the runtime that I
wish to support. That same version dialog says "It is possible to
configure
your application to run on .NET Framework v1.0."
That is all I know as well

Cor
 

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