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

Conditional Blocks not working on Visual Studio Custom Template

$
0
0
I am trying to make a Custom Visual Studio Template for Windows Phone in Visual Studio 2012.

I have referred this link : http://www.codeproject.com/Articles/365680/Extending-Visual-Studio-Part-3-Item-Templates   for making conditions based on Tokens.

But when i add a code like this:

$if$ ($targetframeworkversion$ >= 3.5)using System.Linq;$endif$

It is giving me an error "Unexpected character '$' "

So is there any way to make a custom windows phone templates which can have some conditions?

Viewing all articles
Browse latest Browse all 4410

Trending Articles



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