Closed matthewblott closed 11 months ago
I'm going to close this. I'm trying out the version 3.0 preview release and it appears I can get it to work. I'll post back with an update but I don't want to keep a ticket open if it isn't worth fixing :-)
This is kind of unexpected for me... I will look into this and the linked issue. There's nothing in the main branch that should affect this
I have an example of a multi project solution with version 3.0 and .NET 8 here. I have it working for my purposes now. Thanks all the same :-)
I thought this might be related to #94 but it seems the sample projects don't work by themselves. For example the ASPNET_Core_Indirect project runs fine when I build the Mediator solution but if I separate the three ASPNET_Core_Indirect projects then the handlers aren't registered. Here's a screenshot of my setup, I haven't made any changes at all:
Here's the output when running a curl request in the terminal:
It's because the handlers haven't been generated. This is what I would expect to see in the
GetWeatherForecastHandler
class and is what I get when I run the samples as part of the Mediator solution:But this is what I see instead (no references appear):
Any help appreciated :-)