Tuesday, October 19, 2021

TFS vs Git

 

"The major difference with branching between Git and TFVC is that TFVC makes copies of the parent from which it branched while Git branches are just pointers to a commit. On the other hand, Git simply creates a new stream of commits for a branch. Thereby keeping only deltas between commits and branches."

What is the difference between Git and Team Foundation Version Control? (askinglot.com)

Thursday, January 2, 2020

.NET: Roslyn Has a Missing Path

This error seems to occur when I am opening an upgraded web project in Visual Studio 2019: 
  

This happens when the current codebase is using older VS2015 templates. 

The simplest approach is to open NuGet's Package Configuration Console in Visual Studio and enter the following to upgrade the compiler: 

Update-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform -r 

REFERENCE:  
https://stackoverflow.com/questions/32780315/could-not-find-a-part-of-the-path-bin-roslyn-csc-exe

Tuesday, December 17, 2019

Git: Authentication Failed Error When Trying to Commit In Windows 10

Periodically, I get the following error when trying to commit to Git running in a Windows 10 environment: 


Eventually, I notice that this seems to happen after I update my Windows password.  To resolve this issue, I open Credential Manager and update the password there.  If that does not work, then I remove and let a new credential be created: 

  1. Open "Credential Manager" at "Control Panel\All Control Panel Items\Credential Manager" 
  2. Select "Windows Credentials" and locate the credential associated with Git.  
    1. ie, "git:https://hub.techsols.int" 
  3. Click "Edit" and update to latest Windows password.