Silverlight xap-file is not copied to clientbin folder on Build Server

In one of our projects we had the problem that our TFS Build never deployed the latest version of our silverlight application via TFS build.
It is probably because our build server has not all the silverlight related SDKs installed.

We recognized that the contents in one of the MSBuilds subfolders (C:\Program Files\MSBuild\Microsoft\VisualStudio\v9.0\WebApplications) was different from the content of the developer machines. A simple xcopy adjustment of this folder did not do the trick. ;)

We implemented a temporary solution using the following post-buid event:
“$(TargetDir)*.xap” “$(SolutionDir)[YourWebsite]\clientbin\” /Y /R

Advertisement

0 Responses to “Silverlight xap-file is not copied to clientbin folder on Build Server”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s





Follow

Get every new post delivered to your Inbox.