Blend 4 - SketchFlow项目的包装问题:运行时的白色屏幕 [英] Blend 4 - Packaging Issue of the SketchFlow Project: white screen when its run

查看:63
本文介绍了Blend 4 - SketchFlow项目的包装问题:运行时的白色屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

 

我正在创建一组在Windows 7上运行的SketchFlow Expression Blend SP1的模型pc。

I am creating a set of mockup with SketchFlow Expression Blend SP1 running on a windows 7 pc.

这是一个silverlight项目,当我运行项目时一切都很好。打开我的浏览器并运行良好,但是当我打包只生成4个文件(1个aspc,1个html,1个xap和favicon)的项目时,无论浏览器如何,当我启动它时,这个
是一个白色屏幕,甚至没有加载图标。

This is a silverlight project, when I run the project everything is fine. That open my browser and work well, but when I package the project that generate only 4 files (1 aspc, 1 html, 1 xap and the favicon) and no matter the browser, when I launch it this is a white screen and even the favicon is not loaded.

你有答案吗?

我真的很尴尬这个问题...我无法交付我的客户......我将不得不像往常一样在powerpoint上做静电......

I am really embarass by this issue ... I cannot deliver my customer ... I will have to do it as usual static on a powerpoint ...

 

非常感谢,我我还没有找到任何其他涉及浏览器方面特定问题的话题。

Thank you very much, I haven't find any other topic dealing with specific issue which is on the browser side I guess.

推荐答案

确定它不是'在package命令生成的文件中,在Blend中构建项目(Ctrl - shift - b或F5构建/运行)。在项目窗格中右键单击您的项目,然后在Windows资源管理器中选择打开。选择.html和.xap文件,并将
复制到要使用它们的位置。这应该与该命令打包的内容完全相同。

To be sure it isn't the files being produced by the package command, build your project in Blend (Ctrl - shift - b or F5 to build/run). Right click your project in the project pane and select open in windows explorer. Select the .html and .xap file, and copy those where you want to use them. This should be identical to what is packaged by that command however.

另一个可能的区别是,当您按F5在Blend中运行时,它将由Blend中的内置Web服务器托管,如果您从资源管理器加载.html文件,它将作为文件加载(您可以在地址栏中看到不同的,http:// localhost:someport / Default.html
vs c:\ my \\ \\user\path\Default.html)。这些不同区域可能有不同的安全设置/权限。

The other possible difference is that when you press F5 to run inside Blend, it gets hosted by a built in web server in Blend, if you load the .html file from explorer it is getting loaded as a file (you can see the different in the address bar, http://localhost:someport/Default.html vs c:\my\user\path\Default.html). There may be different security settings/permissions in these different zones.

您是否有可以托管文件的网络服务器?如果是这样,请将package命令生成的文件复制到网络服务器,然后尝试从那里启动它。

Do you have a webserver you can host the files on? If so, copy the files produced by the package command to a webserver and try launching it from there.

 


这篇关于Blend 4 - SketchFlow项目的包装问题:运行时的白色屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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