Visual Studio 2017 – How to fix error: We could not refresh the credentials for the account

This bug will be fixed in a future version. For now: Close down VS2017 Go to “C:\Users\{username}\AppData\Local\.IdentityService” Rename “IdentityServiceAdalCache.cache” as shown below. (for example just add an underscore to it) Restart VS2017 and log in. NOTE: There are similar issues that this won’t resolve, but this worked for me.

Visual Studio 2017, JavaScript intellisense inconsistencies

JS files are for javascript and are not transpiled using the typescript compiler. If you are using typescript then keep all your typescript in ts files. Also, you shouldn’t put typescript inside your cshtml files because typescript is not javascript. You need to use the typescript compiler to transpile your typescript into javascript which you … Read more

TypeScript’s string enums – “Type … is not assignable to type …”

This is because typescript version. Open command prompt or terminal. then run these commands. Check TypeScript version tsc -v should be higher than 2.4 if not. install latest version of typescript globally npm install typescript -g Open your package.json file of the project and change typescript version like this with newly installed version “typescript”: “~2.6.1” … Read more

Can’t push git, visual studio. Git failed with a fatal error. fatal: HttpRequestException encountered

Cause: GitHub updated their security requirements on the server side. They no longer support TLS 1.0 and 1.1, only 1.2. Older Git Credential Manager for Windows versions used 1.0. Solution: Update Git for Windows. Version 2.14.3 and newer include an up-to-date Git Credential Manager for Windows. Alternatively you can update only the Git Credential Manager … Read more

Visual Studio 2017 15.3.0 git changes include “storage.ide” even though .vs/ in .gitignore

To fix this, if you got to the Team Explorer tab and click on the Manage Connections button (the green one a the top) you will see a list of local Git Repositories. Right click on the repository you want to stop tracking the storage.ide file on and select Open Command Prompt. You should then … Read more

The term ‘Add-migration’ is not recognized – VS2017 and EntityFrameworkCore

The solution that worked for me after trying a whole raft of other solutions posted, was to: right click on my project select Manage Nuget Packages select the browse tab thick Include prerelease check box install the Microsoft.EntityFrameworkCore.Tools N.b that aspnetcore project in visual studio 2017 do not seem to have the project.json file.

Where can I find Microsoft.TeamFoundation.Build.Client in Visual Studio 2015?

Microsoft.TeamFoundation.Build.Client.dll still ships with VS 2015. For the 2015 release, we have removed the client OM DLLs from the GAC. In the RC release you can find the DLL in c:\program files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer. It’s kind of an obscure place. The TFS 2015 client OM RTM NuGet package is now available (also … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)