VS 2017类库项目中禁用了目标框架 [英] Target Framework is disabled in VS 2017 class library project

查看:806
本文介绍了VS 2017类库项目中禁用了目标框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


我很困惑为什么目标框架
在我从互联网上获取的类库项目中不显示/更改。有什么想法吗?





解决方案

嗨saradaneshvar,


欢迎来到MSDN论坛。


您能否分享下载此类库项目和VS版本的下载链接?我会尝试在我身边重现这个问题,谢谢你b $ b的合作。


要检查此问题与您的VS或此特定项目有关,请创建一个具有相同项目类型的新类库项目,然后右键单击
项目名称>属性并查看Target框架,看它是否也消失/
像这个下载项目一样不可修改。


如果它是C ++类库,请检查:
  如何:修改目标框架和平台工具集


如何:定位.NET Framework版本




最好的问候,


Sara


Hello,

I am puzzled why the target framework in application settings is not displayed/changeable in a class library project which I got from internet. Any ideas?



解决方案

Hi saradaneshvar,

Welcome to the MSDN forum.

Could you please share the download link that you downloaded this class library project and your VS version? I will try to reproduce this issue in my side, thank you for your cooperation.

To check this issue is more relates to your VS or this specific project, please create a new class library project with the same project type, then right click the project name>Properties and view the Target framework, see if it is also disappear/unmodifiable like this download project.

If it is a C++ class library, please check this:  How to: Modify the Target Framework and Platform Toolset

If it is a Visual Basic, Visual C#, or Visual F# project, please have a look at this: How to: Target a Version of the .NET Framework

Best regards,

Sara


这篇关于VS 2017类库项目中禁用了目标框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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