James.Strachan wrote:
>
> Could you post the error you get please? I'm sure we can fix it pretty
> quickly.
>
> --
>
> James
> -------
> http://radio.weblogs.com/0112098/
>
>
I use Nant to build the amq .net src code.
the following are the error messages:
create-common-assemblyinfo:
[attrib] Setting file attributes for 1 files to Normal.
[asminfo] Generated file
'F:\amq-net\src\main\csharp\CommonAssemblyInfo.cs'.
[attrib] Setting file attributes for 1 files to Normal.
[asminfo] Generated file
'F:\amq-net\src\test\csharp\CommonAssemblyInfo.cs'.
build-main:
[echo] Build Directory is
F:\amq-net/build/net-1.1.win32/activemq-dotnet-4.
0-debug
[csc] Compiling 176 files to
'F:\amq-net\build\net-1.1.win32\activemq-dotn
et-4.0-debug\bin\activemq-dotnet.dll'.
[csc]
f:\amq-net\src\main\csharp\ActiveMQ\Commands\ActiveMQTextMessage.cs(
61,61): error CS0233: sizeof 只能用于不安全的上下文中(考虑使用
System.Runtime.InteropServices.Marshal.SizeOf)
[csc]
f:\amq-net\src\main\csharp\ActiveMQ\Commands\ActiveMQTextMessage.cs(
64,54): error CS0233: sizeof 只能用于不安全的上下文中(考虑使用
System.Runtime.InteropServices.Marshal.SizeOf)
BUILD FAILED
Note: I am using os of chinese version. so here I try to translate it as
follows.
[csc] f:\amq-net\src\main\csharp\ActiveMQ\Commands\ActiveMQTextMessage.cs(
64,54): error CS0233: sizeof is used under unsafe context(here we recommend
to use System.Runtime.InteropServices.Marshal.SizeOf)
Thanks James!
Matt
--
View this message in context:
http://www.nabble.com/can-amq-dotnet-build-by-.net-framework1.1-%28vs2003%29-tf1958469.html#a5389861
Sent from the ActiveMQ - User forum at Nabble.com.