Skip to content
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

Can not load SketchUpNET.dll #51

Open
alexfevery opened this issue Sep 6, 2022 · 3 comments
Open

Can not load SketchUpNET.dll #51

alexfevery opened this issue Sep 6, 2022 · 3 comments

Comments

@alexfevery
Copy link

alexfevery commented Sep 6, 2022

VS 2022 using x64

I installed 1.7.2 via Nuget and tried to run your example code. I get an exception

"System.IO.FileNotFoundException: 'Could not load file or assembly 'SketchUpNET.dll' or one of its dependencies. The specified module could not be found.'"

I tried deleting the reference and downloading the 1.7.3 dll and referencing that instead. Same error.

@ghost
Copy link

ghost commented Feb 23, 2023

Same error here. Could you please fix this issue and update the nuget package to 1.7.3?

@PauliusVa
Copy link

I think nuget package was deployed using debug mode , as i did a research i saw with Dependency Walker that it is targeting:
VCRUNTIME140D.DLL and according chat gpt its The "VCRUNTIME140D.DLL" file is a part of the Microsoft Visual C++ Redistributable package. The "D" in the filename indicates that it is a debug version of the DLL, which is typically used by developers for debugging purposes.
So usually when i deploy to machines that dont have visual studio installed they shouldnt have any debug versions of redistributables, thats why dependency chain is causing this. Can @moethu check what version you did the nuget package ?

@moethu
Copy link
Owner

moethu commented Oct 25, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants