can't add existing project in visual studio

E

ed d

Hi,

When I try to create a new web project,
or "add existing project from web"
or "open from source control"

i'm prompted for a URL and type in a virtual directory.

-- with "add project from web" i just get a file dialog box in "my
documents" and browsing to the right project folder doesn't work.

-- with "create new project" visual studio then complains that the
virtual directory doesn't correspond to
c:\someRecentRandomProejct\NewProjectName. i'm allowed to type in the
correct directory, and everything's hunky dory.

if trying to open a project from source control, i get the same deal as
"create new project" i.e. Visual Studio makes a stupid guess at the
directory, but i'm not allowed to correct that guess.

So I imagine my task is to get VS and IIS to work together so VS can
infer the directory when i type in the URL?

I'm very unclear about IIS/websites/virtual directories. I'm just
assuming that if i can browse to the correct directory by typing in the
URL in IE, then visual studio ought to be able to do the same. (it
works for creating new projects, after all)

Any help would be much appreciated!

Edward
 
B

bradw2k

Once you can specify URL to add existing web project, sometimes you
must further enable Directory Browsing on the virtual directory (in
IIS) of the project you want to add.

Brad Williams
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top