vscode-csharp icon indicating copy to clipboard operation
vscode-csharp copied to clipboard

Two Syntax entries for Razor files

Open jtsom opened this issue 3 months ago • 0 comments

Question: When setting the type for a .razor file, there are two different entries available - "ASP.NET Razor" and "Razor"

Which is the correct one? Where are these two entries coming from (C# extension and/or C# Dev Kit)?

Image

and

Image

Environment information

VSCode version: 1.102.0-insider C# Extension: 2.84.18 Using OmniSharp: false

Dotnet Information .NET SDK: Version: 9.0.301 Commit: a596cd22e2 Workload version: 9.0.300-manifests.b2ed98c7 MSBuild version: 17.14.5+edd3bbf37

Runtime Environment: OS Name: Mac OS X OS Version: 15.5 OS Platform: Darwin RID: osx-arm64 Base Path: /usr/local/share/dotnet/sdk/9.0.301/

.NET workloads installed: There are no installed workloads to display. Configured to use loose manifests when installing new manifests.

Host: Version: 9.0.6 Architecture: arm64 Commit: 3875b54e7b

.NET SDKs installed: 7.0.403 [/usr/local/share/dotnet/sdk] 8.0.403 [/usr/local/share/dotnet/sdk] 9.0.301 [/usr/local/share/dotnet/sdk]

.NET runtimes installed: Microsoft.AspNetCore.App 7.0.13 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 8.0.10 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 9.0.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 7.0.13 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 8.0.10 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 9.0.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found: None

Environment variables: Not set

global.json file: Not found

Learn more: https://aka.ms/dotnet/info

Download .NET: https://aka.ms/dotnet/download

Visual Studio Code Extensions
Extension Author Version Folder Name
copilot GitHub 1.338.1648 github.copilot-1.338.1648
copilot-chat GitHub 0.29.2025062705 github.copilot-chat-0.29.2025062705
cpptools ms-vscode 1.26.3 ms-vscode.cpptools-1.26.3-darwin-arm64
csdevkit ms-dotnettools 1.30.28 ms-dotnettools.csdevkit-1.30.28-darwin-arm64
csharp ms-dotnettools 2.84.18 ms-dotnettools.csharp-2.84.18-darwin-arm64
csharpextensions kreativ-software 1.7.3 kreativ-software.csharpextensions-1.7.3
EditorConfig EditorConfig 0.17.4 editorconfig.editorconfig-0.17.4
githistory donjayamanne 0.6.20 donjayamanne.githistory-0.6.20
hexeditor ms-vscode 1.11.1 ms-vscode.hexeditor-1.11.1
intellicode-api-usage-examples VisualStudioExptTeam 0.2.9 visualstudioexptteam.intellicode-api-usage-examples-0.2.9
js-debug-nightly ms-vscode 2025.6.317 ms-vscode.js-debug-nightly-2025.6.317
material-icon-theme PKief 5.24.0 pkief.material-icon-theme-5.24.0
msbuild-project-tools tintoy 0.6.6 tintoy.msbuild-project-tools-0.6.6
night-owl sdras 2.1.1 sdras.night-owl-2.1.1
open-in-browser techer 2.0.0 techer.open-in-browser-2.0.0
output-colorizer IBM 0.1.2 ibm.output-colorizer-0.1.2
path-intellisense christian-kohler 2.10.0 christian-kohler.path-intellisense-2.10.0
quicktype quicktype 23.0.170 quicktype.quicktype-23.0.170
TabOut albert 0.2.2 albert.tabout-0.2.2
ts-error-translator mattpocock 0.10.1 mattpocock.ts-error-translator-0.10.1
vscode-dotnet-runtime ms-dotnettools 2.3.6 ms-dotnettools.vscode-dotnet-runtime-2.3.6
vscode-svgviewer cssho 2.0.0 cssho.vscode-svgviewer-2.0.0
vscodeintellicode VisualStudioExptTeam 1.3.2 visualstudioexptteam.vscodeintellicode-1.3.2
vscodeintellicode-csharp ms-dotnettools 2.2.3 ms-dotnettools.vscodeintellicode-csharp-2.2.3-darwin-arm64
winteriscoming johnpapa 1.4.4 johnpapa.winteriscoming-1.4.4

Extension version: 2.84.18 VS Code version: Code - Insiders 1.102.0-insider (b68fa590ef54bc8f07dd79cd3175bf78e0113d4c, 2025-06-27T05:03:40.827Z) OS version: Darwin arm64 24.5.0 Modes:

System Info
Item Value
CPUs Apple M4 Max (14 x 2400)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: enabled_on
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 2, 3, 4
Memory (System) 36.00GB (10.20GB free)
Process Argv --crash-reporter-id bb7f2b75-ded1-4f5d-aabc-c6cbc340bf08
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256197
pythonvspyt551:31249597
vscod805:30301674
c4g48928:30535728
2i9eh265:30646982
962ge761:30841072
dsvsc014:30777825
dsvsc015:30821418
h48ei257:31000450
pythontbext0:30879054
cppperfnew:30980852
dwnewjupytercf:31046870
pythonrstrctxt:31093868
nativeloc1:31118317
e80f6927:31120813
dwcopilot:31158714
5b1c1929:31184661
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
hdaa2157:31222309
copilot_t_ci:31333650
g012b348:31231168
pythoneinst12:31251391
bgtreat:31252123
c7cif404:31309980
pythonpulldiag:31287486
6gi0g917:31259950
996jf627:31264550
pythonrdcb7:31268811
usemplatestapi:31297334
jdghv92:31317040
747dc170:31275146
pythonfullctx:31296836
6518g693:31302842
generatesymbolt:31280541
convertfstringf:31280702
j97ad248:31306657
usemarketplace:31336439
0g1h6703:31329154
nes-emitfast-1:31333560
d8gg1881:31333313
66g5g415:31338411
nes-yield-on:31337332
6abeh943:31336334
0c165792:31336556
a1jaf592:31336599
nes-conv-10:31337515

jtsom avatar Jun 29 '25 18:06 jtsom