TFS 2010 configuration conversion error

I had a problem creating automatic TFS collectors. Basically, I created a new configuration called Tests, added a conversion configuration, defined different connection strings for the database. Then the TFS assembly is defined, building the whole solution with the arguments MSBuild /p:DeployOnBuild=True /p:Configuration=Tests . The problem is that at the drag and drop location (Build_PublishedWebsites \ Project) I get web.config , web.debug.config , web.release.config and web.tests.config , however I would only expect one converted web.config .

I already checked the PDC view Web Deployment Destroyers: Microsoft Visual Studio 2010 and MS Deploy , but didn't help.

Thanks for any answer.

+6
visual-studio-2010 config transform tfsbuild
source share
1 answer

Web.config transformations are part of the new web publishing (WPP) in Visual Studio 2010.

During the build process, the "CopyWebApplication" target is executed to copy the website to the _Websites folder in the assembly output directory. Due to backward compatibility reasons, MSBuild uses the "old" (VS2008) copy behavior by default, rather than the new WPP system.

To opt out of using WPP, set the following MSBuild properties:

 /p:UseWPP_CopyWebApplication=True /p:PipelineDependsOnBuild=False 
+7
source share

All Articles