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

Ped*_*niz 5 c# xsd dataset visual-studio

我将我的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."
Run Code Online (Sandbox Code Playgroud)

小智 2

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