简体   繁体   中英

I need to create a project file for an ASP.NET website

I haven't got a solution file for a project that i have been asked to work on. However i have all the other aspx and aspx.cs files in one location on my comp. Is it possible for me to create a solution file or may be create a new website project in visual studio 2008 so i should be able to compile the website in visual studio.

Alternatively if someone can direct me to a link for setting up a website on IIS would be a great help but bare in mind i dont have a .sln or a .csproj file.

Any Help would be much appreciated.

Thanks in Advance, Nitesh.

You mention that you don't have "a solution file for a project". Check to see if you have a project file. If you do, you can just double click that and it will open that project in Visual Studio and place it in a solution.

Just to clarify. A project contains application files (aspx, aspx.cs, .cs etc), and solutions contain projects.

If you don't have a project file, I would create a new empty web application and then "add existing files" to it.

You can create a new website project in VS and then copy your files into it. Use the Show All Files button on Solution Navigator and add them to the project. Should work.

You'll want to create a new project and then add all of your existing files to it. See How to: Add Existing Items to a Project

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM