Coffeehouse Thread

3 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

VS won't let me add Web Projects

Back to Forum: Coffeehouse
  • User profile image
    W3bbo

    'lo

    This bug has been annoying me for a while now.

    VS2003, I create a new solution and go: Add > Project From Web, since it's a ASP.NET Web Project. So I type in: "http://proj/SiteName/W3b.Sites.SiteName.vbproj", but VS ignores this and opens up the "Browse for Project" dialog.

    ...so I go along with this and choose the Project file from the mapped network drive (Z:\proj\SiteName), but then it tells me:

    ---------------------------
    Microsoft Development Environment
    ---------------------------
    The project you are trying to open is a Web project. You need to open it by specifying its URL path.
    ---------------------------
    OK   Help  
    ---------------------------


    Argh!

    ...but it won't let me use the URL path to the project file!

  • User profile image
    Sven Groot

    You need to give not the full url to the project file, but only the path to the virtual folder, so http://proj/SiteName/. The browse for project dialog will then let you browse on the server for the project file.

  • User profile image
    blowdart

    You cheat.

    This behaviour is damned annoying because you have to specify the web server path. However you can edit the project file so it's not treated this way, instead it's treated as a class library, but you have the correct wizards.

    See http://pluralsight.com/wiki/default.aspx/Fritz/AspNetWithoutWebProjects.html

    That's how the subtext solution is setup. You then just setup a vdir in IIS and away you go.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.