tfsbuild

Team Foundation Server 2012 Express BuildTemplate process xaml files not opening

房东的猫 提交于 2019-12-02 08:59:41
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 resources which can help me? Or is there anyway I can fix this? Rob J Visual Studio is opening the

Variables in TFS Mappings on Visual Studio Online Team Builds

倾然丶 夕夏残阳落幕 提交于 2019-12-02 07:20:27
问题 I have created a VSO build using the new Team build system which uses TFS as the Repository. I would like to introduce a variable into the Mappings -> Map value but when I do I get this error: TF10122: The path '$/YourProject/${Build}' contains a '$' at the beginning of a path component. Remove the '$' and try again. Is there a way to accomplish this or do I need to just hard code my Map path? 回答1: Mappings on the Repository page are used to specify source control folder which contains

TFS 2015 Build is not getting the Mapped path

不想你离开。 提交于 2019-12-02 06:43:31
For some reason my build definition are not working properly if long path mappings. If I were using the path $/Project/Samples it works OK. My build has this in the repository tab: Then the logs show that there is no SLN found, and I confirmed that nothing was downloaded to the agent working folders: For me it's a bug when getting sources, as I can't see a good why it is not getting correctly the files. I already tried to add files in some folders above and it works. Some ideas? Eddie Chen - MSFT "workspace version -1" usually occurs when there is no permission to access to the source control.

Automating Team Foundation Build configuration

好久不见. 提交于 2019-12-02 05:51:41
问题 I am currently searching for a way to configure a Team Foundation Build service + one build agent without having to use the configuration wizard. Is there a way to do this? Whether it be through command line (I haven't found any command line installation options for TFS Build), or through the API. Thanks! 回答1: To add to Pantelif: And there is a 3rd option, also unsupported: use the undocumented "/setup" commandline switch. And there is a 4th option, officially supported but still in beta: Use

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

試著忘記壹切 提交于 2019-12-02 05:14:23
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, I am able to 'shell out' to powershell. Can I achieve what I want from within Powershell (accessing the

Creating a build process template which does nothing but copy all files to another directory

大城市里の小女人 提交于 2019-12-02 03:48:01
I would like to create a Build Definition inside TFS 2012 Express which will simply copy all files within my project source tree to another folder on my drive. Just to underline - I do not want the build output to go to another directory - I want the source files themselves to. The reason for this is I have IIS pointed at a specific folder, and I want the build to copy the latest asp and aspx files to the IIS hosted folder. I am not sure of the intricacies of doing this, I did find : http://toadcode.blogspot.co.uk/2008/06/copy-multiple-files-via-tfs-build.html articles like this but I simply

How to connect TFS through Internet

孤街浪徒 提交于 2019-12-02 03:43:29
问题 I am working on a large application in team environment. We use to Team Foundation Server to control source code with VS2010.We are using LAN to connect TFS which works great in an small office but now we need to connect TFS through Internet. What actually I want to know that we have many developers they reside in different location worldwide. We want to download there work directly in the TFS server through Internet like LAN. We will have also connect LAN users who work on this application

How to get nuget restore in TFS build

你说的曾经没有我的故事 提交于 2019-12-02 02:52:38
I can't make it work TFS build. It is nuget restore issue. Nuget is not restoring reference dll files. Here is belwo my build configuration. Please advise me how I can make this works. As per this blog post on Nuget's website you can use the command line you mentioned, but it has to be part of a custom target using a Build.proj file. You need to add a Build.proj and put this as the contents: <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <OutDir Condition=" '$(OutDir)'=='' ">

NUnit failed to load in TFS build

随声附和 提交于 2019-12-02 02:12:34
I’m having a "build partially succeeded" issue with this error “NUnit failed to load e:\Builds\184\CSTax\706USServices_Test\bin\Calc.Tests.dll”, but all of the unit test in this project ran and passed (all green). Build environment 1) Using NUnit 2.6.4 and NUnit Test Adapter 2.0.0 2) TFS 2013 – upgraded from 2012 3) Visual studio 2012 and 2013 have been installed on the server 4) I did install the NUnit Test Adapter, using the Extensions and Updates in 2013 Visual Studio 5) Using build process templates from TFS 2012, even if I switch to the 2013 default build process templates I get the same

Microsoft Database Sync set up Continuous Integration with TFS 2012

徘徊边缘 提交于 2019-12-02 02:06:07
问题 With the right version of Visual Studio 2012 we can have database compared and synced I'm looking for way to integrate this synchronization process into a TFS build as in Continuous Integration for code; now I need that for database schema and data. Please share if you know how to do it. 回答1: Things changed a bit between VS 2010 and 2012. Assuming you're using VS 2012 (the link you posted was to 2010 tech), that means you're using SSDT (SQL Server Data Tools). So long as your SSDT project is