Re: Create an .sln file for an existing ASP.NET application

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



From the Visual Studio menu choose "File | New | Project..."
From the resulting dialog, under "Other Project Types" choose "Visual Studio
Solutions" and create a blank solution.
Then from the Visual Studio menu choose "File | Add | Existing Web Site" and point it to your web site to add it to your new solution.

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net



"Bruce" <bruce@xxxxxxxxxxxxxxx> wrote in message news:89B610F7-5F99-427B-AC2D-297B16216031@xxxxxxxxxxxxxxxx

I just copied the file folder containing an ASP.NET application from a backup on network share, to a new development workstation. But in the process, I've lost the .sln file.

(BTW, I am accostomed moreso to .NET Windows Forms development, where the .sln (and other metadata files) are all self-contained within the project file. In that case, I never have problems moving the project from one system or folder to another.)

How do you create a new .sln file for an existing porject folder? Or, am I way off base here and there is a "big picture" solution moving a project folder from one folder to another.

Thanks, Bruce

.



Relevant Pages

  • Visual Web Developer does not support creating Web sites on a SharePoint Web server
    ... new web site via File | New Web Site with location http. ... alias TestSite, and point it to the folder you created named TestSite. ... Now in Visual Studio you can create your new website using the above created ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Create an .sln file for an existing ASP.NET application
    ... under "Other Project Types" choose "Visual Studio Solutions" and create a blank solution. ... I've lost the .sln file. ... I never have problems moving the project from one system or folder to another.) ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Server.MapPath("/") doesnt work
    ... If you use "/" you will get to the root folder of the web site, but if your application is in a virtual folder, you will get the wrong address. ... running the first statement on via the internal Visual Studio ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Web site vs Web Application Project
    ... Just because the .sln file is in the same file system doesn't mean you have ... asks you to specify what files you want under source control. ... to leave a .sln file out, but having it in the solution folder makes it ... In VS2005, if you create a new web site at the start of your project, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Publishing web site wipes out my web services
    ... Put both of these files in the directory with your .sln file. ... seem to need to be in a subfolder of my web site. ... wwwroot folder containing my site, which maps to www.MySite.com, then ... web site coexist with a completely separate web service? ...
    (microsoft.public.dotnet.framework.aspnet)