Question

I may not be asking the right question but here's what is happening.

  1. We create a VS 2010 project (called "Test.csproj") and add transforms for Test and Stage environments.

  2. We create build definitions in VS 2010 and used the following MSBuild arguments:

    /p:DeployOnBuild=True /p:UseWPP_CopyWebApplication=true /p:PipelineDependsOnBuild=false

  3. TFS 2010 builds and transforms the web.config as expected.

  4. A VS 2012 user opens the Test.csproj and migrates the project to VS 2012, checks it in to TFS 2010.

  5. TFS 2010 builds but does not transform the web.config as expected.

What hasn't worked: Manually adding a "TransformXml" task to a project's AfterBuild event, I get a "Task not found" error.

Using: Server 2008 R2 - TFS 2010 - Web Deploy 3.5 Clients are Win 7 - VS 2010 SP1 / VS 2012

Web Deployment does not seem to be working either. The person who set this up is no longer with us so I'm learning as I go.

Any ideas? Thanks.

Was it helpful?

Solution

Install VS2012 on your build server.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top