How do I embed a resource into an appx package?
-
26-10-2019 - |
Vra
I'm trying to include data files, or images in a C# appx package. I've tried adding the files to the csproj, and enabled "Copy to Output Directory", but they don't wind up in the AppXLayouts dir.
I haven't found any hints on dev.windows.com.
Oplossing
In Visual Studio:
- go to the Solution Explorer
- find the images item
- right click
- select add
- pick your pictures
This should cause them to be packaged.
Gelisensieer onder: CC-BY-SA met toeskrywing
Nie verbonde aan StackOverflow