System.ArgumentException: The path is not of a legal form.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at OfficeRibbonXEditor.ViewModels.Windows.MainWindowViewModel.<>c__DisplayClass89_0.<FinishOpeningFile>b__0(OfficeDocumentViewModel x) in C:\Users\FernA\agent\_work\1\s\src\OfficeRibbonXEditor\ViewModels\Windows\MainWindowViewModel.cs:line 689
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at OfficeRibbonXEditor.ViewModels.Windows.MainWindowViewModel.FinishOpeningFile(String fileName) in C:\Users\FernA\agent\_work\1\s\src\OfficeRibbonXEditor\ViewModels\Windows\MainWindowViewModel.cs:line 689
To Reproduce
Please describe the steps that lead to the unhandled exception here, including example files if relevant.
Screenshots
If applicable, add screenshots to help explain how the unhandled exception occurred.
Describe the bug
To Reproduce Please describe the steps that lead to the unhandled exception here, including example files if relevant.
Screenshots If applicable, add screenshots to help explain how the unhandled exception occurred.
Additional context