Cysharp / R3

The new future of dotnet/reactive and UniRx.
MIT License
1.71k stars 70 forks source link

Add BlazorWebAssembly support #206

Closed EX-EXE closed 1 week ago

EX-EXE commented 1 month ago

When building the BlazorWebAssembly project, the following error occurs with R3Extensions.Blazor. error NETSDK1082: There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'browser-wasm'.

"Microsoft.NET.Sdk.BlazorWebAssembly" used in the BlazorWebAssembly project cannot use libraries generated by "Microsoft.NET.Sdk.Web", which references "Microsoft.AspNetCore.App". https://github.com/dotnet/aspnetcore/issues/46171#issuecomment-1397572319

I have changed "Microsoft.NET.Sdk.Web" to "Microsoft.NET.Sdk" and replaced the unusable classes. It can probably be used outside of BlazorWebAssembly, but I couldn't think of a better name, so I named it "R3Extensions.BlazorWebAssembly".

neuecc commented 1 month ago

thanks, I'll check soon!

neuecc commented 1 week ago

Thank you, I'll release soon.