GuillaumeSalles / redux.NET

Redux.NET is a predictable state container for .NET apps. Inspired by https://github.com/reactjs/redux.
712 stars 86 forks source link

Make compatible with .NET Standard #45

Open cmeeren opened 7 years ago

cmeeren commented 7 years ago

Please make this installable in .NET Standard class libraries.

I've just come across Redux in general and this package in particular, and I'm pumped and ready to get started, but I'm afraid lacking .NET Standard support is a deal breaker. 😢

cmeeren commented 7 years ago

Btw, I successfully compiled the two files (IAction.cs and Store.cs) when copied into a .NET Standard 1.0 project, so I expect it's just a matter of updating some metadata and publish to Nuget.

GuillaumeSalles commented 7 years ago

Hi @cmeeren,

I will publish a new version today.

GuillaumeSalles commented 7 years ago

New release : https://www.nuget.org/packages/Redux.NET/2.0.0

I think I upgraded the nuget correctly but I'm waiting for your approval to see if everything work fine on your side. 👍

Thanks

cmeeren commented 7 years ago

Thanks! Installed fine. For the record, here's the packages that were installed. Don't know why System.ComponentModel and System.Runtime.InteropServices.WindowsRuntime were installed - are those dependencies of System.Reactive?

Successfully installed 'Redux.NET 2.0.0' to MyProject.Core.Redux
Successfully installed 'System.ComponentModel 4.0.1' to MyProject.Core.Redux
Successfully installed 'System.Reactive 3.0.0' to MyProject.Core.Redux
Successfully installed 'System.Reactive.Core 3.0.0' to MyProject.Core.Redux
Successfully installed 'System.Reactive.Interfaces 3.0.0' to MyProject.Core.Redux
Successfully installed 'System.Reactive.Linq 3.0.0' to MyProject.Core.Redux
Successfully installed 'System.Reactive.PlatformServices 3.0.0' to MyProject.Core.Redux
Successfully installed 'System.Runtime.InteropServices.WindowsRuntime 4.0.1' to MyProject.Core.Redux