Click here to Skip to main content
16,018,353 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
Hi,

I have created web application in ASP.NET 4.0 from File> New Website.
But solution file is not created in my application. I want to ask that, is any problem if solution file not created? Will it properly host on server?

And above way of creating web application is right or wrong?

Thanks in Advance to all!
Posted
Updated 28-Apr-11 20:58pm
v2

Try Like that
Go to Tools ==> Options ==> (From the left pane) Projects and Solutions ==> General ==> (check the checkbox) Always show solution


See it might solve your problem
 
Share this answer
 
Comments
Rajendra Patel Jat 13-Feb-12 2:24am    
nice and problem solvable thanks
Creating a website does not create a .sln file on your directory. Creating a web application does. You should have created a new web application(File->New->Project->Web Application Project) instead of new website.

Link below gives an overview on the difference between the 2.
http://www.codersbarn.com/post/2008/06/ASPNET-Web-Site-versus-Web-Application-Project.aspx[^]
 
Share this answer
 
You need to build your project at least once.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900