.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

HELP!!! Unable to load .dll

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
songmaverick
544 Views, 6 Replies

HELP!!! Unable to load .dll

I would like to learn C# to code some function in order to simply the my drawing work..

My IDE : Visual Studio

AUTUCAD 2020

I use Class Library (.NET Framework) templates to create a project and build solution.

songmaverick_1-1686543699272.png

 

I add accoremgd,  acdbmgd,  acmgd in Reference.

songmaverick_0-1686543658324.png

I get the .dll from /bin/Debug/.dll and type 'netload' in CAD 2020 to load the .dll file.

But I get this result as follows

songmaverick_2-1686543901665.png

 

I repeat these on my colleague's CAD2020, it is OK..

Could anyone tell me what is wrong with my computer?

Thank!!!

6 REPLIES 6
Message 2 of 7
kdub_nz
in reply to: songmaverick

Please Clarify.
Is the dll that doesn't load on your machine loading on your associated machine

or

are you rebuilding on your associates machine and loading it there ?

By any chance are you ignoring a Trusted Location warning ??

 


// Called Kerry in my other life.

Everything will work just as you expect it to, unless your expectations are incorrect.

class keyThumper<T> : Lazy<T>;      another  Swamper

Message 3 of 7
songmaverick
in reply to: kdub_nz

Thanks for your reply!!

I do not build the solution on my colleague's computer and I use the same .dll to netload in cad

I am sure no  Trusted  warning appears .

I type 'netload' and choose the .dll and it says unable to .....

there is a warning appearing in my colleagues' CAD .

My colleague's warning is below

songmaverick_0-1686546623300.png

 

I am confused that there is no warning in my CAD!!

Tags (1)
Message 4 of 7
songmaverick
in reply to: songmaverick

Option -> System ->Security Options 

change the Security Level from High to Medium

 

Message 5 of 7
songmaverick
in reply to: kdub_nz

Thanks for your reply , which reminds me of changing the Security Level
I could netload .dll
Message 6 of 7
kdub_nz
in reply to: songmaverick

I had a suspicion it was a 'trust' issue becaue I've seen the wording of the message when cancelling the load from the Security dialog.

Glad it's working.


// Called Kerry in my other life.

Everything will work just as you expect it to, unless your expectations are incorrect.

class keyThumper<T> : Lazy<T>;      another  Swamper

Message 7 of 7
songmaverick
in reply to: kdub_nz

Thank you very much

I set high security level before . So the warning would not come out .

Your reply reminds me of this .. 

 

Thank you again!!

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


AutoCAD Beta