-
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
Error with a COM project containing WPF/WinForms #120
Comments
Hello bclothier, the problem here is that dscom does not use the GAC. This is how it should work:
|
Thanks for the guidance. Adding the reference assemblies (it appears that I needed 2), I still get the duplicate GUID error:
We have several GUIDs defined so it's hard to tell which one is causing the problem. |
FWIW, this seems to work:
The duplicate ID is from the
Using the working example, I get only the last two Now that I have a working command-line example, I will need to translate it to the C# code accessing the |
Good to hear that you were able to generate a tlb. See: https://github.com/dspace-group/dscom#migration-notes-mscorelib-vs-systemprivatecorelib When I perform an export, the result looks like this:
|
Hi @bclothier, |
Apologies. I meant to circle back because I did have a follow up question. I worked out the logic for using the
As a property in my In both cases, the error is as following:
with additional warnings:
I should note that in the |
It appears that if a solution contains WPF & WinForms, there are errors within the library that prevents it from exporting correctly where the same DLL will export fine with the
System.Runtime.InteropServices
.To reproduce, use the
Rubberduck.dll
which can be obtained from here and run the command line tool:I get the following output:
The text was updated successfully, but these errors were encountered: