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
230 stars 12 forks source link

Moving XAML page copied the .cs instead of moving it #1400

Open samhouts opened 2 months ago

samhouts commented 2 months ago

Type: Bug

I moved NotesPage.xaml to the Views folder. It copied the NotesPage.xaml.cs file to the View folder, too, but it left a copy in the root. So. now I have build errors that it exists in two places.

Screenshot 2024-08-26 at 1 20 54 PM

Extension version: 1.3.3 VS Code version: Code - Insiders 1.93.0-insider (Universal) (e81aceaa07bab1ccdc94deae04168c8bd062f0de, 2024-08-26T05:04:02.640Z) OS version: Darwin arm64 23.6.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M3 Pro (12 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: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|2, 3, 2| |Memory (System)|36.00GB (0.22GB free)| |Process Argv|--crash-reporter-id 1af4bb54-8360-4959-908c-8225cba31b88| |Screen Reader|no| |VM|0%|
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805:30301674 vsaa593:30376534 py29gd2263:31024238 c4g48928:30535728 962ge761:30841072 pythongtdpath:30726887 welcomedialog:30812478 pythonnoceb:30776497 asynctok:30898717 dsvsc014:30777825 dsvsc015:30821418 pythonregdiag2:30926734 pythonmypyd1:30859725 2e7ec940:31000449 pythontbext0:30879054 accentitlementst:30870582 dsvsc016:30879898 dsvsc017:30880771 dsvsc018:30880772 cppperfnew:30980852 pythonait:30973460 g316j359:31013175 a69g1124:31018687 dvdeprecation:31040973 dwnewjupytercf:31046870 nb_pri_only:31057983 nativerepl1:31104042 refactort:31084545 pythonrstrctxt:31093868 flighttreat:31119334 wkspc-onlycs-t:31111718 nativeloc1:31118317 wkspc-ranged-c:31125598 cf971741:31111988 fcdif617:31111928 e80f6927:31120813 ei213698:31121563 12bdf347:31121875 ```
emaf commented 1 month ago

Moving to area-project as this is related to moving nested files using the Solution Explorer

tmeschter commented 1 month ago

@samhouts Can you confirm that you moved the file using the Solution Explorer?

emaf commented 1 month ago

@tmeschter I was able to reproduce this using the Solution Explorer

smitpatel commented 1 month ago

@lifengl - Do you know where the code for moving file over via solution explorer gesture lives?

samhouts commented 1 month ago

@samhouts Can you confirm that you moved the file using the Solution Explorer?

Sorry, I missed the ping! Yes, using the Solution Explorer. Thanks!

smitpatel commented 3 weeks ago

ping @lifengl , @Michael-Eng

Michael-Eng commented 2 weeks ago

@Jxwoon can you please take a look?