System.Data.SqlClient名称空间

编程入门 行业动态 更新时间:2024-10-25 04:26:09
本文介绍了System.Data.SqlClient名称空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一台新电脑正在安装VS 2017. Windows和VS都有所有更新。

我正在尝试访问System.Data.SqlClient命名空间。它告诉我我错过了一个程序集。

我尝试添加一个Framework引用,它告诉我机器上没有框架程序集。

我尝试从NuGet安装EntityFramework和AspNetCore.All,但它给我一个NU1202错误,说明它与uap10.0不兼容。[无论我发起的最低版本]

<我必须遗漏一些明显的东西。请让我直截了当!

提前谢谢!

解决方案

它是System的一部分。数据。难道你没有在项目中看到解决方案资源管理器中的参考文献吗?

您正在使用哪种类型的项目?

I have a new PC and am installing VS 2017. Both Windows and VS have all updates.

I am trying to access the System.Data.SqlClient namespace. It tells me I am missing an assembly.

I try to add a Framework reference and it tells me there are no Framework assemblies on the machine.

I try to install EntityFramework and AspNetCore.All from NuGet, but it gives me a NU1202 error stating it is not compatible with uap10.0.[whatever minimum version I initiate]

I must be missing something obvious. Please set me straight!

Thank you in advance!

解决方案

It's part of System.Data. Don't you see that in your project References in Solution Explorer?

What type of project are you working with?

更多推荐

System.Data.SqlClient名称空间

本文发布于:2023-11-14 15:26:46,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1587835.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:名称   空间   System   Data   SqlClient

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!