Yasir
Yasir

Reputation: 65

How to add project (.sln) into existing asp.net website files

I have tried almost all methods to make new project using exisiting files of asp.net in vs 2010 but i failed to run on new machine. each time i did this it shows error that "could not load project from d:\path name" etc etc that is my last computer path name

Now what i am looking for , i have a website and all asp.net pages but i am unable to see its working by single click on project exe . please help me out that how i can make project using existing asp.net files

remember : i have only asp.net pages to laod directly into visual studio but i want project exe so when i click on .sln file i can see site working.

Upvotes: 2

Views: 2758

Answers (1)

logixologist
logixologist

Reputation: 3834

In order for it to work you need to keep in mind you have to use original source code and not pre-compiled code from the server. To import your old files into a .sln file:

  • Create a New Website/Web Application
  • Add Existing Item Select item(s) that you are trying to import into this new solution.

Make sure you dont add any .vbproj or .sln files from the previous project.

Upvotes: 2

Related Questions