| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Rebasing did not get rid of the changes in test unrelated to this commit. |
Sorry, something went wrong.
|
Aditya Patwardhan (@adityapatwardhan) if you click the TestCases tab, the test failure is your new test loading PSScheduledJob module. The other error output isn't fatal and fixed by #3968 |
Sorry, something went wrong.
There was a problem hiding this comment.
convention is to use leading underscore for private fields
Sorry, something went wrong.
There was a problem hiding this comment.
Wouldn't it be better to #ifdef !UNIX line 265 (calling this method) above as well as this whole method?
Sorry, something went wrong.
There was a problem hiding this comment.
I think this is a typo: chosenVersionDirectory
Sorry, something went wrong.
|
Steve Lee (@SteveL-MSFT) Fixed all CR comments. |
Sorry, something went wrong.
There was a problem hiding this comment.
You still have to return null if UNIX right?
Sorry, something went wrong.
When Resolve method is not able to find the assembly, we try to look it up from GAC. If found, the assembly is loaded and cached. There is a TestHook to disable GAC loading, but it is enabled by default.
|
Having a look at the test failure. |
Sorry, something went wrong.
|
Steve Lee (@SteveL-MSFT) All comments / issues fixed. Please have a look. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
|
Dongbo Wang (@daxian-dbw) Can you also have a look. Thanks! |
Sorry, something went wrong.
|
Looking now. |
Sorry, something went wrong.
| /// <summary> | ||
| /// Test hooks for PowershellAssemblyLoadContext | ||
| /// </summary> | ||
| public static class PowerShellAssemblyLoadContextTestHooks |
There was a problem hiding this comment.
We have public static class InternalTestHooks for test hooks.
Sorry, something went wrong.
There was a problem hiding this comment.
Ilya (@iSazonov) That is in a different assembly, so could not re-use it.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #2592
When Resolve method is not able to find the assembly, we try to look it up from GAC.
If found, the assembly is loaded and cached.
There is a TestHook to disable GAC loading, but it is enabled by default.