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
Visual Studio version: 2022 Community version 17.7.6
Code language: Razor/HTML
Description
When I use Analyze -> Code Cleanup -> Profile 1 (With the only fixer Format Document) does not work in a .cshtml file in an ASP.NET Core Web App project.
Steps to recreate
Create a new ASP.NET Core Web App project.
Change the configuration of the Profile 1 to keep only Format document fixer
Open Index.cshtml and make changes that should be cleaned up, indentation and spaces
Open Index.cshtml.cs and make the same changes
Use the Command Analyze -> Code Cleanup -> Profile 1
Current behavior
The .cshtml file is not cleaned up, but the associated .cshtml.cs file is.
Expected behavior
The .cshtml file should be cleaned up.
The text was updated successfully, but these errors were encountered:
Environment
Description
When I use Analyze -> Code Cleanup -> Profile 1 (With the only fixer Format Document) does not work in a .cshtml file in an ASP.NET Core Web App project.
Steps to recreate
Create a new ASP.NET Core Web App project.
Change the configuration of the Profile 1 to keep only Format document fixer
Open Index.cshtml and make changes that should be cleaned up, indentation and spaces
Open Index.cshtml.cs and make the same changes
Use the Command Analyze -> Code Cleanup -> Profile 1
Current behavior
The .cshtml file is not cleaned up, but the associated .cshtml.cs file is.
Expected behavior
The .cshtml file should be cleaned up.
The text was updated successfully, but these errors were encountered: