Trying to create new sln for existing files

Posted on 2009-12-16
Last Modified: 2013-11-27
I have just checked out a new project that has no .sln from subversion. The project now resides on my harddrive. Now I would like to create a new Visual Studio .sln for the project in the very same directory as where the files for the project exist. Then I would simply add the project files to this .sln.
There is a functionality in in VS called "Create project from Existing Files"  (Under File --New). Which makes it sound as if this is exactly what I need. However, I need the output type to be a web application and this type is not available in the dropdown for the output type. (It only lists Console Application, Windows Application, or Class Library)

Any suggestions on how to accomplish this would be greatly appreciated.

Question by:jazzcatone
    LVL 8

    Accepted Solution

    Before closing the Solution after opening website as a folder will ask you to save the solution or not. If you give Yes then the Sln file will be saved in the Visual Studio Default projects folder.


    1) Open the website from ur Project Folder (When you open the Website itself a solution will be created automatically)
    2) Close Solution will ask you to save
    3) Press Yes will save

    LVL 6

    Assisted Solution

    This may be that the project that you checked out from subversion is a website rather than a web application.  If you go to visual studio it will let you open up the web site.  Once open in visual studio, you can right click the project and select convert to web application.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
    Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    779 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

    14 Experts available now in Live!

    Get 1:1 Help Now