Publish Artefacts feature in TeamCity

Scenario:I have been recently asked to use the teamcity’s Publish artifacts feature instead of using the UNC. By default teamcity, will use the following location C:\ProgramData\JetBrains\TeamCity\system\artefacts to store the packages. If you try to specify C:\Packageartefacts\* => c:\tcoutput\CU_1.0.%build.counter%.zip in the command to override the default location. This will not work.Problem:Below is the error message you would see, … Read More Publish Artefacts feature in TeamCity

error MSB4057: The target “Package” does not exist in the project.

Scenario:Task is to create the web deploy Package for the solution/project using the teamcity build agent with MSbuild. Problem:Below is the Error message shown, in one of the previous below we did discuss about the similar issue for web.application targets. error MSB4057: The target “Package” does not exist in the project.Solution:Download web deploy 3.5 from the link… Read More error MSB4057: The target “Package” does not exist in the project.

error MSB4019: The imported project “C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\WebApplications\Microsoft.WebApplication.targets” was not found

Scenario: When Setting up Teamcity agent to do the Build for .Net Asp.net web application without installing visual studio Problem: Below is the error message shown in the teamcity logs: error MSB4019: The imported project “C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\WebApplications\Microsoft.WebApplication.targets” was not found Solution: Copy the following files from the development Machine into the teamcity agent. On… Read More error MSB4019: The imported project “C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\WebApplications\Microsoft.WebApplication.targets” was not found

Setting up TeamCity 8.1.2 With VisualStuido 2013 GIT TFS Unmet Requirements – Windows 2012 Teamcity Agent

Scenario: I have got a project MVC 5.0 using entity framework 6.0 in visualstudio online with GIT as source control. Also, my teamcity 8.1.2 is running under 2012 windows server. Now, the task is to build the solutions/projects using the teamcity. Known Touch points: By default, Windows server 2012 comes with .Net Framework 4.5.1. Server… Read More Setting up TeamCity 8.1.2 With VisualStuido 2013 GIT TFS Unmet Requirements – Windows 2012 Teamcity Agent

On Premises TFS 2013 Git With TeamCity – Project URL created with Spaces

Scenario:In one of the instance we have created the TFS 2013 Git project/Collection with spaces in the name. Example as belowTFS Sever name : Dinventivecode:8080Collection Name : webcode and serviceTeamName : Web GitBelow will be the URL generated: (Which is absolutely fine in normal instances)http://Dinventivecode:8080/tfs/webcode%20and%20service/_git/Web %20-%20GitNow, the task is to create the VCS root in the Teamcity… Read More On Premises TFS 2013 Git With TeamCity – Project URL created with Spaces