未在ASP.NET 2010中创建解决方案文件 [英] Solution File not creating in ASP.NET 2010

查看:93
本文介绍了未在ASP.NET 2010中创建解决方案文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经从File>在ASP.NET 4.0中创建了Web应用程序.新网站.
但是解决方案文件未在我的应用程序中创建.我想问一下,如果不创建解决方案文件有什么问题吗?它将正确托管在服务器上吗?

以上创建Web应用程序的方法是对还是错?

在此先感谢所有人!

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!

推荐答案

像那样尝试
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


创建网站并不会在您的目录上创建.sln文件.创建一个Web应用程序就可以了.您应该已经创建了一个新的Web应用程序(文件-> New-> Project-> Web应用程序项目),而不是新的网站.

下面的链接概述了两者之间的区别.
http://www.codersbarn.com/post/2008/06/ASPNET-Web-Site-versus-Web-Application-Project.aspx [
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[^]


您需要至少构建一次项目.
You need to build your project at least once.


这篇关于未在ASP.NET 2010中创建解决方案文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆