tfsbuild

Team Foundation Build or TeamCity?

谁都会走 提交于 2019-12-03 00:29:30
问题 We are a mostly MS shop at work doing .NET LOB development. We also use MS Dynamics for our CRM app... all the devs are currently using VS/SQL Server 2008. We also use VSS, but everyone hates it at work and that is quickly on its way out. We are begining our initiative for TDD implementation across the team (~dozen ppl). I've gotten TeamCity setup and have my first automated builds running succesfully using the 2008 sln builder and also using SVN that a co-worker had setup who is doing the

TFS Can't Restore NuGet Package

守給你的承諾、 提交于 2019-12-03 00:18:17
I've got TFS doing some continuous integration builds. Today, it broke for one solution. It seems it can't find AutoMapper. All the other packages can be found just fine. A couple relevant points: None of the packages are in source control, we're letting TFS restore them. We have an internal NuGet feed, but it doesn't seem to be a problem in other solutions, and in this solution we are still getting Entity Framework to restore - just not AutoMapper. I tried removing and re-adding the NuGet Packages. No luck. If I use Remote Desktop to connect to the build server and open the project in Visual

TF Build definition with Publish target and running unit tests

荒凉一梦 提交于 2019-12-02 21:29:26
问题 I've created a build definition using TF Build. It is the nightly build for our project. It should run the defined Unit Tests and it should package the Azure Cloud Service projects. This build has been running for some time without the packaging step. This resulted in a successful build that also ran the Unit Tests. Based on the following guide I have added the packaging of the Cloud Services: https://azure.microsoft.com/en-us/documentation/articles/cloud-services-dotnet-continuous-delivery/.

Team Foundation Server 2012 Express BuildTemplate process xaml files not opening

醉酒当歌 提交于 2019-12-02 18:46:16
问题 I have Visual Studio 2013 Express version:12.0.21005.1REL with Team Foundation Server 2012 express installed. I need to alter a Build Process xaml file however when I download from source control and open the file this happens: The machine I am using is a 64bit system running a 64 bit windows 7 - but I am very surprised this should happen. How exactly do I go about altering this build process when the design view is not operable and the xml is horridly difficult to read / alter. Are there any

NuGet auto-package restore just will not work for me on my build server

别说谁变了你拦得住时间么 提交于 2019-12-02 17:04:58
问题 I'm at wits end here. I've tried everything I can find to get NuGet to restore my packages on the TFS build server and nothing seems to work. (The latest changes I checked in I got here). I have read a lot about problems with older versions of the Build Process Template, so I just changed the build to use TfvcTemplate.12.xaml and still no packages are restored. This latest change (from the link above) had me delete the NuGet.targets file and now I get an error saying: This project references

TFS Rest API not working for logs

大憨熊 提交于 2019-12-02 14:15:04
问题 Any idea why this method does not work: GET https://{instance}/DefaultCollection/{project}/_apis/build/builds/{buildId}/logs?api-version=2.0 I am able to get build definition, etc. but when I try to get log based on this build ID, I'm getting this error: {"$id":"1","innerException":null,"message":"This API is only applicable to logs stored in the file container.","typeName":"Microsoft.TeamFoundation.Build.WebApi.InvalidLogLocationException, Microsoft.TeamFoundation.Build2.WebApi, Version=14.0

Team Foundation Build or TeamCity?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-02 14:06:21
We are a mostly MS shop at work doing .NET LOB development. We also use MS Dynamics for our CRM app... all the devs are currently using VS/SQL Server 2008. We also use VSS, but everyone hates it at work and that is quickly on its way out. We are begining our initiative for TDD implementation across the team (~dozen ppl). I've gotten TeamCity setup and have my first automated builds running succesfully using the 2008 sln builder and also using SVN that a co-worker had setup who is doing the source control analysis. When demoing to managament, I think they started to buy into my snake oil and

How to queue another TFS (2012) Build from a TFS Build AND pass process parameters?

丶灬走出姿态 提交于 2019-12-02 13:26:37
问题 The product I work on comprises 3/4 seperate (non-dependant) TFS builds. I would like to create a single TFS build which queues the other 3/4 builds from within the ProcessTemplate AND, critically, pass process parameters to them. This build would wait for them all to complete and return an overall success/failure of the build. So my questions are: Can this be achieved by any existing 'standard' Workflow activities (my manager has had bad experiences with custom workflow activities)? If not,

Missing tasks in VSTS

谁都会走 提交于 2019-12-02 13:01:39
I am currently trying to a build definition on VSTS. I am using Hosted agent, but for some reason it seems i am missing a lot of built in tasks. I am missing several of the tasks below. I want to deploy my application after running build and test, but the IIS Web Application Deployment is not available, any suggestions? Do i need to create my own powershell script to deploy? According to this link , the task might not be live yet? But this is a pretty old issue, so not sure if the information there are still relevant. This is a screenshot of what i have in the "Deploy" category: The IIS Web

TFS Rest API not working for logs

橙三吉。 提交于 2019-12-02 11:41:52
Any idea why this method does not work: GET https://{instance}/DefaultCollection/{project}/_apis/build/builds/{buildId}/logs?api-version=2.0 I am able to get build definition, etc. but when I try to get log based on this build ID, I'm getting this error: {"$id":"1","innerException":null,"message":"This API is only applicable to logs stored in the file container.","typeName":"Microsoft.TeamFoundation.Build.WebApi.InvalidLogLocationException, Microsoft.TeamFoundation.Build2.WebApi, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a","typeKey":"InvalidLogLocationException",