Silverlight的XAP文件不能被复制到的ClientBin构建服务器 [英] Silverlight xap file not being copied to ClientBin on Build Server

查看:304
本文介绍了Silverlight的XAP文件不能被复制到的ClientBin构建服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在开发有一个Silverlight 2.0组件ASP.Net Web应用程序项目。我们已经提到在Web应用程序性能的Silverlight项目,并XAP文件被复制到Web应用程序的ClientBin目录,当我们本地构建。

We're developing a ASP.Net Web Application project that has a Silverlight 2.0 component. We've referenced the silverlight project in the web application properties, and the xap file is being copied to the ClientBin folder of the Web application when we build locally.

问题是,当我们建立这个我们构建服务器(这是使用CruiseControl.Net,虽然我不认为这是有关)XAP文件不会被复制。奇怪的是,这是工作的事,但打破它,我们无法弄清楚什么。

The problem is that when we build this on our build server (which is using CruiseControl.Net, though I don't think that's relevant) the xap file isn't being copied. The strange thing is that this was working, but something has broken it and we can't figure out what.

推荐答案

排序!

不明白为什么,但事实证明,我们有生成服务器上一个彻头彻尾的最新版本Microsoft.WebApplications.targets的 - 我们有没有足够的的 CopySilverlightApplications 的任务版本在里面。要解决这个问题,我从ç复制的两个文件:\\ Program Files文件\\的MSBuild \\微软\\ VisualStudio的\\ 9.0 \\ web应用文件夹上构建的相同位置服务器。现在一切正常,因为它应该。

Not quite sure why, but it turns out we had an out-of-date version of Microsoft.WebApplications.targets on the build server - the version we had didn't have the CopySilverlightApplications task in it. To fix the problem, I copied the two files from the C:\Program Files\MSBuild\Microsoft\VisualStudio\v9.0\WebApplications folder to the same location on the build server. Now everything works as it should.

现在,如果我能找出哪些安装应更新这些文件...

Now if only I could find out which installer should have updated those files...

这篇关于Silverlight的XAP文件不能被复制到的ClientBin构建服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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