[MonoDevelop] Env. vars. on File references
Marcos Cobeña Morián
mcobena at plainconcepts.com
Thu Jan 10 08:16:53 UTC 2013
Thanks Jeff and Michael for your replies.
Taking a look to how MonoGame currently handles its template for Windows games, I found out they were making use of AssemblyFolderEx registry key, which has allowed us to remove env. vars on both MD and VS templates.
De: Michael Hutchinson [mailto:m.j.hutchinson at gmail.com]
Enviado el: miércoles, 9 de enero de 2013 17:40
Para: Marcos Cobeña Morián
CC: monodevelop-list at lists.ximian.com
Asunto: Re: [MonoDevelop] Env. vars. on File references
No, this feature comes from MSBuild which falls back to environment variables when evaluating properties.
This should work if you enable the experimental xbuild/msbuild build engine, however other things may not work. For more info, see https://mjhutchinson.com/journal/2012/08/19/state_msbuild_support_monodevelop
On 4 January 2013 11:48, Marcos Cobeña Morián <mcobena at plainconcepts.com<mailto:mcobena at plainconcepts.com>> wrote:
One question regarding project templates, is it possible to use on a File reference of type Assembly an env. var.? Somewhat like
<Reference type="Assembly" refto="$(MyEnvVar)Library.dll" />
Above isn't valid, I've already tried it, but maybe the correct syntax differs.
If the answer is no, is there any workaround where I could locate an assembly through an env. var.?
Monodevelop-list mailing list
Monodevelop-list at lists.ximian.com<mailto:Monodevelop-list at lists.ximian.com>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Monodevelop-list