问题描述
嗨管理员
我使用代码复制文件sqlite到LocalFolder
I using code copy file sqlite to LocalFolder
StorageFile storageFile = await ApplicationData.Current.LocalFolder.GetFileAsync( " database.sqlite");
              BasicProperties pro = await storageFile.GetBasicPropertiesAsync();
StorageFile storageFile = await ApplicationData.Current.LocalFolder.GetFileAsync("database.sqlite");
BasicProperties pro = await storageFile.GetBasicPropertiesAsync();
问题:
- 运行类型调试文件复制正常
- run type debug file copy normal
- 导出包发布soter,安装app我的windown,文件sqlite无法复制到LocalFolder
- export package publish soter,install app my windown ,file sqlite cannot copy to LocalFolder
请帮我解决方案
谢谢
推荐答案
请阅读粘贴帖子,特别是 引导
发布:主题行标签 &absp; 已知的
Windows 10 SDK和工具的问题 。
Please read the sticky posts, especially the Guide to posting: subject line tags and Known Issues for Windows 10 SDK and Tools .
首先请您告诉我们您平台的版本?
如果您没有从已安装的文件夹中复制,我建议您创建一个新版本带代码的SQLite然后再试一次。
另外请检查database.sqlite的属性,右键单击您的文件并选择
属性。
然后在复制到输出目录行中,选择始终复制
而不是不复制。
First Would you please tell us the version of your platform?
If you didn't copy from installed folder, I advise you to create a new SQLite with code and then try again.
Also please check the property of the database.sqlite, right click your file and chooseproperties.
Then in the Copy to Output Directory line, choose Copy alwaysinstead of Do not Copy.
最好的问候,
Neal Wang
Neal Wang
这篇关于将文件sqlite复制到LocalFolder?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!