1
asp.net mvc Project를 시작했고 db Access에 대해 Nibernate를 사용하려고합니다.nhibernate nuget - 스키마를 찾을 수 없습니다.
나는 Visual Studio에서 다음과 같은 warings를 얻을 :
Could not find schema information for the element 'urn:nhibernate-configuration-2.2:hibernate-configuration'.
Could not find schema information for the element 'urn:nhibernate-configuration-2.2:session-factory'.
Could not find schema information for the element 'urn:nhibernate-configuration-2.2:property'.
Could not find schema information for the attribute 'name'.
Could not find schema information for the element 'urn:nhibernate-configuration-2.2:property'.
Could not find schema information for the attribute 'name'.
Could not find schema information for the element 'urn:nhibernate-configuration-2.2:property'.
Could not find schema information for the attribute 'name'.
내 Web.conf :
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="hibernate-configuration" type="NHibernate.Cfg.ConfigurationSectionHandler, NHibernate" />
</configSections>
....
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
<session-factory>
<property name="dialect">NHibernate.Dialect.MySQLDialect</property>
<property name="connection.driver_class">NHibernate.Driver.MySqlDataDriver</property>
<property name="connection.connection_string_name">MainDb</property>
</session-factory>
</hibernate-configuration>
...
나는 nuget를 통해 NHibernate에 설치되어 있어야합니다.
아이디어가 있으십니까? 미리 감사드립니다.
도움 주셔서 감사합니다. – user3123036