In case some of you missed it,
Andrew May has a good post on how to create content type ids for feature definitions.
Now as you might gather, creating features requires a whole heap of GUIDs on your hand.
So a tool that can do this
static void Main(string [] args)
{
if (args.Length == 0)
{
// Show GUID Form}
else
{
Guid g = Guid.NewGuid();
if (args[0].ToLower() == "d")
{
Clipboard.SetDataObject(
g.ToString("D"), true);
}
if (args[0].ToLower() == "n")
{
Clipboard.SetDataObject(
g.ToString("N"), true);
}
}
}
so that new a GUID goes into clipboard everytime you run it should come in real handy.
tags: Sharepoint, ContentType, Ids, Programming, Features
Cross-posted from tariqayad.com