You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Migrations: Can we put migrations in Shared code for Universal Apps #814
The shared code for a universal app isn't an actual project, so there isn't a way to generate migrations to this location. Moving them after generation isn't too bad though.
@ErikEJ The heart of the problem is that the migration commands need to be installed into a project and invoked on that project. As far as I know, you can't install packages into shared projects (also, there's no associated assembly for that project). We might need to do some magic to let users "Invoke the commands on this project, but generate the code into this shared project."
changed the title [-]Migrations: Can we put migrtaions in Shared code for Universal Apps[/-][+]Migrations: Can we put migrations in Shared code for Universal Apps[/+]on Oct 10, 2014
Activity
ErikEJ commentedon Oct 8, 2014
Hmm - my VS add-in can generate code in a Shared Code "project"
bricelam commentedon Oct 8, 2014
@ErikEJ The heart of the problem is that the migration commands need to be installed into a project and invoked on that project. As far as I know, you can't install packages into shared projects (also, there's no associated assembly for that project). We might need to do some magic to let users "Invoke the commands on this project, but generate the code into this shared project."
ErikEJ commentedon Oct 8, 2014
@bricelam ah, its not just the files. Then no, no can do.
[-]Migrations: Can we put migrtaions in Shared code for Universal Apps[/-][+]Migrations: Can we put migrations in Shared code for Universal Apps[/+]divega commentedon May 7, 2015
It seems that we won't need this for new Windows 10 apps.