“Has invalid child element” warnings in Microsoft.Common.Targets while building

If I close all the editor windows, and then build it, all the warnings have disappered! Even a close & restart of visual studio did not fix this, but just closing all files from the editor window, including Microsoft.Common.Targets, fixed the problem. Arghhh Microsoft!! I found this out after looking at this link : http://social.msdn.microsoft.com/Forums/en/Vsexpressvb/thread/31f52b76-b0de-406d-9c25-2f329dd7cf1c … Read more

How to Enable WiX Projects in Visual Studio 2015

Update 2015-09-08: WiX Toolset 3.10 is released with official support for Visual Studio 2015 editions. It is available for download from wixtoolset.org. You can manually enable Visual Studio 2015 compatibility with WiX 3.9 or earlier: Copy C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\WiX to C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\WiX Then execute as Administrator: “C:\Program Files … Read more

How do I uninstall *all* nuget packages from a solution in Visual Studio

To get all packages from all projects in the solution use Get-Package. To get all packages from a specific project use Get-Package -ProjectName “YourProjectName”. Remove all packages from all projects in the solution Be careful: This will uninstall ALL packages in the solution. If -Force parameter is used, packages are removed even if dependencies exist. … Read more

Visual Studio 2015 break on unhandled exceptions not working

There’s a new window called “Exception Settings” that appears in the lower right pane by default when you begin debugging. It has all of the options you would expect. You can bring it up with CTRL+ALT+E This allows you to cherry-pick which exceptions cause a break in the debugger. The key, though, is that you … Read more

Visual Studio 2015 Update 1 spamming localhost

Another option for preventing fiddler from chewing up your CPU is write a rule in fiddler to ignore those requests. Goto Rules > Customize Rules… find the function OnBeforeRequest and add if(oSession.oRequest.headers[“host”]==”localhost:49155″){ oSession[“ui-hide”] = “true”; } so mine looks like this: static function OnBeforeRequest(oSession: Session) { if(oSession.oRequest.headers[“host”]==”localhost:49155″){ oSession[“ui-hide”] = “true”; } } as @matrixugly pointed … Read more

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