Skip to content

Blazor refactoring/quick action (introduce local) does not work in .razor file @code block, but fine in .cs codebehind #8578

@vsfeedback

Description

@vsfeedback

This issue has been moved from a ticket on Developer Community.


[severity:It's more difficult to complete my work]
When writing C# code in a @code block in the razor page, the Quick Actions does not work correctly.
However, when writing the exact same code in .cs in the code behind, it works perfectly.

See screen recording.


Original Comments

Feedback Bot on 3/30/2023, 08:17 PM:

(private comment, text removed)


Original Solutions

(no solutions)

Metadata

Metadata

Assignees

Labels

author: migration bot 🤖The issue was created by a issue mover bot. The author may not be the actual author

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions