Skip to content
This repository was archived by the owner on Dec 18, 2017. It is now read-only.
This repository was archived by the owner on Dec 18, 2017. It is now read-only.

MvvmCross.Plugins.File.WindowsCommon bug in EnsureFolderExists #111

@brentafis

Description

@brentafis

A fully specified (rooted) path is not accounted for in EnsureFolderExists on WindowsUWP (which uses the WindowsCommon FileStore plugin). As a result the full path is created as a series of subdirectories off the rootFolder.

For example:
rootFolder = c:\path\to\root
folderToCheck = c:\path\to\root\folder\to\check
EnsureFolderExists(folderToCheck)
--> expected result => c:\path\to\root\folder\to\check
--> actual result => c:\path\to\root\path\to\root\folder\to\check

I have fixed this in a local branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions