Closed SteveSandersonMS closed 5 years ago
@ryanbrandenburg do we control this?
No clue. I thought it might be controlled by something in https://github.com/aspnet/Scaffolding but I don't see any evidence of that. You'll have to find someone on the VS tooling team.
@seancpeters Do you happen to know who controls this?
As to the first question about the incorrect default filename for Razor Component, I checked in a fix to the vstemplate file stub for that template yesterday. It should flow into Visual Studio builds in the next few days.
In regards to the sidenote, this is something that would need to be implemented in the VS Web Tools component.
Thanks @phenning!
Steps:
Pages
folder) and choose Add -> ItemExpected: Prompted file extension should be
.razor
Actual: It's.cshtml
Sidenote: It would be great if the Razor Component item template also appeared in the initial context menu alongside Razor Page and Controller