简体   繁体   中英

{“Could not load type 'VBR.Pipeline.Domain.ExpertGuide' from assembly 'Pipeline, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.”

I have an application using NHibernate, all my classes and mappings work and I can retrieve data with no problem, until I decided to add a new table in the database (and new class, mapping in the code).

I keep getting the error that my class can't be found in the assembly.

My Class is called ExpertGuide, Mapping file ExpertGuide.hbm.xml (already an embedded resource)

I cleaned, rebuilt, etc the project and nothing.

Any help would be appreciated

问题是我的班级的命名空间,我有Pipeline.Domain而不是VBR.Pipeline.Domain,所以找不到我的班级

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

Related Question Could not load type 'AgencySystem' from assembly 'EPaymentInvoicing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' Could not load type 'Firebase.Database.FirebaseObject`1' from assembly 'Firebase, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' Twilio Rest API throws Error: Could not load type 'Twilio.TwilioClient' from assembly 'Twilio, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' Could not load file or assembly 'XXX, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies Could not load type 'Invalid_Token.0x02000000' from assembly ']0987654RE3W23SD, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' Could not load type 'GraphQL.Http.IDocumentWriter' from assembly 'GraphQL, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null' Could not load type 'System.ServiceProviderExtensions' from assembly 'OpenTelemetry, Version=1.0.0.0, Culture=neutral Could not load type 'Owin.Extensions' from assembly 'Nancy.Owin, Version=0.23.2.0, Culture=neutral, PublicKeyToken=null' Could not load type 'OpenQA.Selenium.Internal.IWrapsElement' from assembly 'WebDriver, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null' Could not load file or assembly 'Microsoft.Bcl.AsyncInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=XX' or one of its dependencies
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM