XAP 存档中的文件加载到内存中的顺序是什么?

发布于 2024-10-09 11:32:45 字数 128 浏览 0 评论 0原文

当 wp7 应用程序启动时,即主 dll 加载到内存中或首次从代码引用时,图像(类型内容)是否加载到内存中。加载的图片会自动缓存吗?

Visual Studio 中是否有一种方法可以查看 XAP 中的文件加载到内存中的顺序?

Are images (type content) loaded into memory when the wp7 app starts i.e. the main dll is loaded into memory or when first referenced from code. Are the loaded images cached automatically?

Also is there a way in visual studio to see the order in which files in the XAP are loaded into memory?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

弃爱 2024-10-16 11:32:45

构建操作设置为 Resource 的映像在启动时与主 XAP 一起加载。构建操作设置为 Content 的图像会在引用时加载。

Images with build action set to Resource are loaded up along with the main XAP at startup. Images with build action set to Content are loaded up when they are referenced.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文