[英]Visual Studio 2010 launching .NET 2.0 Development Server for .NET 3.5 ASP.NET Application
I have an ASP.NET / C# solution in VS2010. 我在VS2010中有一个ASP.NET/C#解决方案。 The Target Framework property for each project is set to .NET Framework 3.5, however: 每个项目的目标框架属性都设置为.NET Framework 3.5,但是:
When I debug the ASP.NET site, using the built in ASP.NET Development Server, the properties pane of the server show we're running in ASP.NET Version: 2.0.50727.4955. 当我使用内置的ASP.NET开发服务器调试ASP.NET站点时,服务器的属性窗格显示我们正在ASP.NET版本中运行:2.0.50727.4955。
Are there any other Project / Solution settings I should be updating? 我应该更新其他项目/解决方案设置吗?
Thanks for any help. 谢谢你的帮助。
Chris. 克里斯。
The .NET Framework 3.5
is in fact an extension to .NET 2.0
, so this is probably correct. .NET Framework 3.5
实际上是.NET 2.0
的扩展,因此这可能是正确的。
What I mean is that the .NET 3.0
and .NET 3.5
classes are merely extensions to .NET 2.0
, so the main classes are all still version 2.0
. 我的意思是.NET 3.0
和.NET 3.5
类仅是.NET 2.0
扩展,因此主要类仍然是2.0
。
Go here to see what I mean: %SYSTEMROOT%\\Microsoft.NET\\Framework
转到此处查看我的意思: %SYSTEMROOT%\\Microsoft.NET\\Framework
The v3.0
and v3.5
directories don't contain much, just the new stuff (eg v3.0
just contains WPF, WCF, WWF
stuff). v3.0
和v3.5
目录没有太多内容,仅包含新内容(例如v3.0
仅包含WPF, WCF, WWF
内容)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.