Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Item Templates and Implicit Global Usings #38063

Open
vsfeedback opened this issue Nov 3, 2021 · 2 comments
Open

New Item Templates and Implicit Global Usings #38063

vsfeedback opened this issue Nov 3, 2021 · 2 comments
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

Comments

@vsfeedback
Copy link

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)

@ghost ghost added the Author: Migration Bot 🤖 The issue was created by a issue mover bot. The author may not be the actual author. label Nov 3, 2021
@mkArtakMSFT mkArtakMSFT added area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates feature-templates labels Nov 3, 2021
@mkArtakMSFT mkArtakMSFT added this to the Backlog milestone Nov 3, 2021
@ghost
Copy link

ghost commented Nov 3, 2021

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

@pranavkm
Copy link
Contributor

pranavkm commented Nov 3, 2021

/cc @DamianEdwards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

4 participants
@pranavkm @vsfeedback @mkArtakMSFT and others