I'm trying to use the CustomProject sample to understand how to build my own project extension. I keep encountering exceptions when debugging the CustomProject sample in the VS2010 Experimental instance:
System.ArgumentException was unhandled by user code
Parameter name: index
at Microsoft.VisualStudio.Project.Automation.OAProperties.Item(Object index) in C:\data\projects\mpfproj10-51806\Dev10\Src\CSharp\\Automation\OAProperties.cs:line 177
The value of index in this context is "WebSiteType". I've noticed this occurs in the following situations:
- After creating a new CustomProject and closing the solution
- After creating a new CustomProject, selecting a project item in solution explorer, and clicking the Project menu
I am using VS2010 Ultimate SP1, VS2010 SDK SP1 and MPFProj10 51806.
Any ideas or help would be very much appreciated. Thanks!