Title: PS should try to load the assembly from file path first before loading from assemblyName by chunqingchen · Pull Request #4196 · PowerShell/PowerShell · GitHub
Open Graph Title: PS should try to load the assembly from file path first before loading from assemblyName by chunqingchen · Pull Request #4196 · PowerShell/PowerShell
X Title: PS should try to load the assembly from file path first before loading from assemblyName by chunqingchen · Pull Request #4196 · PowerShell/PowerShell
Description: Fix issue #3325 Summary of the issue: visual studio cannot import the right assembly contains in their test vsix package through package manage console. It will always load the assembly contains in the vs location Root cause of the issue: loadassembly funtion will always try to load the assembly based on the assembly name first, then try the filename. In this case, no matter what assembly path psd1 file gives, ps will ignore and load the assembly in the vs cache. Fix: Since the filename is given, we should try it first before going to the assembly name. The test scenario of this issue is very specific and does not contains in our ps enviroment. Attached the screen shot before/after the fix. Before the fix: After the fix:
Open Graph Description: Fix issue #3325 Summary of the issue: visual studio cannot import the right assembly contains in their test vsix package through package manage console. It will always load the assembly contains in...
X Description: Fix issue #3325 Summary of the issue: visual studio cannot import the right assembly contains in their test vsix package through package manage console. It will always load the assembly contains in...
Opengraph URL: https://github.com/PowerShell/PowerShell/pull/4196
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:d7cbc700-ad08-665a-129f-ba57df7ab16d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ADE4:BD310:2EBBF3:41954D:6A579F56 |
| html-safe-nonce | 0fa7a26ed65dcc1c9845678030ff5261ebfe5ba883370d9a444c0293e25ee9d4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREU0OkJEMzEwOjJFQkJGMzo0MTk1NEQ6NkE1NzlGNTYiLCJ2aXNpdG9yX2lkIjoiMjU5NjMxNDY5NDM1ODExNDEzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ee999d5d8c5901375c98216d462627c60c7d947a5048a53d34bb74f24f3536b1 |
| hovercard-subject-tag | pull_request:129365562 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/PowerShell/PowerShell/pull/4196/files |
| twitter:image | https://avatars.githubusercontent.com/u/16246343?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/16246343?s=400&v=4 |
| og:image:alt | Fix issue #3325 Summary of the issue: visual studio cannot import the right assembly contains in their test vsix package through package manage console. It will always load the assembly contains in... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 017a07c29bdd8a37b5907fc9a689338deb7103b5af7f56714193b2700229b3df |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0dd6847d644323df8f8c1368c065f9f630095e3b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width