I'm currently working on creating a distributable project template, so that a few of the other developers I'm working with can quickly get their projects up and running.
I have created and exported my template just fine, to a file called ss.zip. I have also created my .vscontent file, which looks like this:
<VSContent xmlns="http://schemas.microsoft.com/developer/vscontent/2005"> <Content> <FileName>ss.zip</FileName> <DisplayName>foo</DisplayName> <Description>bar</Description> <FileContentType>VSTemplate</FileContentType> <ContentVersion>1.0</ContentVersion> <Attributes> <Attribute name="ProjectType" value="C#" /> <Attribute name="ProjectSubType" value="" /> <Attribute name="TemplateType" value="Project" /> </Attributes> </Content> </VSContent>
However, when I package it all up as ss.vsi, upon double-clicking to install I get an error: object reference not set to an instance of an object.
Does anyone know what I might be doing wrong?
Edit: I managed to solve the problem - I'm not entirely sure what it was, but it had something to do with the fact that I was creating my .zip file(which I then renamed to .vsi) under OS X, instead of windows - creating the .zip file under windows, taking it to OS X to rename it to .vsi, and then attempting to install it shows that the issue has resolved itself.
This post has been edited by girasquid: 23 December 2007 - 06:07 PM