C# 没有名为“的连接字符串”;库存管理实体;可在App.Config文件中找到;
打开应用程序主页面设计器时遇到此错误。在app.config文件中,我可以看到名为“Inventory\u ManagementEntities”的实体。 这是我的app.config文件代码C# 没有名为“的连接字符串”;库存管理实体;可在App.Config文件中找到;,c#,wpf,winforms,entity-framework,C#,Wpf,Winforms,Entity Framework,打开应用程序主页面设计器时遇到此错误。在app.config文件中,我可以看到名为“Inventory\u ManagementEntities”的实体。 这是我的app.config文件代码 <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> <!-- For more information on Entity Framework configu
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</configSections>
<connectionStrings>
<add name="Inventory_ManagementEntities" connectionString="metadata=res://*/Base_Table.csdl|res://*/Base_Table.ssdl|res://*/Base_Table.msl;provider=System.Data.SqlClient;provider connection string="data source=MOHSINALVI\TESTSERVER;initial catalog=Inventory_Management;user id=sa;password=telco_123;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />
</connectionStrings>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
<parameters>
<parameter value="v13.0" />
</parameters>
</defaultConnectionFactory>
</entityFramework>
</configuration>
您拥有已配置但最终未使用的功能 要永久删除它们,您需要访问链接,请参阅向下显示调用堆栈 并删除该函数。