The sizeof things is a known problem. I think it compiles fine on .NET 2.0I think we even have JIRA issue open for it.
On 7/28/06, sparky2708 <[EMAIL PROTECTED]> wrote:
Actually the activemq-dotnet project from CVS doesn't compile: D:\activemq\activemq-dotnet>nant NAnt 0.85 (Build 0.85.1869.0; rc2; 2/12/2005) Copyright (C) 2001-2005 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///D:/activemq/activemq-dotnet/nant.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: build [tstamp] Friday, July 28, 2006 1:35:30 PM. init: debug: set-framework-configuration: set-net-1.1-framework-configuration: create-common-assemblyinfo: [attrib] Setting file attributes for 1 files to Normal. [attrib] Setting file attributes for 1 files to Normal. build-main: [echo] Build Directory is D:\activemq\activemq-dotnet/build/net-1.1.win32/a ctivemq-dotnet-4.0-debug [csc] Compiling 176 files to 'D:\activemq\activemq-dotnet\build\net-1.1.wi n32\activemq-dotnet-4.0-debug\bin\activemq-dotnet.dll'. [csc] d:\activemq\activemq-dotnet\src\main\csharp\ActiveMQ\Commands\Active MQTextMessage.cs(61,61): error CS0233: sizeof can only be used in an unsafe cont ext (consider using System.Runtime.InteropServices.Marshal.SizeOf) [csc] d:\activemq\activemq-dotnet\src\main\csharp\ActiveMQ\Commands\Active MQTextMessage.cs(64,54): error CS0233: sizeof can only be used in an unsafe cont ext (consider using System.Runtime.InteropServices.Marshal.SizeOf) BUILD FAILED D:\activemq\activemq-dotnet\nant.build(181,6): External Program Failed: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe (r eturn code was 1) Total time: 2.4 seconds. -- View this message in context: http://www.nabble.com/ActiveMQ-.NET-binary-tf2016637.html#a5543980 Sent from the ActiveMQ - User forum at Nabble.com.
-- Regards, Hiram Blog: http://hiramchirino.com
