Execute project dependency command from output directory for Desktop.
Created a new command resolver called OutputPathCommandResolver which reolves a command from the project build output directory. Made changes ProjectDependenciesCommandFactory to use OutputPathCommandResolver if the target framework is Desktop. Fixes - #2126 Still need to add tests.
This commit is contained in:
parent
5e617bbb43
commit
1db2c08fb5
4 changed files with 122 additions and 4 deletions
|
@ -11,6 +11,7 @@ namespace ConsoleApplication
|
|||
#elif NETSTANDARD1_5
|
||||
Console.WriteLine($"Hello {string.Join(" ", args)} From .NETStandardApp,Version=v1.5");
|
||||
#endif
|
||||
Console.WriteLine($"Base Directory - {AppContext.BaseDirectory}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue