Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/260.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# &引用;无法加载文件或程序集“;azure web应用程序_C#_Mysql_Azure Web App Service - Fatal编程技术网

C# &引用;无法加载文件或程序集“;azure web应用程序

C# &引用;无法加载文件或程序集“;azure web应用程序,c#,mysql,azure-web-app-service,C#,Mysql,Azure Web App Service,你好,当我在线运行系统并尝试与我的mysql数据库交互时,我遇到了这个错误,系统在本地工作正常 Server Error in '/' Application. Could not load file or assembly 'MySql.Data, Version=6.9.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system canno

你好,当我在线运行系统并尝试与我的mysql数据库交互时,我遇到了这个错误,系统在本地工作正常

Server Error in '/' Application.

Could not load file or assembly 'MySql.Data, Version=6.9.5.0,        
 Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its 
  dependencies. The system cannot find the file specified.
我知道这个问题是重复的,但我在大学计算机上做所有的开发工作,所以据我所知,我无法对GAC进行更改


任何帮助都将不胜感激。

您需要确保您使用的任何程序集都已部署到您的
bin
文件夹中。一般来说,GAC的使用越来越少,
bin
是依赖关系所在