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.