Skip to content

Relative html loading solution for WPF #574

@amoldeshpande

Description

@amoldeshpande

in #37 , access to local files via file:// urls is called out. As mentioned at the bottom of the thread, msapp-data was identified as a preferred solution for UWP apps.

Will there be a similar solution for WPF ? Some sort of XAML attribute (e.g., LocalFileSource instead of Source) so that I can load a bundled html file ?

Right now I'm doing a workaround where I leave the Source attribute empty in the XAML and set it in the code-behind in the MainWindow constructor using Assembly.Location. Which is fine, but I'd really prefer a XAML solution.

I didn't see that explicitly called out in #37, nor another matching issue so I thought I'd open a new issue.

AB#29998226

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestfeature requesttrackedWe are tracking this work internally.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions