Detect release / debug in gulp using Visual Studio 2015

I know this has been around for awhile but I recently ran into the same issue and was unhappy with the other solutions and workarounds that I found in answers here on SO. I found a very nice solution that we went with in the comments on the aspnet github page: https://github.com/aspnet/Home/issues/1231#issuecomment-182017985 I hope that … Read more

Simple example using System.Data.SQLite with Entity Framework 6

A similar question is asked over here: Entity Framework 6 with SQLite 3 Code First – Won’t create tables kjbartel gives very useful explanation that table creation is not supported by the EF SQLite Driver. Also see https://github.com/msallin/SQLiteCodeFirst, which provides an excellent solution. I installed the SQLite.CodeFirst NuGet package, and added the below code, then … Read more

Possible to stop generating *.ipdb *.iobj files by VIsual Studio 2015?

These files are produced when Incremental Link-Time Code Generation (LTCG) is enabled. This is a new feature in Visual C++ 2015. If you disable Incremental LTCG, the linker will stop producing these files. But then you lose the benefits of Incremental LTCG. To disable Incremental LTCG, modify your project properties: Under Linker => Optimization change … Read more

How to disable peek on go to definition

Check the Visual Studio options: Disable “Control click shows definitions in Peek” option in: Options→Productivity Power Tools→Other Extentions. Disable “Allow new files to be opened in preview tab” in: Options→Environment→Tabs and Windows. Ensure you have F12 key assigned to Edit.GoToDefinition per Global scope in: Options→Environment→Keyboard. UPDATE: It works for Visual Studio 2017 as well.

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