Get TFS to ignore my packages folder

Here’s the deal: We have to tell both NuGet and TFS to ignore the packages, because NuGet is trying to do source-control related stuff that it absolutely shouldn’t be doing (bad form, Microsoft!). So you have to do two things. First, add a file named .tfignore to the solution folder (note the lack of s … Read more

Visual Studio 2015 TFS .tfignore file

First, please make sure your .tfignore file created without any problem. This file does not have any suffix. One way to create it suggest you to rename a new.txt file with “tfignore.” It will auto change to right .tfignore file. You can also use the auto automatically generated .tfignore file, follow below steps: In the … Read more

Is it able to ignore/disable the first step Get source in vNext Build?

Update: Now you should use below to avoid syncing sources at all: Classic Editor: agent.source.skip=true YAML: steps: – checkout: none It’s not able to directly disable/remove the Get Sources task. However, you could add a variable to achieve it: Build.SyncSources = false You can see from below screenshot, the Get Sources operation started and finished … Read more

Structure of Projects in Version Control

We practice highly componentised development using Java, we have about 250 modules in trunk that have independent life cycles. Dependencies are managed through Maven (that’s a best practice right there), every iteration (bi-weekly) actively developed modules get tagged with a new version. 3 digit version numbers with strict semantics (major.minor.build – major changes means backwards … Read more

specify project file of a solution using msbuild

msbuild test.sln /t:project /p:Configuration=”Release” /p:Platform=”x86″ /p:BuildProjectReferences=false Notice that what is assigned to /t is the project name in the solution, it can be different from the project file name. Also, as stated in How to: Build specific targets in solutions by using MSBuild.exe: If the project name contains any of the characters %, $, @, … Read more

BuildActivity ignores ToolsVersion

For those of us not living inside build templates every day here’s the steps that got it working for me: First find the template associated with your build (if you already know where to find it skip a couple steps). Just right click the build definition and select Edit build definition Select the Process tab … Read more