[rabbitmq-discuss] Error while compiling Send.cs from hello world tutorial

Emile Joubert emile at rabbitmq.com
Wed Jun 29 09:24:21 BST 2011


Hi Demiss,

Op 29/06/11 03:02, het Demiss Zike geskryf:
> When I try to compile a sample C# program in command line I get the error:
> 
> CS2005: Missing file specification for `/r:' option
> 
> Any ideas on how it happens? I have successfully installed the RabbitMQ
> server, the RabbitMQ .NET/C# AMQP client library and copied the
> RabbitMQ.Client.dll into my working folder and this is how I tried to
> compile Send.cs:
> 
> csc '/r:' "RabbitMQ.Client.dll"  Send.cs

This works for me:

csc /r:RabbitMQ.Client.dll  Send.cs

You need to make sure that RabbitMQ.Client.dll can be found by the
linker by installing in the GAC or at least temporarily placing it in
the same folder as the source.


-Emile


More information about the rabbitmq-discuss mailing list