Regarding solution file created in VS2008

  • Thread starter Thread starter Priyal
  • Start date Start date
P

Priyal

Hi everybody,

I made one website in vb.net and path i gave is C:\Inetpub\wwwroot folder

now my aspx pages along with all my classes are created in this folder..

But the solution file for that website is created in
C:\Documents and Settings\Administrator\My Documents\Visual Studio
2008\Projects folder

Now why my project solution file is at different location??

To run my project i need to run my solution file.

Now i want to put my solution file and all my aspx pages and all classes in
one folder so i just need to copy that folder and paste on any computer
which got VS2008 and run solution and projects starts.

Any help will be appreciated.

Thanks

Priyal
 
Priyal said:
Hi everybody,

I made one website in vb.net and path i gave is C:\Inetpub\wwwroot folder

now my aspx pages along with all my classes are created in this folder..

But the solution file for that website is created in
C:\Documents and Settings\Administrator\My Documents\Visual Studio
2008\Projects folder

Now why my project solution file is at different location??

To run my project i need to run my solution file.

Now i want to put my solution file and all my aspx pages and all classes in
one folder so i just need to copy that folder and paste on any computer
which got VS2008 and run solution and projects starts.

Any help will be appreciated.

Thanks

Priyal

Hi Priyal,

Consider creating a web application project instead of a web site. Web
projects are like any other visual studio project and can be placed in any
folder. When debugging web projects you run visual studio's web server
Casini. When ready to ship you typically deploy the web project to its IIS
folder, or create a web setup project.

Scott Guthrie describes the web project here
http://weblogs.asp.net/scottgu/archive/2005/08/21/423201.aspx
 
Back
Top