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)”

Publish to IIS, setting Environment Variable

This answer was originally written for ASP.NET Core RC1. In RC2 ASP.NET Core moved from generic httpPlafrom handler to aspnetCore specific one. Note that step 3 depends on what version of ASP.NET Core you are using. Turns out environment variables for ASP.NET Core projects can be set without having to set environment variables for user … Read more

visual studio 2015 vshub is spamming fiddler

This is a relatively new problem because System.NET used to ignore proxy settings for localhost, and therefore Fiddler wouldn’t see the traffic by default (http://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/ConfigureDotNETApp) – see bottom section. Now this no longer appears to be the case, so I expect more people will have the same question. Fiddler supports several ways to filter requests, … Read more

Why is the Visual Studio 2015/2017/2019 Test Runner not discovering my xUnit v2 tests

Eliminate discovery exceptions from your inquiries; go to the output Window (Ctrl-Alt-O), then switch the show output from dropdown (Shift-Alt-S) to Tests and make sure there are no discovery exceptions Test|Test settings|Default processor architecture can help if your tests are x86/x64 specific and discovery is triggering bittedness-related exceptions, i.e. not AnyCpu As suggested in this … Read more

Typescript error “Cannot write file … because it would overwrite input file.”

In my instance, I was using the outDir option but not excluding the destination directory from the inputs: // Bad { “compileOnSave”: true, “compilerOptions”: { “outDir”: “./built”, “allowJs”: true, “target”: “es5”, “allowUnreachableCode”: false, “noImplicitReturns”: true, “noImplicitAny”: true, “typeRoots”: [ “./typings” ], “outFile”: “./built/combined.js” }, “include”: [ “./**/*” ], “exclude”: [ “./plugins/**/*”, “./typings/**/*” ] } All … Read more

What makes the Visual Studio debugger stop evaluating a ToString override?

Update: This bug has been fixed in Visual Studio 2015 Update 2. Let me know if you are still running into problems evaluating ToString on struct values using Update 2 or later. Original Answer: You are running into a known bug/design limitation with Visual Studio 2015 and calling ToString on struct types. This can also … Read more

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