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

NetUnload?

10 REPLIES 10
Reply
Message 1 of 11
Anonymous
1145 Views, 10 Replies

NetUnload?

Is there such a thing as NetUNload?
debuging in dotnet is painful as one has to close autocad to free up the dll
for a rebuild with each edit.
is there any quicker way?


eg if i'm in dotnet...
build project
netload dll in acad
test
back to dotnet
edit
build
error, can't write to dll as other process has a lock on it...

any ideas?
thanks
mark
10 REPLIES 10
Message 2 of 11
Anonymous
in reply to: Anonymous



 



"mp" <nospam@Thanks.com> wrote in message
news:6307510@discussion.autodesk.com...
> Is there such a thing as
NetUNload?
> debuging in dotnet is painful as one has to close autocad to
free up the dll
> for a rebuild with each edit.
> is there any
quicker way?
>
>
> eg if i'm in dotnet...
> build
project
> netload dll in acad
> test
> back to dotnet
>
edit
> build
> error, can't write to dll as other process has a lock
on it...
>
> any ideas?
> thanks
>
mark
Message 3 of 11
Anonymous
in reply to: Anonymous


Thanks will check it out

mark

 


style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>



 



"mp" <nospam@Thanks.com> wrote in message
news:6307510@discussion.autodesk.com...
> Is there such a thing as
NetUNload?
> debuging in dotnet is painful as one has to close autocad
to free up the dll
> for a rebuild with each edit.
> is there any
quicker way?
>
>
> eg if i'm in dotnet...
> build
project
> netload dll in acad
> test
> back to
dotnet
> edit
> build
> error, can't write to dll as other
process has a lock on it...
>
> any ideas?
> thanks
>
mark
Message 4 of 11
Anonymous
in reply to: Anonymous


well, now having read the article perhaps it does
not apply to express version?

it says go to tools options debugging

in express tools options there is no debugging
entry


style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>


Thanks will check it out

mark

 


style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>



 



"mp" <nospam@Thanks.com> wrote in message
news:6307510@discussion.autodesk.com...
> Is there such a thing as
NetUNload?
> debuging in dotnet is painful as one has to close autocad
to free up the dll
> for a rebuild with each edit.
> is there
any quicker way?
>
>
> eg if i'm in dotnet...
>
build project
> netload dll in acad
> test
> back to
dotnet
> edit
> build
> error, can't write to dll as other
process has a lock on it...
>
> any ideas?
>
thanks
> mark
Message 5 of 11
Anonymous
in reply to: Anonymous

Hello mp,
Check the article on the Through the Interface site for how to setup debugging
with Express

http://through-the-interface.typepad.com/through_the_interface/2006/07/debugging_using.html
Message 6 of 11
Anonymous
in reply to: Anonymous

Thanks Michael
Yes i know how to start acad from debug in ide, but that's not the issue.
set up that way when i stop debugging acad will close. not good
in fact worse than bad, acad closes with no prompt to save changes, in case
something was edited while open!

If i start acad first, then debug, the dll is still loaded into acad and
cant' be rebuilt till acad is closed. not good.
since edit and continue appears to be not avail in express and as i read on
the listed site in other reply not that good a solution anyway.
thanks anyway
mark

"Michael Robertson" wrote in message
news:6307713@discussion.autodesk.com...
Hello mp,
Check the article on the Through the Interface site for how to setup
debugging
with Express

http://through-the-interface.typepad.com/through_the_interface/2006/07/debugging_using.html
Message 7 of 11
Anonymous
in reply to: Anonymous

Mark
If you don't have the discipline to save a document before you attempt to
run a debug app I have no sympathy for your situation.
Regards
Kerry

"mp" wrote in message
news:6308082@discussion.autodesk.com...
Thanks Michael
Yes i know how to start acad from debug in ide, but that's not the issue.
set up that way when i stop debugging acad will close. not good
in fact worse than bad, acad closes with no prompt to save changes, in case
something was edited while open!

If i start acad first, then debug, the dll is still loaded into acad and
cant' be rebuilt till acad is closed. not good.
since edit and continue appears to be not avail in express and as i read on
the listed site in other reply not that good a solution anyway.
thanks anyway
mark

"Michael Robertson" wrote in message
news:6307713@discussion.autodesk.com...
Hello mp,
Check the article on the Through the Interface site for how to setup
debugging
with Express

http://through-the-interface.typepad.com/through_the_interface/2006/07/debugging_using.html
Message 8 of 11
Anonymous
in reply to: Anonymous

Mark:

VS launch AutoCAD and VS terminate AutoCAD when you set it to do it (ie,
starting an external app), and VS will do it the fast(er) way, specially
about terminating it. So it's up to you to save any thing *before* stopping
the debugger. However, i think you can add an event handler (to your app)
to automatically save your work before Autocad destroy the current db.

Regards,

Gaston Nunez



"mp" wrote in message
news:6308082@discussion.autodesk.com...
> Thanks Michael
> Yes i know how to start acad from debug in ide, but that's not the issue.
> set up that way when i stop debugging acad will close. not good
> in fact worse than bad, acad closes with no prompt to save changes, in
> case something was edited while open!
>
> If i start acad first, then debug, the dll is still loaded into acad and
> cant' be rebuilt till acad is closed. not good.
> since edit and continue appears to be not avail in express and as i read
> on the listed site in other reply not that good a solution anyway.
> thanks anyway
> mark
>
> "Michael Robertson" wrote in message
> news:6307713@discussion.autodesk.com...
> Hello mp,
> Check the article on the Through the Interface site for how to setup
> debugging
> with Express
>
> http://through-the-interface.typepad.com/through_the_interface/2006/07/debugging_using.html
Message 9 of 11
mike.tuersley
in reply to: Anonymous

I agree with Kerry and will take it a step further - you shouldn't be using vs if you don't understand why acad closes if you start it with debug and then stop debugging.

As for edit and continue, it works fine in express 2008 and 2010 beta, and if I recall, 2005 as well. If it doesn't in 2005, solve it by upgrading to 2008. Edited by: mike.tuersley@hotmail.com on Dec 21, 2009 11:20 PM
Message 10 of 11
Anonymous
in reply to: Anonymous

Yes, I do that too, but if you do, then make sure you clean out your %temp%
folder every now and then, because all AutoCAD's temp files are left intact
when you terminate with the debugger.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

"Gaston Nunez" wrote in message
news:6308124@discussion.autodesk.com...
Mark:

VS launch AutoCAD and VS terminate AutoCAD when you set it to do it (ie,
starting an external app), and VS will do it the fast(er) way, specially
about terminating it. So it's up to you to save any thing *before* stopping
the debugger. However, i think you can add an event handler (to your app)
to automatically save your work before Autocad destroy the current db.

Regards,

Gaston Nunez



"mp" wrote in message
news:6308082@discussion.autodesk.com...
> Thanks Michael
> Yes i know how to start acad from debug in ide, but that's not the issue.
> set up that way when i stop debugging acad will close. not good
> in fact worse than bad, acad closes with no prompt to save changes, in
> case something was edited while open!
>
> If i start acad first, then debug, the dll is still loaded into acad and
> cant' be rebuilt till acad is closed. not good.
> since edit and continue appears to be not avail in express and as i read
> on the listed site in other reply not that good a solution anyway.
> thanks anyway
> mark
>
> "Michael Robertson" wrote in message
> news:6307713@discussion.autodesk.com...
> Hello mp,
> Check the article on the Through the Interface site for how to setup
> debugging
> with Express
>
> http://through-the-interface.typepad.com/through_the_interface/2006/07/debugging_using.html
Message 11 of 11
Anonymous
in reply to: Anonymous

wrote in message
news:6308145@discussion.autodesk.com...
I agree with Kerry and will take it a step further - you shouldn't be using
vs if you don't understand why acad closes if you start it with debug and
then stop debugging.

As for edit and continue, it works fine in express 2008 and 2010 beta, and
if I recall, 2005 as well. If it doesn't in 2005, solve it by upgrading to
2008.

Edited by: mike.tuersley@hotmail.com on Dec 21, 2009 11:20 PM

I didn't say i didn't understand why, I just don't care for the time it
takes to have to restart acad everytime you want to edit and build. just
wishing someone would offer some cheese to go with my whine 🙂
mark

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost