New Item Templates and Implicit Global Usings #38063
Labels
area-mvc
Includes: MVC, Actions and Controllers, Localization, CORS, most templates
Author: Migration Bot 🤖
The issue was created by a issue mover bot. The author may not be the actual author.
feature-templates
Milestone
This issue has been moved from a ticket on Developer Community.
[severity:It's more difficult to complete my work]
I have a .NET 5 project (Microsoft.NET.Sdk.Web) which no longer adds the standard Usings clauses to new class files. It's as if the templates are assuming the new Implicit Global Usings feature is enabled.
I added disable to the .csproj but it did not fix the problem.
Can reproduce in a new .NET 5 ASP.NET project.
This is frustrating because now even the most basic of types don't have their using classes added to the files when generated.
I've been using VS 2022 for a while now, but believe this only recently started happening.
Original Comments
Feedback Bot on 10/24/2021, 07:56 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: