teamcity

TeamCity - Where is the automation

♀尐吖头ヾ 提交于 2019-12-13 14:28:25
问题 We installed TeamCity and TFS and they work fine. My question is how are these two supposed to make our workflow efficient? Once I make changes to code on my dev machine, I have to go to TeamCity UI to run the builds and tests? Where is the automation in this.. I am manually doing it anyway... am I missing an important piece here? I can run builds and unit tests on my dev machine too. All developers making changes, need to go to TeamCity UI to build with updated code? I was kind of expecting

Build and test with TeamCity and Fakes Framework

痞子三分冷 提交于 2019-12-13 13:12:28
问题 We are running a TeamCity 8.1.4 buildserver with VS2013 installed on the machine. I've recently introduced tests which rely on the Microsoft Fakes Framework. Because of this I had to add some references to the new Fake assemblies and the Microsoft.VisualStudio.TestTools.UnitTesting assembly. This all runs fine on my local development machine. Now, when I try to build the solution on the TeamCity server, the following errors are thrown: SomeDirectory\Processors\ProcessorTests.cs(3, 27): error

How do I make a TeamCity build appear in the TFS Build Explorer?

痞子三分冷 提交于 2019-12-13 12:26:31
问题 We are using TFS 2010 for source control and project management, and TeamCity 6.0 for performing builds and build reporting (CI and daily deployments for testers). Setting up TFS source labeling in TeamCity to match the build number was very straightforward, but I cannot find a way to link this back to TFS Build Explorer. We want link these to be able to assign bugs to particular builds through TFS for the daily tester deployment builds. 回答1: I don't know if you can, at least without some

Setting Teamcity version number with counter from file

做~自己de王妃 提交于 2019-12-13 12:12:14
问题 I'm currently trying to update the version no. in TeamCity using a Nant build file, containing the version number. If I just use <property name="versionNo" value="2.16.3."/> . . <echo message="##teamcity[buildNumber '${versionNo}']"></echo> In the script the buildNumber is update to 2.16.3 but I would also like to have the counter on this version number. Meaning I would like to have <echo message="##teamcity[buildNumber '${versionNo}.{0}']"></echo> But this doesn't work. Does anybody know how

MSBuild step in TeamCity considers app.config instead of web.config for ASP.NET WEB API project resulting in warning MSB3247

安稳与你 提交于 2019-12-13 12:06:54
问题 I have ASP.NET WEB API project with Web.conig file. When it builds in VS2015, no errors and no warnings are reported. However when I build this project on TeamCity using MSBuild build step, I get warning MSB3247: [ResolveAssemblyReferences] ResolveAssemblyReference [14:30:01] : [ResolveAssemblyReference] No way to resolve conflict between "protobuf-net, Version=2.0.0.602, Culture=neutral, PublicKeyToken=257b51d87d2e4d67" and "protobuf-net, Version=2.0.0.480, Culture=neutral, PublicKeyToken

“Could not load file or assembly” when building using team city

主宰稳场 提交于 2019-12-13 11:38:58
问题 I'm running into an issue with unit tests on our Team City (8.0.4) build server - the code builds & runs all tests locally via Resharper and nCrunch. But when running on the server I get the following error, even though the Unity assembly exists in the same directory as the unit test assembly, and is referenced in the unit test assembly. SetUp method failed. SetUp : System.IO.FileNotFoundException : Could not load file or assembly 'Microsoft.Practices.Unity, Version=2.0.414.0, Culture=neutral

How to call methods with enum parameter from freemarker

ⅰ亾dé卋堺 提交于 2019-12-13 07:47:30
问题 I want to customize Teamcity notification email with freemarker template. It's feasible to get Teamcity data model from freemarker. The data model is look like below <#-- @ftlvariable name="project" type="jetbrains.buildServer.serverSide.SProject" --> <#-- @ftlvariable name="buildType" type="jetbrains.buildServer.serverSide.SBuildType" --> <#-- @ftlvariable name="build" type="jetbrains.buildServer.serverSide.SBuild" --> <#-- @ftlvariable name="agentName" type="java.lang.String" --> <#--

Build error due to Async BCL packages without VS 2012 on a CI server (Team City)

孤者浪人 提交于 2019-12-13 07:41:38
问题 I develop an application that has to run on Windows XP (so the .Net Framework has to be 4.0). I need to reference Async BCL packages in order to use async/await in some of my projects. I have correctly referenced the following packages to the targeted projects as mentioned by ThomasArdal in his answer (Async Targeting Pack without Visual Studio 2012 on BuildServer): Microsoft.BCL Microsoft.BCL.Async Microsoft.BCL.Build Unfortunately the build fails when it is run from TeamCity on my CI server

unity3d-plugin for Teamcity seems doesn't see Unity folder

半世苍凉 提交于 2019-12-13 07:18:19
问题 Greeting to everyone! I'm trying to start use of Teamcity Unity3d-runner-plugin. After Successful install on server and setup build step in project , it is unable to build project. Project doesn't start to work with warning message: Warning: No enabled compatible agents for this build configuration. Please register a build agent or tweak the build configuration requirements. on the Agent Requirement page there is a message agent (disconnected) Incompatible runner : Unity Unmet requirements :

Getting MSBuild error MSB3202 when running a build with TeamCity

蹲街弑〆低调 提交于 2019-12-13 05:41:30
问题 I was given the task to research and implement CI for our small .Net shop. After doing our research, we selected TeamCity to our automated builds. Installing TeamCity and MSBuild was pretty straight forward but the issue is when I started the build. I would always get an error. From the looks of things, it's trying to call the Shared Library project so the first thing I did was edit the VCS to include the Shared Library but that did not resolve the issue. Please review the log from the build