System.Data.SqlClient名称空间 [英] System.Data.SqlClient name space

查看:102
本文介绍了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名称空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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