-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mixed assembly support #207
Comments
Hi @gureedo , what kind of mixed assemblies are you talking about? 32-bit and 64-bit assemblies? Different .NET versions? C# and c++ ? Can you provide an example for what you want to do? |
Hi! |
Which version worked and is it only the newest version which is affected? I'll have to take a closer look how the previous fix or the dependency updates introduced the problem. |
Current behavior was introduced in #192 |
Thank you, that's very helpful. I'll take a closer look what I can do about it and talk to @mlessmann who wrote the relevant change. The problem which motivated the change is sadly not documented here in GitHub. But it's likely that this will take some days to resolve. |
Maybe we could check in the Dispose method whether it is a mixed assembly. Mybe with...
stack overflow to the rescue... Unfortunately, I'm not really familiar with mixed assemblies. |
I'm not using mixed assemblies either, so we will have to find an example to test things. My first idea was to introduce a But I'll also take a closer look at your suggestion tomorrow. because having to manually specify the option can get tedious. |
#207 We will have to evaluate if this fixes the problem
After further study of the problem: Your idea will not work @marklechtermann because to use Also the So the only way I see to do it is to select the desired behavior before creating the |
Brief explanation of the patch: We (@SOsterbrink and @matthiasnissen) discussed this today. |
* fix: Set AssemblyLoadContext to be not unload-able #207 * fix: removed call to unload the assembly
Fixed with Release v1.5.0 |
Hi!
Is it possible to return mixed assembly support?
Latest version is unable to perform tlbexport for mixed assembly or assembly with mixed assembly dependency.
I have digged a bit and found that AssemblyLoadContext is constructed with unload feature which is not supported for mixed assemblies.
The text was updated successfully, but these errors were encountered: