using 1.1 with 2005

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all, i got a bit of a stupid question, but there you go...

I wrote some pretty simple apps using visual studio 2005 .net 2 but i need
them to work with 1.1. I only did them in 2 because that was the only tool i
had available at the time but now need them to work with 1.1 i didnt use any
new functionality in 2.0

Any ideas how i can recompile in 2005 usnig 1.1 or will i have to D\L VBS
2003??

Thanks a lot!

Richee.
 
The question I just have to ask is, why do you need a Framework 2.0
application to work with Framework 1.1?

Installing Framework2.0 on the target machine is a no-brainer.
 
Hi Stephany, thanks for replying. Its because 2.0 isnt supported in the firms
environment. i only wrote the applications in 2.0 cos i only had access to
2.0.

Cheers,
richee
 
Installing Framework2.0 on the target machine is a no-brainer.

In fact, the .Net Framework installation can be easily added to any Visual
Studio.Net 2005 setup project. It requires virtually no interaction (other
than agreeing to the EULA) on the part of the user.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Show me your certification without works,
and I'll show my certification
*by* my works.
 
Guys, i think things have got a little mixed up here :0o

I have an app in 2.0 and in the customer environment 2.0 is not an option
they only want to use 1.1.
Is there a way to compile a 2.0 project in 1.1 (it doesnt use any new 2.0
components).

I was going to just download VB studio 2003 and copy and paste the code
accross but didnt want the hassle of D/Ling and instaling 2003 if i could do
it in 2005...

Cheers,

richee.
 
I dug around in the configuration settings and didn't find anything.

You would definately be safest taking the time to d/l 2003, cut and paste
and compile that way. I think you could expose yourself to a lot of
potential headaches trying to make 2005 backward compatible with 1.1
framework. Plus, you would be 100% sure that your app was 1.1 compatible, as
the 2003 studio would catch any new syntax at compile time.

Sounds like a good "lessons learned", make sure you know the target
environment before development begins.
 
No and you'll likely have more to do than cut and paste if you are using
something from 2.0 that is not in 1.1

Each version of VS.NET targets a specific version of the .NET framework.
AFAIK the ability to run an application under previous version of the
framework is not supported with 2.0 as it's likely an application would use
anyway something that is 2.0 specific.
 
From what I've noticed it pretty much depends on how you've written your code
for .NET 2.0.

You may have noticed that when developing classes for .NET 2.0 they're
infact Partial Classes meaning that the code you're writing is building on a
framework of existing code that is part of the .NET 2.0 framework. These
weren't implemented in .NET 1.0 or .NET 1.1 so you may have to change your
code.

You can however use VS2005 write .NET 1.1 compatible code. You might want to
check out this thread on Channel 9:

http://channel9.msdn.com/ShowPost.aspx?PostID=38724

If your code is written in a .NET 1.1 format then there's nothing to stop
you from manually building the code using the .NET 1.1 compiler, afterall one
of the selling points for the .NET Platform is that developers do not need to
use the "Microsoft" IDE to develop .NET applications but instead can write
them using a plain text editor such as notepad then run the code through a
..NET 1.1 compiler.

I hope all this helps.

Regards,
 
Back
Top