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

Item Template for Portable Class Library Project

$
0
0

I am unable to create item template for a Portable Class Library Project in VS2015

I have a template that works great on all other projects (VS2012,VS2015).

But when I try to use the same template in a Portable Class Library Project, it does not show up when I create a new Item or Class.

I have tried to use:
  'AppliesTo' and 'ProjectSubType'  Elements with no results.  Tries as well  'MultiTarget'  with no effort. 

Any help would by good :) 

Here is my item template file, that works everywhere else except in Portable Class Library Projects

<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Item"><TemplateData><DefaultName>MyGuidEntity.cs</DefaultName><Name>Guid Entity</Name><Description>Base template for Guid Entity</Description><ProjectType>CSharp</ProjectType><SortOrder>1</SortOrder><Icon>EntityIcon.ico</Icon></TemplateData><TemplateContent><ProjectItem SubType="Code" TargetFileName="$fileinputname$.cs" ReplaceParameters="true">FileTemplate.cs</ProjectItem></TemplateContent></VSTemplate>


Viewing all articles
Browse latest Browse all 4410

Trending Articles



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