Real-Serious-Games / C-Sharp-Promise

Promises library for C# for management of asynchronous operations.
MIT License
1.19k stars 149 forks source link

Feature/netstandard2.0 support #81

Closed RoryDungan closed 6 years ago

RoryDungan commented 6 years ago

Add support for .NET Standard 2.0 in addition to current .NET Framework 3.5 build. This should still work with any projects that depend on the .NET 3.5 version, but adds support for .NET Core, Xamarin and UWP via the .NET Standard build target. Both DLLs will be included in Nuget packages as well. I also changed the folder structure a bit because the new style of csproj file finds all .cs files in subfolders instead of listing them explicitly.

The only thing I think might break with this is the Travis CI build, so I'll have to check that after making the PR.. I changed the Travis build from Xbuild to MSBuild and now it builds correctly. This is also good because Xbuild is deprecated and will be removed eventually anyway. I've bumped the version number in the assembly info to 3.0.1 so that we can push this out to Nuget once it's been merged.