Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Missing Files after using a Custom Project Template

$
0
0

Hi,

I've tried to create a custom template for VisualStudio 2015 (Community Edition). The problem is that only the projects files and the def file is created in the new project, but the header files and the matlab files are missing.

I proceeded as in (https)://msdn.microsoft.com/en-us/library/ms185319.aspx described but I have no idea what I am missing.

I placed the complete template under (https)://rfu6255i4j05kgww.myfritz.net/owncloud/index.php/s/MEVueSXkcnAA5pA if somebody is interested.

The content of Template file is:

<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Project">

  <TemplateData>

    <Name>SFunction</Name>

    <Description>&lt;No description available&gt;</Description>

    <ProjectType>VC</ProjectType>

    <ProjectSubType>

    </ProjectSubType>

    <SortOrder>1000</SortOrder>

    <CreateNewFolder>true</CreateNewFolder>

    <DefaultName>SFunction</DefaultName>

    <ProvideDefaultName>true</ProvideDefaultName>

    <LocationField>Enabled</LocationField>

    <EnableLocationBrowseButton>true</EnableLocationBrowseButton>

    <Icon>__TemplateIcon.ico</Icon>

  </TemplateData>

  <TemplateContent>

    <Project TargetFileName="SFunction.vcxproj" File="SFunction.vcxproj" ReplaceParameters="true">

      <ProjectItem ReplaceParameters="true" TargetFileName="$projectname$.vcxproj.filters">SFunction.vcxproj.filters</ProjectItem>

      <ProjectItem ReplaceParameters="true" TargetFileName="$projectname$.def">SFunction.def</ProjectItem>

      <ProjectItem ReplaceParameters="true" TargetFileName="$projectname$.h">SFunction.h</ProjectItem>

      <ProjectItem ReplaceParameters="true">InterfaceDefinition.h</ProjectItem>

      <ProjectItem ReplaceParameters="true">make.m</ProjectItem>

    </Project>

  </TemplateContent>

</VSTemplate>



Regards

Sebastian



Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>