Error CS1056: Unexpected character ‘$’ running the msbuild on a tfs continuous integration process

The problem can be fixed installing a Nuget package Microsoft.Net.Compilers. Below is the link of my highlighted answer: Project builds fine with Visual Studio but fails from the command line That feature is a syntactic sugar for C#6, try to install the latest version of the framework 4.6.2 https://www.microsoft.com/en-us/download/details.aspx?id=53345 Then go to your Project properties … Read more

How to unlock a file from someone else in Team Foundation Server

Here’s what I do in Visual Studio 2012 (Note: I have the TFS Power Tools installed so if you don’t see the described options you may need to install them. http://visualstudiogallery.msdn.microsoft.com/b1ef7eb2-e084-4cb8-9bc7-06c3bad9148f ) If you are accessing the Source Control Explorer as a team project administrator (or at least someone with the “Undo other users’ changes” … Read more

What’s the difference between git-tf and git-tfs?

Disclaimer: I started the git-tf project and although the project is now in very capable hands without me as a frequent contributor, you should absolutely consider my opinions on this to be strongly biased. (And, assuming you’re on Windows, perhaps unexpected.) There are two fundamental differences between the two tools: git-tfs was built for Windows … Read more

How can I exclude a specific file from TFS source control

It’s easy in TFS2012, create a .tfignore file http://msdn.microsoft.com/en-us/library/tfs/ms245454%28v=vs.110%29.aspx#tfignore ###################################### # Ignore .cpp files in the ProjA sub-folder and all its subfolders ProjA\*.cpp # # Ignore .txt files in this folder \*.txt # # Ignore .xml files in this folder and all its sub-folders *.xml # # Ignore all files in the Temp sub-folder \Temp … Read more

Remove TFS Connection From Solution

To completely remove TFS source control binding follow these two steps: Go to your solution’s folder, find and delete all files with *.vssscc and *.vspscc extensions. Open your solution’s .sln file in Notepad, and find & remove the GlobalSection(TeamFoundationVersionControl) section. More details on reference Link