1
Vote

Problem with project template.

description

I am trying to update our extension to work with VS 2013 and meet the following problem. After update I couldn't create project of our custom type.
I got exception occured in class Microsoft.VisualStudio.Project.Automation.OAProject in ConfigurationManager property getter in this line of code: ErrorHandler.ThrowOnFailure(extensibility.GetConfigMgr(this.project.InteropSafeIVsHierarchy, VSConstants.VSITEMID_ROOT, out configurationManagerAsObject)); Exception message: "The input IVsHierarchy is not expected, please ensure to pass the correct IVsHierarchy object. A common mistake would be the stub proxy was passed when the method was invoked on a background thread."
So I've tried to change your sample application to use template. But got same error here.
Are there any way to use project templates in VS 2013?

file attachments

comments

Seekeer wrote Mar 27, 2014 at 6:35 PM

I am attaching sample application. It must be placed in the "MPFProj12\Dev12\Samples\CSharp" folder.

wrote Mar 27, 2014 at 6:44 PM

Seekeer wrote Mar 27, 2014 at 6:44 PM

Here is full code.
You can see that original CustomProject is working. And project which is using .vsstemplate - located in folder CustomProjectUnzipppp - doesnt work.