Skip to content

Sample Images path #31

@HenryMinute

Description

@HenryMinute

In wpf.Core.SampleImageHelper......GetDefaultPicturePaths() you might consider changing the literal path as it bombs out if you don't have your Pictures in the default location.

e.g.
change:
return new string[]{@"C:\Users\Public\Pictures\Sample Pictures",
Environment.GetFolderPath(Environment.SpecialFolder.MyPictures)}.ToReadOnlyCollection();
to:
return new string[]{Environment.GetFolderPath(Environment.SpecialFolder.CommonPictures) + @"\Sample Pictures",
Environment.GetFolderPath(Environment.SpecialFolder.MyPictures)}.ToReadOnlyCollection();

Mind you anyone able to use a non-default location could probably figure this out for themselves.

Metadata

Metadata

Assignees

No one assigned

    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