Add-Migration command not working in EF 7 for UWP app RRS feed

  • Question

  • I'm following getting started with EF 7 for UWP apps official tutorial.

    When I'm at Add-Migration MyFirstMigration, it throws following error:

    PM> Add-Migration MyFirstMigration    
    Add-Migration : Exception calling "CreateInstanceAndUnwrap" with "8" argument(s): "Could not load file or assembly 'AppShellProject, Version=, Culture=neutral, PublicKeyToken=null'     or one of its dependencies. An attempt was made to load a program with an incorrect format."    At line:1 char:1    + Add-Migration MyFirstMigration    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~        + CategoryInfo          : NotSpecified: (:) [Add-Migration], MethodInvocationException        + FullyQualifiedErrorId : BadImageFormatException,Add-Migration

     Has anyone figured out any workaround?
    Wednesday, October 7, 2015 5:31 AM