forked from dotnet/msbuild
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Look for dependencies next to task assemblies
Fixes dotnet#658. Assume we have an assembly called Task.dll that contains some number of tasks a project may wish to use, and that Task.dll depends on Dependency.dll. Currently .Net Core version of MSBuild can load Task.dll and run the tasks within it, but will fail to find and load Dependency.dll unless it is located immediately next to msbuild.exe. The fix here is to update `CoreCLRAssemblyLoader` (our implementation of the `AssemblyLoadContext` type) to remember the directories of loaded task assemblies and to search those directories when trying to satisfy a dependency.
- Loading branch information
1 parent
0242a62
commit f59dcfb
Showing
4 changed files
with
56 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.