Compile with different framework?

R

Russell Gibson

Hi

I have created an ASP.Net web app using Visual Studio 2002
and .Net framework V 1.0.

There is a bug fix I need in Framework V 1.1.

Do I have to recompile my application with Framework V 1.1
(if so do I need Visual Studio 2003 - if I don't how do I
tell it to re-compile with V 1.1 and not V 1.0).

If I don't have to re-compile is it enough to include
a 'config' file and force my application to use V 1.1 if I
have both versions of the framework installed on my server.

Regards
Russell Gibson
 
G

Guest

You've sort of hit the nail on the head. VS2002 uses
framework 1.0 and VS2003 uses framework 1.1. If you
recompile the project in VS2003 then that will do the
trick.

However - I believe that once you open a project and
recompile it in VS2003 you won't be able to open it in
VS2002.

Hope this helps
Ben
 
P

phoenix

You'll have to recompile it. The problem is VS.Net 2002 doesn't work with
V1.1. I don't think it's worth buying the new version just so that you can
recompile it. Try recompiling it with the help of commandline tools or with
a freeware editor like #develop.

Yves
 
M

Michael Giagnocavo [MVP]

If you install V1.1 on the server, then your app will run with the v1.1
framework. This is assuming the bug is in the base class libraries. In
ASP.NET, only one version gets loaded so if you install v1.1 and make sure
it's registered (aspnet_regiis) then you should be set.
-mike
MVP
 

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