Problem in Netload

Problem in Netload

youssefGC
Advocate Advocate
478 Views
3 Replies
Message 1 of 4

Problem in Netload

youssefGC
Advocate
Advocate

Hi everyone,

 

I am sharing an issue that I have encountered quite a few times. Sometimes, when I modify the code on which I generate a new file (dll) and open it in AutoCAD using the Netload command, the window that should alert in case of importing a new dll does not appear (see the window below). It seems like AutoCAD is unable to read the new file and instead saves the old one. Do you have any idea about the origin of the problem?

 

youssefGC_0-1700853075939.png

 

 

0 Likes
479 Views
3 Replies
Replies (3)
Message 2 of 4

kerry_w_brown
Advisor
Advisor

@youssefGC ,
Sorry, I'd need a translation of the displayed message.

Are you attempting to 'netload' a file that has a version currently loaded ?

Autocad can't allow that.

. . . but when debugging from VisualStudio you should be able to HotLoad code changes without closing and re-opening AutoCAD.

 

I can't understand this.


>>> It seems like AutoCAD is unable to read the new file and instead saves the old one. 

 

Regards,

 

 


// Called Kerry or kdub in my other life.

Everything will work just as you expect it to, unless your expectations are incorrect. ~ kdub
Sometimes the question is more important than the answer. ~ kdub

NZST UTC+12 : class keyThumper<T> : Lazy<T>;      another  Swamper
Message 3 of 4

youssefGC
Advocate
Advocate

Thank you for the reply,

The photo I shared is the normal window that you see when importing a new dll file for the first time.

 

To clarify, in my case, the first time I load the file, I encounter no issues. Afterward, I make some modifications in the code and regenerate the new dll file. Logically, if I reload the same file in AutoCAD, the window I shared should appear (since the file is regenerated by Visual Studio). Unfortunately, this is not the case for me.

 

Even the command does not support the new modifications I've made. It's as if AutoCAD retains the first version of the dll file.

 

 

0 Likes
Message 4 of 4

andrewpuller3811
Advisor
Advisor

Are you closing Autocad between loading the first dll and generating the new dll?

 

If not, you will not be able to generate the new dll successfully as Autocad will lock the file while it is in use.

 

 



If a post provides a fix for your issue, click on "Accept as Solution" to help other users find solutions to problems they might have that are similar to yours.

Andrew Puller
Maitland, NSW, Australia
Windows 11
Intel core i7 11800 @ 2.30 GHz with 32GB Ram
Civil 3d 2023
0 Likes