SketchUpNET icon indicating copy to clipboard operation
SketchUpNET copied to clipboard

Can not load SketchUpNET.dll

Open alexfevery opened this issue 2 years ago • 3 comments

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.

alexfevery avatar Sep 06 '22 21:09 alexfevery

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

ghost avatar Feb 23 '23 22:02 ghost

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 ?

PauliusVa avatar Oct 20 '23 09:10 PauliusVa

Thanks for reporting this, I guess I must have packed the debug version. Will check this.El 20.10.2023, a las 11:40, Paulius @.***> escribió: 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 ?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

moethu avatar Oct 25 '23 06:10 moethu