We wrote FlubuCore (rewrite of Flubu). It’s an open source C# library for building projects and executing deployment scripts using C# code. Main advantages of flubu that I see are: .Net Core support. Easy to learn and to use because you write build script entirely in C#. Fluent interface and intelisense. Quite a lot of … Read more
Alternatively you could also add a NuGet Installer build step before the Visual Studio Build step in your build configuration to restore all NuGet packages. There you can pass the location of your private repo as argument to nuget.exe: -source “https://www.nuget.org/api/v2/;http://mynugetserver”
TFS redefined what “Get Latest” does. In TFS terms, Get Latest means get the latest version of the files, but ignore the ones that the server thinks is already in your workspace. Which to me and just about everyone else on the planet is wrong. See this link: http://blogs.microsoft.co.il/blogs/srlteam/archive/2009/04/13/how-get-latest-version-really-works.aspx The only way to get it … Read more
I just found one easy way to do this: Create a new Workspace in TFS pointing to a separate folder, then switchover to this new workspace and do a Get Specific Version here. Makes sense now, I just hadn’t ever tried that.
Just as Daniel said “Git and TFVC are the two source control options in TFS“. Fortunately both are supported for now in VS Code. You need to install the Azure Repos Extension for Visual Studio Code. The process of installing is pretty straight forward. Search for Azure Repos in VS Code and select to install … Read more
You need to install Team Explorer, it’s best to install the version of Team Explorer that matches the version of TFS you are using e.g. if you’re using TFS 2010 then install Team Explorer 2010. 2012 version http://www.microsoft.com/en-gb/download/details.aspx?id=30656 2013 version http://www.microsoft.com/en-us/download/details.aspx?id=40776 2019 version https://visualstudio.microsoft.com/downloads/#visual-studio-team-explorer-2019 You also might be interested in the TFS power tools. They … Read more
One of TFS undervalued features is cloaking. Like SVN’s ignore, cloaking will let you ignore a certain folder or files. Cloaking a Folder Cloaking a folder is easy: just right click a folder on the source control explorer and select Cloak Cloaking a File The UI doesn’t expose cloaking on a single file, but sometimes … Read more
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
For anyone having the same issue a work around is to undo your pending changes. When you get the confirmation dialog choose “No to all”. Only your pending changes should be left.
Unfortunately sharing of the Publish Profile is not supported or implemented in MSBuild. The logic to publish from the profile is contained in VS itself. Fortunately the profile doesn’t contain much information so there are ways to achieve what you are looking for. Our targets do not specifically support the exact same steps as followed … Read more