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
0 Responses to “Silverlight xap-file is not copied to clientbin folder on Build Server”