How to force Visual Studio not to add GlobalSection(Performance) section?

Open the PerformanceExplorer in Visual Studio by using the Menu Analyze -> Windows -> PerformanceExplorer and check if it lists any session entries. If so delete them by doing a right-click on an entry to open the ContextMenu. Then select “Remove” from the menu. You should also check the folder of your solution if it … Read more

How do I disable the Performance Explorer from opening every time?

This is actually BUG since Visual Studio 2012 that’s been open since summer 2012 with still no official MS fix. Here’s a workaround to this annoyance: From Windows explorer, go under your VS project folder Remove the following file types if present: file.vsp – (VS Performance Report) file.vsps – (VS Analyzed Reports) file.psess – (VS … Read more

What about Sql Server Data Tools for VS2012 being incompatible with Sql Server 2012?

I Installed SQL Server 2012 Service pack 1 yesterday and then I started getting the problem you describe in Visual Studio 2012. Not only with database projects; I could not use the SQL Server Object Explorer, not open sql-scripts and lots of other weird database related errors. Always with the same message: “This version of … Read more

Best way to add NuGet packages as project references in VS2012?

You can use Manage NuGet packages for Solution… by: right-clicking on solution Tools > Library Package Manager > Manage NuGet packages for Solution Then you can choose in which projects install package as on screenshot below: Additionally you can add installed package to another projects in solution using the same Manage NuGet packages for Solution….

How to change Visual Studio 2012,2013 or 2015 License Key?

I had the same problem and wanted to change the product key to another. Unfortunate it’s not as easy as it was on VS2010. The following steps work: Remove the registry key containing the license information: HKEY_CLASSES_ROOT\Licenses\77550D6B-6352-4E77-9DA3-537419DF564B If you can’t find the key, use sysinternals ProcessMonitor to check the registry access of VS2012 to locate … Read more

Specifying results filename for vstest.console.exe

EDIT: See @AnaFranco’s answer – apparently since VS2017 the file name can be configured like so: vstest.console.exe [assembly] /logger:trx;LogFileName=[filename].trx I’ll leave the old answer for posterity and pre-2017 versions. Nope, you’re not missing anything. The TRX logger doesn’t support any parameters (unlike the TFS publisher logger). The logger assembly is located in “C:\Program Files (x86)\Microsoft … Read more

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