Visual Studio 2017 – Could not load file or assembly ‘System.Runtime, Version=4.1.0.0’ or one of its dependencies

I had the same problem and no suggested solutions that I found worked. My solution for this issue was: Check App.config and packages.config to see if the versions match. Originally my app.config contained: <dependentAssembly> <assemblyIdentity name=”System.Runtime” publicKeyToken=”b03f5f7f11d50a3a” culture=”neutral” /> <bindingRedirect oldVersion=”0.0.0.0-4.1.1.0″ newVersion=”4.1.1.0″ /> </dependentAssembly> But the packages.config contained: <package id=”System.Runtime” version=”4.3.0″ targetFramework=”net461″ requireReinstallation=”true” /> I … Read more

Auto Versioning in Visual Studio 2017 (.NET Core)

Add <Deterministic>False</Deterministic> inside a <PropertyGroup> section  of .csproj The workaround to make AssemblyVersion * working is described in “Confusing error message for wildcard in [AssemblyVersion] on .Net Core #22660” Wildcards are only allowed if the build is not deterministic, which is the default for .Net Core projects. Adding <Deterministic>False</Deterministic> to csproj fixes the issue. The reasons why .Net Core … 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 refresh the list of remote branches in my Visual Studio 2017 Team Explorer panel?

If you want Visual Studio 2017 to ALWAYS prune on fetch (I do, I add and remove a LOT of branches for UI work), once you install 3rd party Git (can do from Settings within Team Explorer, Git section) there will be a new option in Global Settings (also in Git section) to ‘Prune remote … Read more

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