microsoft / vscode-dotnettools

This is a feedback repository to capture issues logged for the C# Dev Kit and related extensions from Visual Studio Code
Other
234 stars 13 forks source link

Confusing #line Hot Reload Error Message #1617

Open leslierichardson95 opened 4 days ago

leslierichardson95 commented 4 days ago

Type: Bug

I recently encountered the following failure error when trying to use hot reload (Fuse-enabled): "error ENC0063: Updating a #line directive around an active statement requires restarting the application." Prior to receiving this message, hot reload was successfully working for me when making the same code changes across .cs and .razor files.

Unfortunately, I'm not sure how to repro this issue but it was caught live on .NET Conf Day 2 at the following link: https://www.youtube.com/live/FntsxTqtQEU?si=c2TtDPbVG_VbFSls&t=12513

Extension version: 1.12.37 VS Code version: Code 1.95.1 (65edc4939843c90c34d61f4ce11704f09d3e5cb6, 2024-10-31T05:14:54.222Z) OS version: Windows_NT x64 10.0.22631 Modes:

System Info |Item|Value| |---|---| |CPUs|AMD EPYC 7763 64-Core Processor (16 x 2445)| |GPU Status|2d_canvas: unavailable_software
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
webgpu: unavailable_software
webnn: unavailable_software| |Load (avg)|undefined| |Memory (System)|63.95GB (38.81GB free)| |Process Argv|--crash-reporter-id ae58bef0-c01b-411a-9b1d-81cb7a843200| |Screen Reader|no| |VM|0%|
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 pythonvspyt551:31179978 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 vscaat:30438848 c4g48928:30535728 azure-dev_surveyone:30548225 2i9eh265:30646982 962ge761:30959799 pythonnoceb:30805159 asynctok:30898717 pythonmypyd1:30879173 2e7ec940:31000449 pythontbext0:30879054 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 9c06g630:31013171 dvdeprecation:31068756 dwnewjupytercf:31046870 nativerepl2:31139839 pythonrstrctxt:31112756 cf971741:31144450 iacca1:31171482 notype1:31157159 5fd0e150:31155592 dwcopilot:31170013 stablechunks:31184530 ```