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

Razor reporting a problem diagnostic that isn't valid

Open timheuer opened this issue 4 months ago • 0 comments

Type: Bug

Razor is reporting that a component needs a using statement, but it is already there.

Image

Extension version: 2.82.12 VS Code version: Code - Insiders 1.101.0-insider (dfaf44141ea9deb3b4096f7cd6d24e00c147a4b1, 2025-06-11T15:35:29.777Z) OS version: Windows_NT x64 10.0.26120 Modes:

System Info
Item Value
CPUs AMD Ryzen 9 3900X 12-Core Processor (24 x 3793)
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: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 127.92GB (85.14GB free)
Process Argv --crash-reporter-id 961e68ed-cec6-437f-8e5f-e44a8abbf88f
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt551:31249597
vscod805:30301674
c4g48928:30535728
962ge761:30841072
dsvsc014:30777825
dsvsc015:30821418
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:30980852
dwnewjupyter:31046869
pythonrstrctxt:31093868
nativeloc1:31118317
e80f6927:31120813
dwcopilot:31158714
5b1c1929:31184661
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
9064b325:31222308
copilot_t_ci:31222730
g012b348:31231168
pythoneinst12:31251391
bgtreat:31252123
c7cif404:31309980
pythonpulldiag:31287486
6gi0g917:31259950
editoredits36407:31282444
996jf627:31264550
pythonrdcb7:31268811
usemplatestapi:31297334
e6194696:31317039
747dc170:31275146
pythonfullctx:31296836
6518g693:31302842
pylancecolor:31288664
generatesymbolt:31280541
convertfstringf:31280702
gendocf:31280703
nes0dcc7202:31321960
923gi514:31310909
j97ad248:31306657
1cfa2231:31326675
convertlamdat:31319677
gce3e431:31315077

timheuer avatar Jun 12 '25 18:06 timheuer