Hy 얘들 아. 이 문제를 어떻게 해결합니까? 그래서, 내가 Web.config의이 라인을 추가오류 : 어셈블리 MySql.Data의 IDbCommand 및 IDbConnection 구현을 찾을 수 없습니다.
The IDbCommand and IDbConnection implementation in the assembly MySql.Data could not be found. Ensure that the assembly MySql.Data is located in the application directory or in the Global Assembly Cache. If the assembly is in the GAC, use element in the application configuration file to specify the full name of the assembly.
: 임 오류 메시지가 점점
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<qualifyAssembly partialName="MySql.Data" fullName="MySql.Data, Version=6.3.6, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
</assemblyBinding>
</runtime>
을하지만 일을하지 않았다.
이
는 하이버 네이트 구성하는 방법 :private static ISessionFactory CreateSessionFactory()
{
return new NHibernate.Cfg.Configuration()
.Configure(@"C:\Users\Documents\Visual Studio 2010\Projects\Atendimento\NHibernateLayer\hibernate.cfg.xml")
.AddAssembly(typeof(NHibernateHelper).Assembly)
.BuildSessionFactory();
}
사람을 ??? Tkhs !!!
남자, 작성했습니다. 나는 "Version = 6.3.6.0"에서 간단한 '0'이 그것을 깨뜨릴 것이라고 믿지 않았다. 나는 '0'을 쓰고 일했다. 블로그에 PublicKey Token을 알기위한 속임수가 있기 때문에 대답을 받아 들였습니다. ('gacutil/l MySql.Data'명령). Tks 남자. – Thiago
@ 티아 고, 문제가 아니 어서 기쁘다. =) – Rob