Programming in Visual Studio and Attaching to ugraf.exe
Programming in Visual Studio and Attaching to ugraf.exe
(OP)
I typically program within visual studio vb.net and during development of an application I am building an application and then attaching it to the process of nx (ugraf.exe). Typically, this works fine but for some reason now, I cannont attache to the process after I have attached to the process and my program crashes and I try to re=attach again. I keep getting the following error::
Error 17 Could not copy "obj\Debug\iRotorForging.dll" to "bin\Debug\iRotorForging.dll". Exceeded retry count of 10. Failed. iRotorForging
It's like NX still has a hold of the DLL and is not letting it go.
Error 17 Could not copy "obj\Debug\iRotorForging.dll" to "bin\Debug\iRotorForging.dll". Exceeded retry count of 10. Failed. iRotorForging
It's like NX still has a hold of the DLL and is not letting it go.





RE: Programming in Visual Studio and Attaching to ugraf.exe
RE: Programming in Visual Studio and Attaching to ugraf.exe
If it works write a "Pre-build event command line" in visual studio for deleting this folder.
Thanks,
Prasanna M
RE: Programming in Visual Studio and Attaching to ugraf.exe
www.nxjournaling.com
RE: Programming in Visual Studio and Attaching to ugraf.exe
CODE -->
Public Function GetUnloadOption(ByVal dummy As String) As Integer GetUnloadOption = UFConstants.UF_UNLOAD_IMMEDIATELY End Function