FileNotFoundException reading JSON file from Assets folder in Windows Store app

前端 未结 1 1082
南方客
南方客 2020-12-06 11:22

I\'m trying to read a json file from my Assets folder. I\'ve tried numerous code examples, and all are variations on the same thing.

I feel like I must

相关标签:
1条回答
  • 2020-12-06 11:44

    In the properties of the file (Right click and properties) under Build Action have you made sure this is selected as Content? Also make sure that Copy to Output Directory is set as Copy Always. This should solve the problem for you I think.

    0 讨论(0)
提交回复
热议问题