I was able to resolve this by quitting OneDrive, repairing Visual Studio 2022, and rebooting. Rebooting started up OneDrive again, but with all paths pointing locally and not to OneDrive.
Visual Studio 2022 Teams Code Review Error on xaml files
On one laptop, in Visual Studio 2022 Teams Code Review (source control is on Azure), when clicking on a .xaml file, the error "Empty path name is not legal" pops up. This only happens when reviewing .xaml files and only on one machine. Any ideas? Note: Edit xaml files in VS2022 works fine on the same machine with no errors and XAML settings appear to match other developer laptop settings.
3 answers
Sort by: Most helpful
-
-
TCH 26 Reputation points
2023-11-13T17:16:12.97+00:00 I was able to resolve this by quitting OneDrive, repairing Visual Studio 2022, and rebooting. Rebooting started up OneDrive again, but with all paths pointing locally and not to OneDrive.
-
TCH 26 Reputation points
2023-11-13T17:18:26.7166667+00:00 For some reason, accept as answer is not available