Solved

error compiling an application on new machine

Posted on 2006-11-13
6
231 Views
Last Modified: 2010-04-23
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.



0
Comment
Question by:darrenwright
  • 3
  • 2
6 Comments
 
LVL 8

Expert Comment

by:doraiswamy
ID: 17929296
Try creating an empty project and add all the existing files manually.
0
 
LVL 13

Expert Comment

by:newyuppie
ID: 17929526
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.
0
 

Author Comment

by:darrenwright
ID: 17929621
don't have any command line calls
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 13

Expert Comment

by:newyuppie
ID: 17929711
and you also have the WorkingDirectory good? (on the same debug tab)
0
 
LVL 13

Accepted Solution

by:
newyuppie earned 200 total points
ID: 17929725
also in the Compile tab, in the build output path, even though you may just see \bin, press the browse button anyway and check that you are indeed saving to the \bin directory on your drive and not on drive D:

finally, have you copied all of this project into your hard drive (C:)? or are you opening and trying to compile directly from the CD??
0
 

Author Comment

by:darrenwright
ID: 17929976
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.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now