You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, I'm not really sure whether this feature exists or not and I'm having trouble finding a clear answer online. I've created an item template for a certain class with dotnet CLI and packed it into a nuget package. When I install the package i can clearly see the template class in CLI list of templates and create it via CLI with dotnet new MYTEMPLATE command. But I don't see it in Visual Studio i.e. I can't add it to my existing project through Visual Studio by right clicking on project and selecting Add -> New Item... . I've also created a template project by the same analogy and after installing the nuget package I can see and select my template project from "New project menu". Am I missing some parameter in template.json? I have set all the required params as well as type for project as project and type for item as item.
The text was updated successfully, but these errors were encountered:
Showing Item Templates from dotnet templates in VS isn’t currently supported. It should be technically possible in 17.1, but in an unsupported way. We are having discussions to get changes into the Template Engine for .net 7. The idea is that we will switch the implementation at that point. That’s why we are not currently documenting, and supporting, Item Templates.
Hi there, I'm not really sure whether this feature exists or not and I'm having trouble finding a clear answer online. I've created an item template for a certain class with dotnet CLI and packed it into a nuget package. When I install the package i can clearly see the template class in CLI list of templates and create it via CLI with dotnet new MYTEMPLATE command. But I don't see it in Visual Studio i.e. I can't add it to my existing project through Visual Studio by right clicking on project and selecting Add -> New Item... . I've also created a template project by the same analogy and after installing the nuget package I can see and select my template project from "New project menu". Am I missing some parameter in template.json? I have set all the required params as well as type for project as project and type for item as item.
The text was updated successfully, but these errors were encountered: