darrenwright
asked on
error compiling an application on new machine
I've picked up a windows app (vb.net 2005) compiled on somebody elses machine. When I try to compile it on my own machine, I get the error
"Error 16 Unable to create directory "D:\xxx\Lib\vb.net\". The device is not ready.
That directory doesn't exist on my machine - so I want to change it. Where, from within the IDE would this be configured?
I've found it in file appname.vbproj.filelist in the obj directory, so I deleted all the stuff in obj and bin directory and re-compiled, but I'm still getting the same error.
"Error 16 Unable to create directory "D:\xxx\Lib\vb.net\". The device is not ready.
That directory doesn't exist on my machine - so I want to change it. Where, from within the IDE would this be configured?
I've found it in file appname.vbproj.filelist in the obj directory, so I deleted all the stuff in obj and bin directory and re-compiled, but I'm still getting the same error.
Try creating an empty project and add all the existing files manually.
try looking in the project properties under the Debug tab that you dont have any command line calls to directories that do not exist in your computer.
ASKER
don't have any command line calls
and you also have the WorkingDirectory good? (on the same debug tab)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
got this working now. The build output path was pointing to bin\release on my C: drive, but no amount of saving and re-compiling would get rid of the error. If a viewed the project in notepad, it still showed d:\xxx\lib\vb.net as the outputpath.
In the end I changed the path, from the IDE, from bin\release to bin\release\xxx. This compiled successfully. I then changed it to bin\release\ again.
In the end I changed the path, from the IDE, from bin\release to bin\release\xxx. This compiled successfully. I then changed it to bin\release\ again.