且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

找不到类型或命名空间任务

更新时间:2023-02-20 10:51:37

您的项目至少需要面向 .NET Framework 4.您可以在项目属性下更改此设置.

You need to target at least .NET Framework 4 in your project. You can change this under project properties.

此外,更改目标不会为库添加引用,因此您必须在更改目标框架后手动执行此操作.

Also, changing the target will not add the reference for the library, so you have to do this manually after changing the target framework.