I am trying to create a VSIX which will have a multi-project template.
I've followed the instructions in this msdn link and also included IWizard implementation for some manipulations.
I'm getting the below error while trying to build the solution:
Could not determine the FullName of the Assembly at "C:\Users\username\Documents\Visual Studio 2015\Projects\MyTemplateSolution\MyProjectWizard1\ProjectTemplates\CSharp\Cloud\TestTemplate.zip". Could not load file or assembly 'TestTemplate.zip' or one of its dependencies. An attempt was made to load a program with an incorrect format. MyProjectWizard1
The project structure looks like this : project structure
The vsixmanifest assets look like this :
<Assets>
<Asset Type="Microsoft.VisualStudio.Assembly" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%|" AssemblyName="|%CurrentProject%;AssemblyName|" />
<Asset Type="Microsoft.VisualStudio.ProjectTemplate" d:Source="File" Path="ProjectTemplates" d:TargetPath="ProjectTemplates\CSharp\Cloud\TestTemplate.zip" />
</Assets>
template zip properties are below:
Build Action : Content
Copy To Output Directory : Copy Always
Include in VSIX : True