How to use C# 7 with Visual Studio 2015?

You can replace the compiler shipped with Visual Studio for a C# 7-enabled version by installing the Nuget package Microsoft.Net.Compilers: Referencing this package will cause the project to be built using the specific version of the C# and Visual Basic compilers contained in the package, as opposed to any system installed version. There is no … Read more

Multiple Errors Installing Visual Studio 2015 Community Edition

After the failed install you have to repair the 2015 vc redistributables and restart the visual studio installer. The redistributable installer is messed up, it mixes up 64bit and 32bit dll’s. You can check if you have this problem by looking at the vcruntime140.dll file size. Search your windows folder for vcruntime140 you should see … Read more

Why does intellisense and code suggestion stop working when Visual Studio is open?

I should note that I haven’t had the issue since upgrading my RAM. I can’t confirm if it’s related but the problem was prevalent when I had 2-4GB RAM. No problems since going to 8 and 16GB. If only one file/window appears to be affected, close and reopen that file. If that doesn’t work, try … Read more

Visual Studio 2015 or 2017 does not discover unit tests

To my surprise, clearing temp files located in the %TEMP% directory resolved the issue for me. Note: This path is generally at C:\Users\(yourusername)\AppData\Local\Temp As @Warren-P included, you can navigate to the temp folder by putting in %temp% in Start Menu, or launch “File Explorer” and enter %temp% in the address bar.

How to install VS2015 Community Edition offline

edit: Starting from visual studio 2017 Microsoft is no longer offering .ISO images. For the new visual studio 2017 you have to download vs_community.exe from here and create an offline instalation folder: vs_community.exe –layout c:\vs2017offline Then, in order to install from that folder you have to first install certificates from \certificates in the download folder … Read more

Remove git mapping in Visual Studio 2015

The solution is much simpler than that. You simply need to remove three files from the project UNC Path. Navigate to your solution’s UNC Path. Example: C:\Users\Your User Name\Documents\Visual Studio 2015\Projects\Your Project Folder Then permanently delete (“SHIFT + DEL”) the .git* files and folder. There are two files and one folder, which may be hidden … Read more

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