side-waffle icon indicating copy to clipboard operation
side-waffle copied to clipboard

Hiding ASP.NET 5 Project Templates from VS 2012 and 2013

Open RehanSaeed opened this issue 10 years ago • 4 comments

My project template VSIX targets VS 2012, 2013 and 2015. I don't want the ASP.NET 5 project template in it to be available in VS 2012 or 2013.

In my _project.vstemplate.xml file I have been using the following setting which stops the above from happening. Today, I realized that developers can just install .NET 4.5.1 and the ASP.NET 5 project template will become visible again.

<RequiredFrameworkVersion>4.5.1</RequiredFrameworkVersion>

Is there a more reliable way of hiding project templates from older versions of VS? Is creating separate VSIX's for each version of VS the only way?

RehanSaeed avatar Aug 20 '15 15:08 RehanSaeed

I'm not sure about this one. We will need to reach out to the vs template team for more info. Can you email me at sayedha@MSFT?

sayedihashimi avatar Aug 22 '15 19:08 sayedihashimi

Let me know what you find out. That way we can apply the same principal to #286.

codewithtyler avatar Aug 22 '15 20:08 codewithtyler

Thanks, I'm not sure if this is possible with the .vsix support that exists today. I've reached out to the template team to see if they have any info.

sayedihashimi avatar Sep 02 '15 16:09 sayedihashimi

@sayedihashimi did we ever get any info on this from the template team?

codewithtyler avatar Mar 05 '16 01:03 codewithtyler