Open nphmuller opened 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.
Relating #51 because it might be important to the goal of this issue.
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