pjvds / ncqrs

Ncqrs Framework - The CQRS Framework for .NET
Other
542 stars 162 forks source link

Static code analysis crashing. fixes #49 #42

Closed jasondentler closed 13 years ago

jasondentler commented 13 years ago

After turning on -show progress option in .csproj, I found the method that causes it to crash:

Ncqrs.Eventing.ServiceModel.Bus.InProcessEventBus : GetHandlersForEvent(IPublishableEvent eventMessage)

Decorating with [ContractVerification(false)] fixes the issue.

Also, my previous commits that github wants to re-pull, most likely because of changes to the commit msg.

pjvds commented 13 years ago

You should be able to fix the previous commits by pulling the latest development branch of ncqrs to your fork.

pjvds commented 13 years ago

Cherry picked commit b8cd06e. I fixed the Ncqrs.CommandService project by adding the Ncqrs.CommandService.Contracts project as an dependency in the solution. This keeps intact that the Ncqrs.CommandService reference the Contracts dll by ${Configuration}.