martinothamar/Mediator

Unable to build with `Mediator` installed

MitchellW-DWL opened this issue ยท 4 comments

Ive installed the nuget library and checked the csproj is correct, but just getting the following:
image

MediatorGenerator got unknown error while generating mediator implementation, please report this to the issue tracker on github at https://github.com/martinothamar/Mediator/issues/new . Error: Index was outside the bounds of the array.: at Mediator.SourceGenerator.CompilationAnalyzer.Initialize() in /_/src/Mediator.SourceGenerator.Implementation/Analysis/CompilationAnalyzer.cs:line 136

๐Ÿ‘€ 

Do you have a repro for this? The samples are building fine in any version I know of, do you install the Mediator packages in the same way?

Do you have a repro for this?

Afraid I can't share - I was trying to migrate project away from MediatR to use this package, I've installed both the SourceGenerator and Abstractions libraries and that was as far as it got?

Just had another bash at this and was able to get it all building ok - must've been messing something stupid up; thanks though ๐Ÿ‘