Skip to content

XML ADO provider cannot handle paths with embedded relative paths. #52

@DaveRMaltby

Description

@DaveRMaltby

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions