为Sketchflow Silverlight原型创建较小的XAP文件 [英] Create smaller XAP files for Sketchflow Silverlight prototypes

查看:58
本文介绍了为Sketchflow Silverlight原型创建较小的XAP文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,Sketchflow原型非常大。我刚刚创建了一个简单的原型,但xap文件已经是1197 KB。如果这些原型文件较小,那将是很好的。是否有一些设置可以让它们变小?

Currently the Sketchflow prototypes are very larg. I just created a simple prototype, but the xap-file is already 1197 KB. It would be nice if those prototype files were smaller. Is there some setting I can use to make them smaller?

推荐答案

嗨Mark,
您可以尝试使用Silverlight的Application Library Caching功能。
在混合中1.在项目窗格中选择Silverlight应用程序(Sketchflow中的SilverlightPrototype)项目2.在项目菜单(Alt + P)中,转到Silverlight项目选项并单击"使用应用程序库缓存".3。现在构建项目,您将看到XAP的大小减小。

在VS中:
1.打开属性Visual Studio中的Silverlight应用程序(右键单击项目并选择"属性")
2.设置"通过使用应用程序库缓存减少XAP大小"复选框为true
3.构建

要了解有关什么是应用程序库缓存的更多信息,请查看 http://msdn.microsoft.com/en-us/library/dd833069(VS.95).aspx

希望这会有所帮助。

问候,
Navit Saxena

Hi Mark,
               You can try using the Application Library Caching feature of Silverlight.

In Blend
           1. Select the Silverlight Application (SilverlightPrototype in Sketchflow) project in the Project Pane
           2. In Project Menu (Alt + P), go to Silverlight Project options and click on 'Use Application Library Caching"
           3. Now build your project and you will see the size of XAP reduces.

In VS:
           1. Open properties for Silverlight Application in Visual Studio (Right click on project and select Properties)
           2. Set "Reduce XAP size by using application library caching" checkbox to true         
           3. Build

To know more about what is Application Library Caching please check http://msdn.microsoft.com/en-us/library/dd833069(VS.95).aspx

Hope this helps.

Regards,
Navit Saxena


这篇关于为Sketchflow Silverlight原型创建较小的XAP文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆