[Mono-list] Resources and satellite assemblies

Paolo Molaro lupus@ximian.com
Thu, 24 Jun 2004 00:14:17 +0200


On 06/21/04 J. Perkins wrote:
> I am trying to extend Premake (http://premake.sf.net/) to handle ASP.NET 
> projects with Mono. I am stuck on handling resources and the generation 
> of satellite assemblies. In VS.NET, I can just drop a few resource files 
> into my ASP.NET project, mark it as an "EmbeddedResource", and 
> everything Just Works. What set of actions to do I have to do with mono 
> in order to get the same effect?

mcs /? gives:
[...]
Resources:
   -linkresource:FILE[,ID] Links FILE as a resource
   -resource:FILE[,ID]     Embed FILE as a resource

Same options as csc, BTW, so you want -resource:filename.

lupus

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