[MonoDevelop] Binary files and package reference in project templates (.xpt.xml)

Michael Hutchinson m.j.hutchinson at gmail.com
Thu Oct 20 09:41:05 EDT 2011


On Mon, Sep 5, 2011 at 4:19 PM, Antao Almada <antao.almada at ydreams.com> wrote:
> Hi,
>
> I'm trying to create a project template and I'm having two issues.
>
> 1. Referencing assemblies in a folder
>
> I'm installing my assemblies into a folder. Visual Studio finds them by
> adding a key in the registry under
> HKLM\Software\Microsoft\.NETFramework\v4.0.30319\AssemblyFoldersEx
> What am I suposed to do in MonoDevelop? I've looked into the existing addins
> and they all reference "Gac" or "Package". How does "Package" work?

"Gac" references are a very old misnaming in the internal API, MD
never references assemblies from the GAC. I recently renamed these to
"Package" references. Package references come from AssemblyFolders(Ex)
if MonoDevelop is targeting the .NET runtime, or from pkg-config if
it's targeting Mono.

> 2. Binary files
>
> My project templates requires the addition of binary files (images). How can
> they be added to the template?
> I've already tried <file name="..." src="..."> but I can't make it work.

Try <RawFile name="..." src="..."> to prevent it from performing
substitutions and reformatting.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list