Title: AddReference FileNotFoundException · Issue #1077 · pythonnet/pythonnet · GitHub
Open Graph Title: AddReference FileNotFoundException · Issue #1077 · pythonnet/pythonnet
X Title: AddReference FileNotFoundException · Issue #1077 · pythonnet/pythonnet
Description: Environment Pythonnet version: 2.4.0 Python version: 3.7 Operating System: Windows10 Details clr.FindAssembly("VcClient") it output: 'D:\\home\\lzw\\VcClient.dll' but when I AddReference in this path it report exception: clr.AddReference...
Open Graph Description: Environment Pythonnet version: 2.4.0 Python version: 3.7 Operating System: Windows10 Details clr.FindAssembly("VcClient") it output: 'D:\\home\\lzw\\VcClient.dll' but when I AddReference in this pa...
X Description: Environment Pythonnet version: 2.4.0 Python version: 3.7 Operating System: Windows10 Details clr.FindAssembly("VcClient") it output: 'D:\\home\\lzw\\VcClient.dll' but when I AddRe...
Opengraph URL: https://github.com/pythonnet/pythonnet/issues/1077
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"AddReference FileNotFoundException","articleBody":"### Environment\r\n\r\n- Pythonnet version: 2.4.0\r\n- Python version: 3.7\r\n- Operating System: Windows10\r\n\r\n### Details\r\n\r\n```\r\nclr.FindAssembly(\"VcClient\")\r\n```\r\nit output:\r\n```\r\n'D:\\\\home\\\\lzw\\\\VcClient.dll'\r\n```\r\nbut when I AddReference in this path it report exception:\r\n```\r\nclr.AddReference(\"D:\\\\home\\\\lzw\\\\VcClient.dll\")\r\n\r\n---------------------------------------------------------------------------\r\nFileNotFoundException Traceback (most recent call last)\r\n\u003cipython-input-43-045a91f26209\u003e in \u003cmodule\u003e\r\n----\u003e 1 clr.AddReference(\"D:\\\\home\\\\lzw\\\\VcClient.dll\")\r\n\r\nFileNotFoundException: Unable to find assembly 'D:\\home\\lzw\\VcClient.dll'.\r\n at Python.Runtime.CLRModule.AddReference(String name)\r\n```\r\n","author":{"url":"https://github.com/lzw-all-in","@type":"Person","name":"lzw-all-in"},"datePublished":"2020-03-04T05:58:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/1077/pythonnet/issues/1077"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1d69b48e-e7ed-a39e-1fcc-7bc9ce6ea7ab |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D3BA:2F3C5F:2FE5EA6:4092910:69706333 |
| html-safe-nonce | b38a51833b7034d2c4c3fd93001f17c43e058c561455cdbf6a84e718ac9ca50a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0JBOjJGM0M1RjoyRkU1RUE2OjQwOTI5MTA6Njk3MDYzMzMiLCJ2aXNpdG9yX2lkIjoiODcyMzc0MjAzOTQ2Mzk0NDE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bfb398728eba0a2cbc2c8d10c8b4009b0753e9fe6bfbc7711c76c8e208afa2a0 |
| hovercard-subject-tag | issue:575157278 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/pythonnet/pythonnet/1077/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6d11660534aee3461520aee52a02393798eeebd9f5ba9ac4d4fc99a1afcdb61f/pythonnet/pythonnet/issues/1077 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6d11660534aee3461520aee52a02393798eeebd9f5ba9ac4d4fc99a1afcdb61f/pythonnet/pythonnet/issues/1077 |
| og:image:alt | Environment Pythonnet version: 2.4.0 Python version: 3.7 Operating System: Windows10 Details clr.FindAssembly("VcClient") it output: 'D:\\home\\lzw\\VcClient.dll' but when I AddReference in this pa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lzw-all-in |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| go-import | github.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git |
| octolytics-dimension-user_id | 6050430 |
| octolytics-dimension-user_login | pythonnet |
| octolytics-dimension-repository_id | 14748123 |
| octolytics-dimension-repository_nwo | pythonnet/pythonnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14748123 |
| octolytics-dimension-repository_network_root_nwo | pythonnet/pythonnet |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width