确定当前的.Net框架 [英] Determing the Current .Net Framework
问题描述
我最近安装了Visual Studio Web Developer 2010 Express。 我有一个我认为是在.Net Framework 2.0中开发的Web服务。 我想将vb代码添加到Service.vb文件中,但希望Web服务保留在.Net Framework 2.0中。
如何确认项目的当前框架是2.0?
I recently installed Visual Studio Web Developer 2010 Express. I have a web service that I think was developed in .Net Framework 2.0. I want to add vb code to the Service.vb file but want the web service to remain in .Net Framework 2.0. How can I confirm that that current framework of the project is 2.0?
谢谢。
James
推荐答案
在IDE中加载项目,项目菜单 - > <命名为yourprojectname>属性...
With the project loaded in the IDE, Project menu -> <YourProjectName> Properties...
在对话框中,选择"编译"选项卡,然后向下滚动以查看"高级编译器选项..."按钮。
In the dialog, select the Compile tab, then scroll down to see a button "Advanced Compiler Options...".
单击按钮时显示的对话框有一个下拉列表"Target Framework"。这将显示当前选择的.NET版本,并允许您在必要时将其更改为2.0。
The dialog that displays when the button is clicked has a drop down list "Target Framework" that will show you the currently selected .NET version and allow you to change it to 2.0, if necessary.
这篇关于确定当前的.Net框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!