vb.net - "Reference required" error when referencing NServiceBus assembly from another project -


We are trying to write an application that uses the NServiceBus library in a VB.NET environment. We have been obstructed by errors like the following:

Essential reference to the assembly 'Ensebes, version = 2.0.0.1071, culture = neutral, public keynote = 9fc386479f8a226c' implemented interface 'NSSRSBIS IMessageHandler 1 '. Add one to your project.

Our project is already included in the same NServiceBus 2.0 RC2 distribution in the context of NServiceBus.dll and NServiceBus.Core.dll.


Steps to reproduce:

  1. Create a new VB Class Library Project (.NET 3.5)
  2. Forms of References Add NServiceBus.dll and NServiceBus.Core.dll.
  3. Place the following code in Class 1:

      Import NServiceBus.Sagas.Impl Class Test Folk Function (Fu) Return as SagaMessageHandler Nothing End Function Closing Class  
  4. You should now see the above compiler error.

There are no compilation errors in the same project written in C #.


How about any idea about solving this problem? (And, yes, my favorite solution is switching to C #, but no, it is currently not acceptable.)

It was an ILMRJ-related issue, I came to know.

I downloaded the NSISRSbis trunk source, opened SRCR / Core / NSTBBSLL, and in each solution set to project the source tree route with NServiceBus.snk to sign the assembly. After the reconstruction of NServiceBus, new DLLs fixed compiler errors from my original post.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -