I have a solution created with VS2013 with this projects:
The solution is versioned on server TFS2013.
I Create and edited a build definition for my solution where i want create 2 build using Release and Debug configuration.
I have configured build definition like this article because i want tranform Web.Config
When i add MSBuild this arguments in my Team Build definition:
/p:DeployOnBuild=true /p:UseWPP_CopyWebApplication=True /p:PipelineDependsOnBuild=False
Now i have this error:
(PackageUsingManifest target) -> C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.targets(3883,5): error : Web deployment task failed. (Unknown ProviderOption:DefiningProjectFullPath. Known ProviderOptions are:skipInvalid.)
If i remove the MSBuild argument it works.
QUESTION: What's could be configured wrong?
I discovered that on my local machine there was Visual Studio 2013 Update 5 while on the server TFS there was Visual Studio 2013 RTM (no update).
I resolved with a update of Visual Studio 2013 at last version (Update 5) on server where is installed TFS.