简体   繁体   English

在Visual Studio解决方案资源管理器中显示这两个图标的ASP.NET网站之间的功能区别是什么?

[英]What is the functional difference between ASP.NET websites displaying these two icons in Visual Studio solution explorer?

What's the functional difference between projects that use these two icons in Visual Studio? 在Visual Studio中使用这两个图标的项目之间的功能区别是什么? Are there limitations to one type of website vs the other? 一种网站与另一种网站有限制吗?

One of my organization's older websites has this: 我组织的较旧网站之一具有以下功能: 图标1

The newer websites have this: 较新的网站具有以下功能: 在此处输入图片说明

Right of the bat, I noticed there is no References list in the solution explorer for the older website. 马上,我注意到在解决方案资源管理器中没有较旧网站的“ References列表。 Additionally, I'm struggling to have standalone .cs files be usable elsewhere in the project with using statements. 另外,我正在努力使独立的.cs文件可通过using语句在项目中的其他地方using

It seems your older website is built on ASP.NET Empty Website template, while the new one uses Webforms project template. 看来您的旧网站是建立在ASP.NET空网站模板上的,而新网站则使用Webforms项目模板。 So in the second case you would have a basic setup for the project including references, defined structure, starting sites etc. You could read more below about the differences: 因此,在第二种情况下,您将对该项目进行基本设置,包括引用,定义的结构,起始站点等。您可以在下面阅读有关差异的更多信息:

ASP.NET Web Site or ASP.NET Web Application? ASP.NET网站还是ASP.NET Web应用程序?

As you miss references, it might not be possible to do certain imports, but in either case you can add References from menu Project ... Add Reference 当您错过引用时,可能无法进行某些导入,但是在两种情况下,都可以从“项目”菜单中添加“引用”。

https://msdn.microsoft.com/en-us/library/7314433t%28v=vs.90%29.aspx https://msdn.microsoft.com/zh-CN/library/7314433t%28v=vs.90%29.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 这三个Visual Studio Solution Explorer图标之间有什么区别? - What is the difference between these 3 Visual Studio Solution Explorer icons? Visual Studio .Net解决方案资源管理器图标 - Visual Studio .Net Solution Explorer icons 解释解决方案资源管理器ASP.NET Visual Studio 2012 - Explaining the Solution Explorer ASP.NET Visual studio 2012 Visual Studio选项有什么区别:ASP.NET Web服务和WCF服务 - What is the difference between the Visual Studio Options: ASP.NET Web Service and WCF Service MonoDevelop解决方案文件和Visual Studio解决方案文件之间有什么区别? - What is the difference between a MonoDevelop solution file and a Visual Studio Solution file? ASP.NET MVC中&lt;%#和&lt;%=有什么区别? - What is the difference between <%# and <%= in ASP.NET MVC? Visual Studios 解决方案资源管理器中项目文件图标的差异 - Difference in project file icons in Visual Studios Solution Explorer 如何发布Visual Studio ASP.NET解决方案? - how to publish the visual studio asp.net solution? 在visual studio ASP.NET解决方案中禁用Resharper本地化检查 - Disable Resharper localization inspection in visual studio ASP.NET solution Visual Studio 2013解决方案中缺少ASP.NET Web模板吗? - ASP.NET Web template missing in visual studio 2013 solution?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM