VS Project References Broken On Case Sensitivity of GUID

TL;DR Visual Studio isn’t entirely consistent about how it assigns GUIDs to projects or how it specifies those GUIDs in project references. I was able to resolve the problem by using upper case GUIDs with braces for ProjectGuid elements and lower case with braces for Project elements (in references). Background We have a large solution … Read more

ReSharper: setting C# language level for Solution

I added below settings in .sln.DotSettings <s:String x:Key=”/Default/CodeInspection/CSharpLanguageProject/LanguageLevel/@EntryValue”>CSharp50</s:String> This line was added to .csproj.DotSettings when I tried to disable c#6 for a particular project. After adding this line in .sln.DotSettings resharper is reporting an error whenever I am trying to use c# 6.0 feature.

NuGet Package restore failed for project PROJECT: Unable to find version 2.0.0 of package ‘Microsoft.Net.Compilers’

Based on your error message looks like you are looking for a version that no longer exists and cannot tell which Package source you have selected. I feel like you are looking for version 2.0.0 which is not available in nuget.org repository. The latest one is 2.0.0-rc and it is pre release candidate. Please try … Read more

LoadFromContext Occurred

I’m running into the same issue after switching from Visual Studio 2013 to 2015. Some old projects (WPF, .NET 4.5, MVVM Light) produce this error – other not. In visual Studio i can skip the exception but newly created releases stop while loading and try to open the JIT Debugger. Until now the only solution … Read more

VS 2013 giving The operation could not be completed. Invalid pointer on Razor views

For anyone arriving here after installing Visual Studio 2015 Update 1 and then updating some packages, here is what fixed it for me: Close Visual Studio Delete %LocalAppData%\Microsoft\VisualStudio\14.0\ComponentModelCache Re-open Visual Studio I was getting this error message in VS2015 and the fix worked for me, so it seems to apply to 2013 and 2015. I … Read more

VS2015 nuget package manager not finding packages

This is a known issue with nuget version 3.4, which is included with Visual Studio 2015 Update 2: The NuGet.config file in your %AppData%\NuGet\ folder has accidentally been emptied. To fix this: Close Visual Studio 2015, delete the NuGet.config file in the %AppData%\NuGet\ folder and restart Visual Studio. A new NuGet.Config file will be generated … Read more

Work Items, Pull Requests menu not visible in Visual Studio

The reason is that you just connect to the local git repository and it likes this: You configured Remotes (Home=>Settings=>Repository Settings=>Remotes), so you can commit and sync. Refer to these steps to connect to the remote repository. Go to Team Explorer Click Manage connections=>Connect to Team project After that Open Solution in Solutions section (if … Read more

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