Where does Visual Studio 2017 store its config?

I found the answer in this blog post: See how empty is the regular HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\15.0 key on my machine and notice that there is no 15.0_Config key: Instead, the VS 2017 private registry is stored in your AppData folder: Fortunately, you can use regedit.exe to load a private hive. You need to select the HKEY_USERS … Read more

Clear stored TFS credentials in Visual Studio 2017

Please try below items to narrow down the issue: Remove the TFS related credentials from Credential Manager In Credential Manager add the new updated Generic Credentials for the TFS account. Generally, this would overwrite the cached credentials. Close all Visual Studio instances, delete %LOCALAPPDATA%\.IdentityService as you did. Clear TFS caches %LOCALAPPDATA%\Microsoft\Team Foundation\7.0\Cache Clear all the … Read more

Strange issue with System.Net.Http 4.2.0.0 not found

The problem you’re facing is related to Visual Studio, especially 2017 which is shipped with System.Net.Http v4.2.0.0. However, adopting the new way whereby any references should be done via NuGet, latest version of System.Net.Http which is 4.3.3 contains the dll version 4.1.1.2. The problem is that VS at build time and at run time as … Read more

How can I fix the Microsoft Visual Studio error: “package did not load correctly”?

I started to see this on a fresh Windows and Visual Studio 2013 Ultimate with Update 2 installation (although others have also reported it on Updates 3 and 4, as well as the Professional version). To resolve the problem, close all Visual Studio instances, then delete all files in the following folder: Visual Studio 2013 … Read more

Equivalent to AssemblyInfo in dotnet core/csproj

As you’ve already noticed, you can control most of these settings in .csproj. If you’d rather keep these in AssemblyInfo.cs, you can turn off auto-generated assembly attributes. <PropertyGroup> <GenerateAssemblyInfo>false</GenerateAssemblyInfo> </PropertyGroup> If you want to see what’s going on under the hood, checkout Microsoft.NET.GenerateAssemblyInfo.targets inside of Microsoft.NET.Sdk.