mrahhal / Migrator.EF6

.NET Core CLI tool to enable EF6 migrations in an Asp.Net Core app.
MIT License
82 stars 15 forks source link

Binding redirects lost because of manual relaunching of tool #49

Open nphmuller opened 6 years ago

nphmuller commented 6 years ago

Currently DotnetToolDispatcher is used to re-launch the tool at runtime. Because of this manual relaunching all the magic that dotnet cli does (like taking care of the binding redirects) is lost.

I'll try to strip out this part in the coming days and simply try calling Worker.Execute() at that point.

See: https://github.com/dotnet/cli/issues/6028#issuecomment-346174568

mrahhal commented 6 years ago

Not sure if this will work, maybe there's an alternative to dispatching, but I explained why this is necessary at https://github.com/dotnet/cli/issues/6028#issuecomment-346250164.

mrahhal commented 6 years ago

Relating #51 because it might be important to the goal of this issue.