[MonoDevelop] Embedded resources ID mangling

Todd Berman tberman@off.net
Sat, 10 Jul 2004 02:35:49 -0400


No, it is currently not, we default to the filename itself.

However, this has been brought up, and we will most likely be extending
the project format to allow this, as it seems to be a common usecase.

--Todd

On Fri, 2004-07-09 at 18:37 -0300, Rodolfo Campero wrote:
> Hello,
> 
> Is it possible to change the embedded resource's ID with monodevelop?
> 
> I ask because I'm used to the way Visual Studio .NET works. IIRC, VS
> assigns to embedded resources a generated ID: the file name prefixed
> with the default namespace that a class in the folder said file resides
> would have.
> 
> Example:
> Say you have a project in the folder
> 	/home/myuser/src/myproject
> whose default namespace is
> 	MyCo.MyProject
> if you embbed a resource located in
> 	/home/myuser/src/myproject/Texts/File.txt
> the corresponding ID would be:
> 	MyCo.MyProject.Texts.File.txt
> 
> The only way I can think of to do this is messing with the generated
> Makefile, but I know that is unwise.
> 
> Any ideas?
> 
> Greets,
> 
> Rodolfo
> 
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list