How To Create an Icon for Visual Studio with just MSPaint and Visual Studio

Creating an icon in MSPaint works just fine. Here’s how you should proceed to get it to work. In Visual Studio Open Resources.resx from Solution Explorer (it’s in the Properties folder) Choose Icons from DropDown Menu on the left [Ctrl+3] Choose Add New Icon from the DropDown Menu Add Resource Enter a name for the … Read more

What is the difference between MSTest.TestAdapter vs MSTest.TestFramework and when do I need which one?

So Visual Studio uses a framework called Visual Studio Test Platform to load test adapters, https://github.com/Microsoft/vstest To discover or execute test cases, VSTest would call the test adapters based on your project configuration. (That’s why NUnit/xUnit/MSTest all ask you to install a test adapter NuGet package to your unit testing projects). So MSTest.TestAdapter exists for … Read more

Visual Studio 2017 Debug Error: To prevent an unsafe abort when evaluating the function *.toString all threads were allowed to run

I add the same error message but with a different function name : To prevent an unsafe abort when evaluating the function ‘Microsoft.VisualStudio.Debugger.Runtime.Tracing.Refresh’ all threads were allowed to run. This may have changed the state of the process and any breakpoints encountered have been skipped. This is how I got rid of this pesky bug … Read more

How to prevent visual studio 2017 from build javascript?

Simple Answer In your csproj file, add the following line to the existing PropertyGroup block: <PropertyGroup> <TypeScriptCompileBlocked>true</TypeScriptCompileBlocked> </PropertyGroup> If adding .ts or .tsx files to your project causes your project file to be modified, you may need to apply the following fix. See the bug report for more details. <ItemGroup> <None Remove=”**/*.ts;**/*.tsx” /> <Content Remove=”**/*.ts;**/*.tsx” … Read more

Unable to find nuget local source error occurred while restoring nuget packages the local source doesn’t exist

The package sources can be found in the Visual Studio options (Tools -> Options) under NuGet Package Manager -> Package Sources or directly by clicking on the according icon in the NuGet dialog (context menu of a solution/project -> Manage NuGet Packages…): Your local package source should then be listed in the following dialog: The … Read more

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