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
When one has the file-scoped namespaces option turned on in Tools > Options > Yada Yada, the generated file is missing the closing brace on the class if creating a code-behind file for a razor file (e.g. MyComponent.razor.cs).
Steps to reproduce
Turn on file-scoped namespaces under Tools > Options > Text Editor > C# >Code Style > Code block preferences > Namespace declarations.
Generate a code-behind file for a Blazor component (e.g. MyComponent.razor.cs).
The text was updated successfully, but these errors were encountered:
Description
When one has the file-scoped namespaces option turned on in Tools > Options > Yada Yada, the generated file is missing the closing brace on the class if creating a code-behind file for a razor file (e.g. MyComponent.razor.cs).
Steps to reproduce
The text was updated successfully, but these errors were encountered: