c# - 强类型数据集 (.xsd) 错误 VS Community Edition 15.8.1

标签 c# visual-studio xsd dataset

我将我的 VS 社区版更新到 15.8.1 之后,当我尝试在强类型数据集中编辑我的 sql 时遇到此错误。

Configure TableAdapter failed

Unable to find connection 'my_connection' for object 'Web.config'.
The connection string could not be found in application settings, 
or the data provider associated with the connection string 
could not be loaded."

最佳答案

今天早上我遇到了同样的问题。有效的方法是在 TextView 中打开 .xsd,然后将“(Web.config)”的每个实例更改为“(Settings)”,并将“AppSettingsObjectName”值也设置为“Settings”。

关于c# - 强类型数据集 (.xsd) 错误 VS Community Edition 15.8.1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51937723/

相关文章:

asp.net - Visual Studio 2008 设计图面错误 : "The operation could not be completed. Invalid formatetc structure."

php - 在 PHP 中使用 XML-Reader 进行 XML 验证

c# - 我应该使用什么 ORM for .net?

c# - 制作未知大小的数组 C#

c# - 通过代码注册一个自定义的 PageHandlerFactory

node.js - Azure:“您无权查看此目录或页面

visual-studio - 像 netbeans 中的 ctrl+k 这样的 Visual Studio 代码完成?

c# - 通过导入将 XSD 转换为 XML

xml - 离线时用外部xsd文件解析tomcat web.xml

c# - 如何使 Parse 与 Xamarin 的 PCL 项目和 MvvmCross 一起工作?