문제

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.

도움이 되었습니까?

해결책

In Visual Studio:

  1. go to the Solution Explorer
  2. find the images item
  3. right click
  4. select add
  5. pick your pictures

This should cause them to be packaged.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top