title: Enabling Code First Entity Framework VS Web Express 2012
body: <p>I am trying to enable Code First in my Visual Studio Web Express 2012. From what I have read so far I have to use the Package Manager Console and the command Enable-Migrations.  When I do this I get the following error. </p>
  
  <pre><code>Exception calling "LoadFrom" with "1" argument(s): "Could not load file or assembly 'file:///E:\Working\wingtoysdl\C#\packages\EntityFramework.5
  .0.0\tools\EntityFramework.PowerShell.Utility.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)"
  At E:\Working\wingtoysdl\C#\packages\EntityFramework.5.0.0\tools\EntityFramework.psm1:398 char:62
  +     $utilityAssembly = [System.Reflection.Assembly]::LoadFrom &lt;&lt;&lt;&lt; ((Join-Path $toolsPath EntityFramework.PowerShell.Utility.dll))
      + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
      + FullyQualifiedErrorId : DotNetMethodException
  
  You cannot call a method on a null-valued expression.
  At E:\Working\wingtoysdl\C#\packages\EntityFramework.5.0.0\tools\EntityFramework.psm1:399 char:50
  +     $dispatcher = $utilityAssembly.CreateInstance &lt;&lt;&lt;&lt; (
      + CategoryInfo          : InvalidOperation: (CreateInstance:String) [], RuntimeException
      + FullyQualifiedErrorId : InvokeMethodOnNull
  
  Exception calling "CreateInstanceFrom" with "8" argument(s): "Could not load file or assembly 'file:///E:\Working\wingtoysdl\C#\packages\EntityF
  ramework.5.0.0\tools\EntityFramework.PowerShell.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515
  )"
  At E:\Working\wingtoysdl\C#\packages\EntityFramework.5.0.0\tools\EntityFramework.psm1:431 char:31
  +     $domain.CreateInstanceFrom &lt;&lt;&lt;&lt; (
      + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
      + FullyQualifiedErrorId : DotNetMethodException
  </code></pre>
  
  <p>As you can see it is a very large error making it very hard to google and troubleshoot. Does anyone have any ideas on how I can fix this?</p>