Labs-Windows
Labs-Windows copied to clipboard
Support for assets in a samples/docs
Problem Statement
Would be nice to include an Assets folder in the sample project template so you can refer to local images in a sample or doc.
We should make sure we can include any type of asset for samples as maybe there's a .json file or something that wants to be used for backing data.
But at least for images at the start, we should make sure they can be referenced in XAML samples (even if it needs the assembly name or something like this):
<Image Source="ms-appx://ProjectTemplateExperiment.Samples/FolderInSamplesProject/MyImageFile.png"/>
<!-- Or ideally short-hand: -->
<Image Source="ms-appx:///FolderInSamplesProject/MyImageFile.png"/>
<Image Source="FolderInSamplesProject/MyImageFile.png"/>
But also easily in the Markdown as well:
