For example:
C:\Dev\MockDB\Tests\Integration.RemoteFileBasedTables.ClientCodeGeneration\bin\Debug\net7.0**../../../**Sources/GettingStartedWithData.xml
was failing.
Workaround:
Use Path.GetFullPath() method which removes the embedded relative paths and results in a path of:
C:\Dev\MockDB\Tests\Integration.RemoteFileBasedTables.ClientCodeGeneration\Sources/GettingStartedWithData.xml
For example: C:\Dev\MockDB\Tests\Integration.RemoteFileBasedTables.ClientCodeGeneration\bin\Debug\net7.0**../../../**Sources/GettingStartedWithData.xml was failing.
Workaround: Use Path.GetFullPath() method which removes the embedded relative paths and results in a path of: C:\Dev\MockDB\Tests\Integration.RemoteFileBasedTables.ClientCodeGeneration\Sources/GettingStartedWithData.xml
Fix: Call Path.GetFullPath() in provider.