msgpack / msgpack-cli

MessagePack implementation for Common Language Infrastructure / msgpack.org[C#]
http://msgpack.org
Apache License 2.0
834 stars 174 forks source link

How can i used the console "mono mpu.exe -s xxx" #53

Closed dearlulu closed 9 years ago

dearlulu commented 9 years ago

I am download the msgpack on the release and using the pre-generation to Generate a serializer file. My Information : version : 0.5.6 os:mac 10.10

for example: mono mpu.exe -s xxx.cs

but it will show this log: Source 'xxx.cs' Line:8, Column:13 CS0246 The type or namespace name `xxx' could not be found. Are you missing an assembly reference? I find it not reference dll and used : mono mpu.exe -s xxx.cs --references=a.dll,b.dll,c.dll(all the dll is in the project)

show log : System.IO.FileNotFoundException: Could not load file or assembly 'Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.

My xxx.dll file is copy from the project and the xxx.dll file is Special Generated ?

what can i do to resolve the problem?

yfakariya commented 9 years ago

First, sorry for lacking help documentation and command line usability. But I cannot reproduce your problem, but mono's csc might not find your assembly. Would you try to ensure specifying assemblies with full paths?

yfakariya commented 9 years ago

Closed because 8 months gone. Please reopen for additional question.