Fix resources on *.csproj builds
Commands: Use the directory of the last migration. Start a new namespace when migrations for a different context already exist.

Fixes #1231