-
Notifications
You must be signed in to change notification settings - Fork 123
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
Not able to register the Addin #111
Comments
Do you have the DLL property "Embed interop types" set to Yes/True by accident? It should be set to No. |
I have set it to "No" |
Hello, Have you fixed the issue of swpublished dll ? I also the all the solidworks.interop.xxxx dll embed interop type to false, it doesn't work either. |
There is no known problem with the DLLs and "it doesn't work" isn't enough for us to help you. Please share a small project that lets someone reproduce the issue and share the exact errors you're seeing. I can think of three things that can go wrong:
|
Hello, I have also the same problem with the solidworks.interop.swpublished.dll. I had installed SW2018 (now deinstalled) and now I want update to SW2021 (installed). So i have test the NuGet. I get this information from the registration: RegAsm: warning RA0000: If you register an unsigned assembly with the / codebase option, the assembly may interfere with other applications installed on the computer. The / codebase option should only be used with signed assemblies. Give the assembly a strong name and reregister it. The used Version of SolidWorks.Interop.swpublished is 29.4.1.1! 28.1.0.74 is in SW2020. I also deleted it in the reference, this has no effect either. Link to my test project according to the AngelSix video https://www.youtube.com/watch?v=r8e3xFlmZ_o Is it possible, that SW2021 references are not yet implementet in the NuGet package? If I replace the SW2021 references in the AngelSix.SolidDNA project and don't use the NuGet package, it works fine. Thanks for your help. |
You are correct. The SW2021 DLLs are not yet in this NuGet package. They are in my fork, where I also made some bug fixes that are lingering here as PRs. I also made some big changes, so I'll add some documentation first. Thanks for the test project. I found out two things:
|
I am not able to register the dll because of Solidworks.interop.swpublished in the references of the project but as I remove the reference from the project I am able to register the dll but the addin is not loaded in solidworks neither able to debug it through visual studio
The text was updated successfully, but these errors were encountered: