How to Mimic/Use AllFilesInTheProject in TFS 2010 build?

Up vote 0 down vote favorite share g+ share fb share tw.

I have a web project that uses AllFilesInTheProject setting to cause all files to be published. This works great, but TFS 2010 build process templates do not respect this flag. How can I create a build process template that mimics this.

I believe the flag causes Microsoft.Web.Publishing. AllFilesInTheProject. Targets to be used: .

So how can I get TFS 2010 build agent to use this . Targets file for this one project in the solution it is building? Or how do I do it in Windows Work flow?

SomeWebsite. Vbproj: ... AllFilesInTheProject msbuild tfs2010 build-process build-automation link|improve this question asked Oct 18 '11 at 21:02Adam518321 100% accept rate.

It could be related by the target actually not known tfs build. Is the problem solved by installing Visual Studio 2010 on the build system? – kroonwijk Oct 18 '11 at 22:00 1 Have you tried setting the DeployOnBuild property (e.g. /p:DeployOnBuild=true) in the MSBuild Arguments parameter?

– Jim Lamb Oct 19 '11 at 13:17 @kroonwijk - No, VS installed on build machine – Adam Oct 19 '11 at 14:03 @JimLamb - Thanks, I need iis.net/download/WebDeploy installed to use that flag right? Without it I get "The "IsCleanMSDeployPackageNeeded" task failed unexpectedly. System.IO.

FileNotFoundException: Could not load file or assembly 'Microsoft.Web. Deployment, Version=7.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. " – Adam Oct 19 '11 at 14:45 Yes, and you'll need the the web application project .

Targets files as well if you don't already have them on your build machine. – Jim Lamb Oct 19 '11 at 14:47.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions