dotnet / format

Home for the dotnet-format command

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotnet format not work in Blazor

EkaterinaTikhomirova opened this issue · comments

I have Blazor WebAssembly Blazor project. Here I have some .razor components that contains c# code with some SA- and CA- errors and warnings.
Here I was trying dotnet format --verify-no-changes in console. After all I see only Warnings were encountered while loading the workspace. Set the verbosity option to the 'diagnostic' level to log warnings. warning and I suppose it means that command completed.
If I has .cs files with the same errors and warnings it works fine and I can see these errors in my console.
If someone has encounter with the same behavior, please provide a solution.