0 Replies - 1368 Views - Last Post: 23 December 2007 - 06:02 PM Rate Topic: -----

#1 girasquid  Icon User is offline

  • Barbarbar
  • member icon

Reputation: 108
  • View blog
  • Posts: 1,825
  • Joined: 03-October 06

VSI error: "object reference not set to an instance of an object&

Posted 23 December 2007 - 06:02 PM

Hello, all.

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?

Thanks,
Girasquid

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


Is This A Good Question/Topic? 0
  • +

Page 1 of 1