通过右键属性设置浏览器外设置,安装成功后提示需要下载silverlight。
通过AppManifest.xml文件设置
<Deployment.OutOfBrowserSettings>
<OutOfBrowserSettings
ShortName="Hello World"
EnableGPUAcceleration="True"
ShowInstallMenuItem="True">
<OutOfBrowserSettings.Blurb>
You say goodbye, I say hello.
</OutOfBrowserSettings.Blurb>
<OutOfBrowserSettings.Icons>
<Icon Size="16,16">icons/16x16.png</Icon>
<Icon Size="32,32">icons/32x32.png</Icon>
<Icon Size="48,48">icons/48x48.png</Icon>
<Icon Size="128,128">icons/128x128.png</Icon>
</OutOfBrowserSettings.Icons>
<OutOfBrowserSettings.WindowSettings>
<WindowSettings
Title="Hello, World!"
Height="600" Width="600" />
</OutOfBrowserSettings.WindowSettings>
</OutOfBrowserSettings>
</Deployment.OutOfBrowserSettings>
设置完成,安装成功后运行也是提示下载SilverLight
通过在AppManifest.xml文件设置
<Deployment.ApplicationIdentity>
<ApplicationIdentity
ShortName="Out of Browser Silverlight Application"
Title="This app is out of the browser!">
<ApplicationIdentity.Blurb>
Sample Out of the Browser App
</ApplicationIdentity.Blurb>
</ApplicationIdentity>
</Deployment.ApplicationIdentity>
会报错,不能识别
ApplicationIdentity。
我安装了
1、安装VS2008;
2、安装VS2008 SP1(VS2008SP1CHSX1512981.iso ,898 MB);
3、安装Microsoft® Silverlight™ 3 Tools for Visual Studio 2008 SP1(Silverlight3_Tools.exe ,31.1 MB);
4、安装Microsoft Expression Blend 3 + SketchFlow 试用版(Blend_Trial_zh-Hans.exe ,117 MB)。
也试过修改C:\Documents and Settings\用户名\Local Settings\Application Data\Microsoft\Silverlight\OutOfBrowser下的index.html文件,都没有用,总是提示说下载silverlight。请问有什么解决办法吗?以前装过silverlight2.0,都删除了,就剩下silverlight3.0 SDK(中文版) ,silverlight3.0Tool,和silverlight了。