[Mono-list] Resources and satellite assemblies

2004-06-21 Thread J. Perkins
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?

On a related note, I have also started adding MonoDevelop support to 
Premake, in case anyone is interested.

Jason
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Resources and satellite assemblies

2004-06-23 Thread Paolo Molaro
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

-- 
-
[EMAIL PROTECTED] debian/rules
[EMAIL PROTECTED] Monkeys do it better
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list