[Mono-list] Having problems finding assemblies

Paolo Molaro lupus at ximian.com
Fri Nov 21 11:07:42 EST 2008


On 11/19/08 Gonzalo Paniagua Javier wrote:
> > What command are you using to compile your code? You probably are
> > forgetting to add references with -r:System.Data, for example.
> 
> If you are lazy and don't want to add the assemblies needed one by one,
> you can do something like:
> 	gmcs `pkg-config --libs dotnet`  otherparameters yoursourceshere

And if you're even lazier:
	gmcs -pkg:dotnet otherparameters yoursourceshere

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better


More information about the Mono-list mailing list