Detecting your installed .net core version by console

If want to check which .net core version, sdk’s and runtimes are installed on your machine you can easily check in console by typing:

dotnet --info

You will get a result looking like:

Getting .net core infos in console
Getting .net core infos in console

Like mentioned in the result you can install another version or sdk by visiting https://aka.ms/dotnet-download and following the instructions or do it directly in visual studio.

There you have to open the project properties and select the targetframework dropdown. You can find an option named install another framework there. By clicking on it the browser opens and you’ll be transfered to https://dotnet.microsoft.com/download/visual-studio-sdks where you can download runtimes and sdk’s.

Visual Studio – Git – Azure DevOps – Error pushing/pulling changes

Today I tried to connect to my Azure DevOps Account via Visual Studio to push some changed data of a project to git. First I got the error „Git failed with a fatal error. Authentication failed„. In my case the solution was to delete an entry in the windows credential manager. Read here how to open it. Just open the tab Windows Credentials and search for an entry looking like git:<yourdevopsservername>. Then you can delete it!

Afterwords I tried to open Visual Studio again to push my data to git. I got an error again saying „could not read username for visual studio terminal prompts disabled„. The solution for this case was to delete the file %localAppData%\GitCredentialManager\tenant.cache.

Hope this two steps will help someone to not spend more than one hour on solving the problem like me 😉