Home All Groups Group Topic Archive Search About

Downgrading .Net 2 application to .Net 1.1

Author
11 Nov 2006 12:49 AM
anonymous
Hello all,

I have a C# application written using Visual C# 2005 Express. I believe it
uses some of the .Net 2 controls and so on.

I want to run this application on Linux using mono 1.2 (supports .Net 1.1).
What is the best approach to downgrade this application to use .Net 1.1 stuff?

Thanks
/kmk
Author
11 Nov 2006 1:06 AM
Arne Vajhøj
anonymous wrote:
> I have a C# application written using Visual C# 2005 Express. I believe it
> uses some of the .Net 2 controls and so on.
>
> I want to run this application on Linux using mono 1.2 (supports .Net 1.1).
> What is the best approach to downgrade this application to use .Net 1.1 stuff?

Compile it with 1.1 and fix the problems one by one.

BTW, mono is not 100% .NET 1.1 compliant as far as I know.

I think it would be best to get a Linux box, install the
correct version of mono on it and use that.

Arne
Are all your drivers up to date? click for free checkup

Author
11 Nov 2006 10:29 AM
docschnipp
"Arne Vajhøj" wrote:

> anonymous wrote:
> > I have a C# application written using Visual C# 2005 Express. I believe it
> > uses some of the .Net 2 controls and so on.
> >
> > I want to run this application on Linux using mono 1.2 (supports .Net 1.1).
> > What is the best approach to downgrade this application to use .Net 1.1 stuff?
>
> Compile it with 1.1 and fix the problems one by one.
>
this isn't the actual problem. references are pointing in VC# 2005 to .NET
2.0 libraries, but the references need to be changed somehow. Of course, if
the OP uses 2.0 components, he is lost for now.

doc
Author
11 Nov 2006 3:02 PM
Emil
>> > I want to run this application on Linux using mono 1.2 (supports .Net
>> > 1.1).
>> > What is the best approach to downgrade this application to use .Net 1.1
>> > stuff?
>>

Better rewrite your application in Java, you can be sure it will be 100%
portable then. Unfortunately Microsoft hasn't kept the promise to write his
..NET Virtual Machine on various operating systems, only on Windows. Waiting
for Mono 2.0 (which will allow to run .NET1.1 and 2.0 applications) is waste
of time.
Author
11 Nov 2006 3:19 PM
Massimo
"Emil" <x*@xx.pl> ha scritto nel messaggio
news:ej4olk$sr7$1@atlantis.news.tpi.pl...

> Better rewrite your application in Java, you can be sure it will be
> 100% portable then.

I think you're a bit misleaded here...


Massimo
Author
11 Nov 2006 3:22 PM
docschnipp
"Emil" wrote:

> Better rewrite your application in Java, you can be sure it will be 100%
> portable then. Unfortunately Microsoft hasn't kept the promise to write his
> ..NET Virtual Machine on various operating systems, only on Windows. Waiting
> for Mono 2.0 (which will allow to run .NET1.1 and 2.0 applications) is waste
> of time.

"Better rewrite everything in Python,Eifel,Haskel,Wasabi."     .....    NOT.

Actually Java is a dead end IMHO. Mono 1.2 implements the most things from
..NET 2.0 and Java is just not "run it everywhere". All heavily depends on the
classes you can use and .NET is just simply good. C#/.NET is much more
portable >for me< as Java will ever be when it comes to
Server/Desktop/Mobile/Embedded.

And it was not an helpful answer to the OP question.

doc
Author
11 Nov 2006 3:38 PM
Emil
>
> "Actually Java is a dead end IMHO. "
No, it isn't. Look at the latest Java 1.6 API specification - it solves all
issues reported in earlier versions.


Mono 1.2 implements the most things from  .NET 2.0 "

Yes, except Windows Forms 2.0. Build for instance application with single
Form and Menu Bar (or rather Menu Strip) and try to run it under Mono.

Don't think I hate C# - I like it very much, even write diploma work (don't
know how is it called in english) about C# and .NET, however I think that
..NET is perfect for writing Windows applications (C++ Builder alternative)
but for writing portable applications Java is still the best solution (maybe
it will change in the future).
Author
12 Nov 2006 12:02 AM
Arne Vajhøj
docschnipp wrote:
> "Emil" wrote:
>> Better rewrite your application in Java, you can be sure it will be 100%
>> portable then. Unfortunately Microsoft hasn't kept the promise to write his
>> ..NET Virtual Machine on various operating systems, only on Windows. Waiting
>> for Mono 2.0 (which will allow to run .NET1.1 and 2.0 applications) is waste
>> of time.

> Actually Java is a dead end IMHO. Mono 1.2 implements the most things from
> .NET 2.0 and Java is just not "run it everywhere". All heavily depends on the
> classes you can use and .NET is just simply good. C#/.NET is much more
> portable >for me< as Java will ever be when it comes to
> Server/Desktop/Mobile/Embedded.

Java 1.6 will hit the streets in a months or two. Java 1.7 is on
its way.

Java i still very widely used. http://www.itjobswatch.co.uk/default.aspx
claims 33000 Java jobs and 23000 C# jobs.

There are very little reason to not expect both Java and C# to
be alive and kicking in 10 years.

Java is rather "run it everywhere". 76000 unit test cases
and an established penalty of 20 M$ for calling something
Java that does not pass has an effect.

Arne
Author
11 Nov 2006 11:55 PM
Arne Vajhøj
docschnipp wrote:
> "Arne Vajhøj" wrote:
>> anonymous wrote:
>>> I have a C# application written using Visual C# 2005 Express. I believe it
>>> uses some of the .Net 2 controls and so on.
>>>
>>> I want to run this application on Linux using mono 1.2 (supports .Net 1.1).
>>> What is the best approach to downgrade this application to use .Net 1.1 stuff?

>> Compile it with 1.1 and fix the problems one by one.

> this isn't the actual problem. references are pointing in VC# 2005 to .NET
> 2.0 libraries, but the references need to be changed somehow. Of course, if
> the OP uses 2.0 components, he is lost for now.

I sure think it is.

Just because you have the other problem does not indicate
that the original poster has it.

Arne
Author
11 Nov 2006 7:28 PM
Larry Smith
----- Original Message -----
From: "anonymous" <anonym***@discussions.microsoft.com>
Newsgroups:
microsoft.public.dotnet.framework,microsoft.public.dotnet.languages.csharp
Sent: Friday, November 10, 2006 7:49 PM
Subject: Downgrading .Net 2 application to .Net 1.1


> Hello all,
>
> I have a C# application written using Visual C# 2005 Express. I believe it
> uses some of the .Net 2 controls and so on.
>
> I want to run this application on Linux using mono 1.2 (supports .Net
> 1.1).
> What is the best approach to downgrade this application to use .Net 1.1
> stuff?

This might be helpful (author is the program manager of the .NET CLR team).
His email address is also at the bottom (he answered my own question for
instance).

http://msdn.microsoft.com/msdnmag/issues/06/03/CLRInsideOut/

Bookmark and Share