Title: Unhandled Exception when scanning native assemblies · Issue #495 · scriptcs/scriptcs · GitHub
Open Graph Title: Unhandled Exception when scanning native assemblies · Issue #495 · scriptcs/scriptcs
X Title: Unhandled Exception when scanning native assemblies · Issue #495 · scriptcs/scriptcs
Description: I am using Windows 8.1 64-bit and I ran ScriptCS in my root folder where I have an existing bin folder. An exception is thrown when trying to load mfcm90.dll. I read /issues/249 about ScriptCS loading all assembles. It suggested a try/ca...
Open Graph Description: I am using Windows 8.1 64-bit and I ran ScriptCS in my root folder where I have an existing bin folder. An exception is thrown when trying to load mfcm90.dll. I read /issues/249 about ScriptCS load...
X Description: I am using Windows 8.1 64-bit and I ran ScriptCS in my root folder where I have an existing bin folder. An exception is thrown when trying to load mfcm90.dll. I read /issues/249 about ScriptCS load...
Mail addresses
notifications@github.com
notifications@github.com
Opengraph URL: https://github.com/scriptcs/scriptcs/issues/495
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unhandled Exception when scanning native assemblies","articleBody":"I am using Windows 8.1 64-bit and I ran **ScriptCS** in my root folder where I have an existing bin folder. An exception is thrown when trying to load \u003ccode>mfcm90.dll\u003c/code>. I read scriptcs/scriptcs/issues/249 about **ScriptCS** loading all assembles. It suggested a try/catch block around \u003ccode>AssemblyName.GetAssemblyName\u003c/code> which was merged/implemented in scriptcs/scriptcs/pull/250.\n\nFrom what I am reading at [Troubleshooting: BadImageFormatException in .NET applications](http://support.dtsearch.com/dts0223.htm) and [Moving from 32-bit to 64-bit application development on .NET Framework](http://blogs.msdn.com/b/gauravseth/archive/2006/03/07/545104.aspx) could this be an issue with trying to load 32-bit & 64-bit assemblies in the same \u003ccode>AppDomain\u003c/code>?\n\nOn StackOverflow, I found [BadImageFormatException on DLL...](http://stackoverflow.com/questions/4655652/badimageformatexception-on-dll-load-and-provider-not-registered-on-local-machine) which mentions the [CorFlags Conversion Tool ](http://msdn.microsoft.com/en-us/library/ms164699%28v=vs.80%29.aspx). So I have included the output from that tool below.\n\n```\nC:\\bin\\depot_tools\\python_bin\\Lib\\site-packages\\pythonwin>corflags mfcm90.dll\nMicrosoft (R) .NET Framework CorFlags Conversion Tool. Version 4.0.30319.18020\n\nCopyright (c) Microsoft Corporation. All rights reserved.\n\nVersion : v2.0.50727\nCLR Header: 2.5\nPE : PE32\nCorFlags : 0x18\nILONLY : 0\n32BITREQ : 0\n32BITPREF : 0\nSigned : 1\n\nC:\\bin\\depot_tools\\python_bin\\Lib\\site-packages\\pythonwin>corflags mfcm90u.dll\nMicrosoft (R) .NET Framework CorFlags Conversion Tool. Version 4.0.30319.18020\n\nCopyright (c) Microsoft Corporation. All rights reserved.\n\nVersion : v2.0.50727\nCLR Header: 2.5\nPE : PE32\nCorFlags : 0x18\nILONLY : 0\n32BITREQ : 0\n32BITPREF : 0\nSigned : 1\n\nC:\\bin\\depot_tools\\python_bin\\Lib\\site-packages\\pythonwin>\n```\n\nScreen shot of the error & DLL:\n\n\n\n","author":{"url":"https://github.com/BlackFrog1","@type":"Person","name":"BlackFrog1"},"datePublished":"2013-10-25T05:27:47Z","url":"https://github.com/scriptcs/scriptcs/issues/495"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:59b7c1df-d99c-64b0-fdd9-227392069563 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A64C:2714DE:2B57FF6:3AE0034:6B004CE2 |
| html-safe-nonce | 7253831f7bf15434567bb59b7d1ead1b484b68b846369300cb7cdba5ab8d6175 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjRDOjI3MTRERToyQjU3RkY2OjNBRTAwMzQ6NkIwMDRDRTIiLCJ2aXNpdG9yX2lkIjoiMTM3NDYzMjg3MjE4MjMwMzk3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2cb77af55148eb866f907222de2b472420a2bfb20ae8f58b0603c712ca35189b |
| hovercard-subject-tag | issue:21570781 |
| 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/scriptcs/scriptcs/495/issue_layout |
| twitter:image | https://opengraph.githubassets.com/53cc7cbf2f23230173494d8be8739e5687395612a43cca926d9b0a55091dec30/scriptcs/scriptcs/issues/495 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/53cc7cbf2f23230173494d8be8739e5687395612a43cca926d9b0a55091dec30/scriptcs/scriptcs/issues/495 |
| og:image:alt | I am using Windows 8.1 64-bit and I ran ScriptCS in my root folder where I have an existing bin folder. An exception is thrown when trying to load mfcm90.dll. I read /issues/249 about ScriptCS load... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | BlackFrog1 |
| hostname | github.com |
| expected-hostname | github.com |
| None | f9517bf360d46638a1e5e7daee7158842fe5ef43c9000afa0e127564a7c2f39b |
| turbo-cache-control | no-preview |
| go-import | github.com/scriptcs/scriptcs git https://github.com/scriptcs/scriptcs.git |
| octolytics-dimension-user_id | 3758046 |
| octolytics-dimension-user_login | scriptcs |
| octolytics-dimension-repository_id | 8473240 |
| octolytics-dimension-repository_nwo | scriptcs/scriptcs |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 8473240 |
| octolytics-dimension-repository_network_root_nwo | scriptcs/scriptcs |
| 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 | b27c5dde30676028abd5c5fc53ce5c9b625f8281 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width