kekekeks / NObservable

MobX like observable state management library with Blazor support
MIT License
68 stars 7 forks source link

Installation tutorial not working on preview 4 #2

Open avataron opened 5 years ago

avataron commented 5 years ago

I've created a server-side Blazor from VS2019 templates (I've ticked to allow preview stuff on VS2019). Followed the instructions, including FodyWeavers part.

First of all, I noticed the NObservable.Blazor in dependencies got an Exclamation Icon on it. Can't see any warning what is the problem, but things seems to recgnize code and compile.

Later, if I use your Configure() method, toghether with the auto generated Configure(), I receive this error "Having multiple overloads of method 'Configure' is not supported.".

Well ok, now if I remove the auto generated Configure() and keep only yours, I receive this error "No service for type 'Microsoft.AspNetCore.Blazor.Builder.IBlazorApplicationBuilder'"

I don't think we should replace the default implementation, because that calls some important extentions it seems, so, in fact, I'm really lost.

How can I make NObservable work correctly in a Blazor (dot net core preview 4) project?

prakis commented 3 years ago

Have you figuredout how to solve this issue?