I am trying to get my build server up and running and ran into some problems.
The guys over at the TFS forums told me, i should try wether it works from inside Visual Studio or not and after i found out, that it does not they suggested i should ask the question here.
These are the Steps to reproduce:
-Install Windows Server (tried 2012 R2 and 2008 R2)
-Install TFS Express 2013 Update 2
-Install Visual Studio 2013 (Only check Microsoft Office Developer Tools and Microsoft Web Developer Tools)
-Install Update 1 for Visual Studio 2013
Using VS 2013 the Solution builds fine.
Trying to use Web Publish from inside VS gives the following log with error:
Transformed Web.config using C:\Builds\131\Senacor\Test\src\Senacor.Employee.EmployeeMasterData.Frontend\Web.Release.config into obj\Release\TransformWebConfig\transformed\Web.config.Transformed obj\Release\TransformWebConfig\transformed\Web.config using C:\Builds\131\Senacor\Test\src\Senacor.Employee.EmployeeMasterData.Frontend\\Web.Test.config into obj\Release\ProfileTransformWebConfig\transformed\Web.config.
Copying all files to temporary location below for package/publish:
obj\Release\AspnetCompileMerge\Source.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v / -p C:\Builds\131\Senacor\Test\src\Senacor.Employee.EmployeeMasterData.Frontend\obj\Release\AspnetCompileMerge\Source -u -c C:\Builds\131\Senacor\Test\src\Senacor.Employee.EmployeeMasterData.Frontend\obj\Release\AspnetCompileMerge\TempBuildDir
Auto ConnectionString Transformed obj\Release\AspnetCompileMerge\TempBuildDir\Views\Web.config into obj\Release\CSAutoParameterize\transformed\Views\Web.config.
Auto ConnectionString Transformed obj\Release\AspnetCompileMerge\TempBuildDir\Web.config into obj\Release\CSAutoParameterize\transformed\Web.config.
Copying all files to temporary location below for package/publish:
obj\Release\Package\PackageTmp.
Start Web Deploy Publish the Application/package to https://XXX:8172/msdeploy.axd?site=Default%20Web%20Site ...
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.targets(4255,5): Error : Web deployment task failed. (Unknown ProviderOption:DefiningProjectFullPath. Known ProviderOptions are:skipInvalid.)
Publish failed to deploy.