[MonoDevelop] addin.xml question

Michael Hutchinson m.j.hutchinson at gmail.com
Tue Jan 26 21:10:38 EST 2010

On Tue, Jan 26, 2010 at 4:55 PM, Vasili I. Galchin <vigalchin at gmail.com> wrote:
> Hello,
>    I am working on an addin. Regarding the guid in element
> MSBuildItemTypes, must I generate my own or are these guids
> pre-existent? If I must generate is there a web site that will
> generate for me?

GUIDs are used for a few things in VS and MD project/sln files, so
you'll see them around quite a bit.

They're used for identifying a project in project references and the
SLN file. These are generated when you create the project, so you can
ignore these.

They're also used for identifying the project type. There is what you
might call a "primary type", which is used in the SLN. There are also
optionally so-called "flavors" which further specialize the project
type. Flavors can be seen in the ProjectTypeGuids element in a MSBuild
project file. For example, "C# project" is a primary type, then
there's an "ASP.NET MVC" flavor that C# projects can have.

See http://www.mztools.com/articles/2008/MZ2008017.aspx for some more info.

If you are looking to be compatible with an existing project type from
VS, then you should use the same GUID that VS does. If not, create a
new GUID. To do so, just open the "csharp" shell and call
System.Guid.NewGuid ().

Michael Hutchinson

More information about the Monodevelop-list mailing list