Installing and Uninstalling Packages using NuGet Package Manager Console

Visual Studio 2013

July 15, 2014 | Posted in Visual Studio 2012

In Visual Studio under Tools, if you have NuGet installed you should see an option “NuGet Package Manager… Console”.

Here you can install and uninstall packages in the console by specifying the  -package, the -version and the -project and it takes care of the installation and references for you:

 

Install-Package EntityFramework -Version 5.0.0 -Project MyProject

Uninstsall-Package EntityFramework -Version 5.0.0 -Project MyProject

Read More →

Can’t DragDrop Items to Custom Windows Explorer or Windows Control in Visual Studio 2012

net_logo

July 15, 2014 | Posted in .Net

Are you running Visual Studio as “Administrator”? This could very well be your problem.

On windows Vista and later, windows explorer runs with medium integrity. If you run Visual Studio as “Administrator” it runs with high integrity which means the OS will disable DragDrop operatins based on a WIM, literally (Windows Integration Mechanism).

For some light reading, head over to the following URL..

http://msdn.microsoft.com/en-us/library/bb625957.aspx

“The Windows integrity mechanism is a core component of the Windows security architecture that restricts the access permissions of applications that are running under the same user account and that are less trustworthy..”

Read More →