Naming convention for the templates is the same irrespective of target framework version. Specifically, the template name has to start with the string “ADONETArtifactGenerator_”.
The .vstemplate files have an xml attribute that specifieds the required (minimum?) version. For the code-gen templates we ship, this is
<RequiredFrameworkVersion>4.0</RequiredFrameworkVersion>
This posting is provided "AS IS" with no warranties, and confers no rights.