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 can I run NUnit tests in Visual Studio 2017?

Add the NUnit test adapter NuGet package to your test projects 2.* (https://www.nuget.org/packages/NUnitTestAdapter/) 3.* (https://www.nuget.org/packages/NUnit3TestAdapter/) Or install the Test Adapter Visual Studio extension. There is one for 2.* (https://marketplace.visualstudio.com/items?itemName=NUnitDevelopers.NUnitTestAdapter) 3.* (https://marketplace.visualstudio.com/items?itemName=NUnitDevelopers.NUnit3TestAdapter). I prefer the NuGet package, because it will be in sync with the NUnit version used by your project and will thus automatically match the … Read more

Unit testing internal methods in VS2017 .NET Standard library

According to .NET docs for the InternalsVisibleToAttribute: The attribute is applied at the assembly level. This means that it can be included at the beginning of a source code file, or it can be included in the AssemblyInfo file in a Visual Studio project. In other words, you can simply place it in your own … Read more

Disabling highlighting of current line in the Visual Studio editor

Is there a simple way to disable this highlighting? Tools -> Options -> Text Editor, in the Display group, uncheck “Highlight current line” Which parameter in Fonts and Colors dialog controls the background color of the currently selected line in the editor? The colors are named “Highlight Current Line (Active)” and “Highlight Current Line (Inactive)”

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