Re: [Mono-dev] Running a .NET 3.5 exe

2008-07-31 Thread Miguel de Icaza
 OK I see what you saying, what I need to get is we now reference the
 WindowsBase.dll assembly to get access to the new ZIP file functionality
 and I need to get mono to resolve this.

That component of WindowsBase has not been implemented.

WindowsBase is also not currently part of Mono, but part of Olive, which
is still unreleased.

 Russell
 
 -Original Message-
 From: Jb Evain [mailto:[EMAIL PROTECTED] 
 Sent: 28 July 2008 14:45
 To: Russell Kay
 Cc: mono-devel-list@lists.ximian.com
 Subject: Re: [Mono-dev] Running a .NET 3.5 exe
 
 On 7/28/08, [EMAIL PROTECTED]
 [EMAIL PROTECTED] wrote:
  Well the issue is that I need to run nunit on the assembly (it is full
   of unit tests) and nunit is marked as a v2.0 assembly so to get it to
   load the v3.5 assembly I need to tell mono to use the 3.5 runtime
 
   I know the tests should be using only code that mono implements
 (within
   olive) but I cannot see how to get it to run under the v3.5 runtime.
 
 Thing is that there's no such thing as a v3.5 runtime. .net 3.5 is a
 set of assemblies based on the 2.0 runtime. So you can safely invoke
 mono on your 3.5 assemblies.
 
 If running it fails, sending the error here would help to diagnose any
 issue.
 

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Running a .NET 3.5 exe

2008-07-28 Thread Jb Evain
Hey,

On 7/28/08, [EMAIL PROTECTED]
 mono –runtime=3.5 nunit-x86.exe

You're mixing runtime versions and .net release versions. Simply run

mono yourassembly.exe

The assembly name containing -x86.exe looks suspicious though, as it
sounds it could contain pieces of native code.

-- 
Jb Evain  [EMAIL PROTECTED]
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Running a .NET 3.5 exe

2008-07-28 Thread russell.kay
Well the issue is that I need to run nunit on the assembly (it is full
of unit tests) and nunit is marked as a v2.0 assembly so to get it to
load the v3.5 assembly I need to tell mono to use the 3.5 runtime

I know the tests should be using only code that mono implements (within
olive) but I cannot see how to get it to run under the v3.5 runtime.

Russell

-Original Message-
From: Jb Evain [mailto:[EMAIL PROTECTED] 
Sent: 28 July 2008 14:33
To: Russell Kay
Cc: mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] Running a .NET 3.5 exe

Hey,

On 7/28/08, [EMAIL PROTECTED]
 mono -runtime=3.5 nunit-x86.exe

You're mixing runtime versions and .net release versions. Simply run

mono yourassembly.exe

The assembly name containing -x86.exe looks suspicious though, as it
sounds it could contain pieces of native code.

-- 
Jb Evain  [EMAIL PROTECTED]


This email has been scanned by the MessageLabs Email Security System


DISCLAIMER

This message and any attachments contain privileged and confidential 
information intended for the use of the addressee named above. If you are not 
the intended recipient of this message, you are hereby notified that any use, 
dissemination, distribution or reproduction of this message is prohibited. 
Please note that we cannot guarantee that this message or any attachment is 
virus free or that it has not been intercepted and amended. The views of the 
author may not necessarily reflect those of Realtime Worlds Ltd.

 

Realtime Worlds Ltd is registered in Scotland, number 225628. Registered 
Office: 152 West Marketgait, Dundee, DD1 1NJ.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Running a .NET 3.5 exe

2008-07-28 Thread Jb Evain
On 7/28/08, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 Well the issue is that I need to run nunit on the assembly (it is full
  of unit tests) and nunit is marked as a v2.0 assembly so to get it to
  load the v3.5 assembly I need to tell mono to use the 3.5 runtime

  I know the tests should be using only code that mono implements (within
  olive) but I cannot see how to get it to run under the v3.5 runtime.

Thing is that there's no such thing as a v3.5 runtime. .net 3.5 is a
set of assemblies based on the 2.0 runtime. So you can safely invoke
mono on your 3.5 assemblies.

If running it fails, sending the error here would help to diagnose any issue.

-- 
Jb Evain  [EMAIL PROTECTED]
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Running a .NET 3.5 exe

2008-07-28 Thread russell.kay
OK I see what you saying, what I need to get is we now reference the
WindowsBase.dll assembly to get access to the new ZIP file functionality
and I need to get mono to resolve this.

Russell

-Original Message-
From: Jb Evain [mailto:[EMAIL PROTECTED] 
Sent: 28 July 2008 14:45
To: Russell Kay
Cc: mono-devel-list@lists.ximian.com
Subject: Re: [Mono-dev] Running a .NET 3.5 exe

On 7/28/08, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 Well the issue is that I need to run nunit on the assembly (it is full
  of unit tests) and nunit is marked as a v2.0 assembly so to get it to
  load the v3.5 assembly I need to tell mono to use the 3.5 runtime

  I know the tests should be using only code that mono implements
(within
  olive) but I cannot see how to get it to run under the v3.5 runtime.

Thing is that there's no such thing as a v3.5 runtime. .net 3.5 is a
set of assemblies based on the 2.0 runtime. So you can safely invoke
mono on your 3.5 assemblies.

If running it fails, sending the error here would help to diagnose any
issue.

-- 
Jb Evain  [EMAIL PROTECTED]


This email has been scanned by the MessageLabs Email Security System


DISCLAIMER

This message and any attachments contain privileged and confidential 
information intended for the use of the addressee named above. If you are not 
the intended recipient of this message, you are hereby notified that any use, 
dissemination, distribution or reproduction of this message is prohibited. 
Please note that we cannot guarantee that this message or any attachment is 
virus free or that it has not been intercepted and amended. The views of the 
author may not necessarily reflect those of Realtime Worlds Ltd.

 

Realtime Worlds Ltd is registered in Scotland, number 225628. Registered 
Office: 152 West Marketgait, Dundee, DD1 1NJ.
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Running a .NET 3.5 exe

2008-07-28 Thread Onur Gumus
Mono will allow only pure managed assemblies no matter the version is.
I doubt that WindowsBase.dll is a pure managed assembly.

On Mon, Jul 28, 2008 at 5:01 PM,  [EMAIL PROTECTED] wrote:
 OK I see what you saying, what I need to get is we now reference the
 WindowsBase.dll assembly to get access to the new ZIP file functionality
 and I need to get mono to resolve this.

 Russell

 -Original Message-
 From: Jb Evain [mailto:[EMAIL PROTECTED]
 Sent: 28 July 2008 14:45
 To: Russell Kay
 Cc: mono-devel-list@lists.ximian.com
 Subject: Re: [Mono-dev] Running a .NET 3.5 exe

 On 7/28/08, [EMAIL PROTECTED]
 [EMAIL PROTECTED] wrote:
 Well the issue is that I need to run nunit on the assembly (it is full
  of unit tests) and nunit is marked as a v2.0 assembly so to get it to
  load the v3.5 assembly I need to tell mono to use the 3.5 runtime

  I know the tests should be using only code that mono implements
 (within
  olive) but I cannot see how to get it to run under the v3.5 runtime.

 Thing is that there's no such thing as a v3.5 runtime. .net 3.5 is a
 set of assemblies based on the 2.0 runtime. So you can safely invoke
 mono on your 3.5 assemblies.

 If running it fails, sending the error here would help to diagnose any
 issue.

 --
 Jb Evain  [EMAIL PROTECTED]

 
 This email has been scanned by the MessageLabs Email Security System

 
 DISCLAIMER

 This message and any attachments contain privileged and confidential 
 information intended for the use of the addressee named above. If you are not 
 the intended recipient of this message, you are hereby notified that any use, 
 dissemination, distribution or reproduction of this message is prohibited. 
 Please note that we cannot guarantee that this message or any attachment is 
 virus free or that it has not been intercepted and amended. The views of the 
 author may not necessarily reflect those of Realtime Worlds Ltd.



 Realtime Worlds Ltd is registered in Scotland, number 225628. Registered 
 Office: 152 West Marketgait, Dundee, DD1 1NJ.
 ___
 Mono-devel-list mailing list
 Mono-devel-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-devel-list

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Running a .NET 3.5 exe

2008-07-28 Thread Jb Evain
On 7/28/08, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 OK I see what you saying, what I need to get is we now reference the
  WindowsBase.dll assembly to get access to the new ZIP file functionality
  and I need to get mono to resolve this.

The Zip thing in WindowsBase is not implemented yet.

But if you simply want to reference it (let say you want to contribute
this part ;), you can compile using:

gmcs -pkg:olive -out:test.exe ...

and when running:

mono test.exe

The runtime will load WindowsBase from the GAC. If you've installed
olive properly of course.

-- 
Jb Evain  [EMAIL PROTECTED]
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list