ctaggart / froto

Froto: F# Protocol Buffers
MIT License
146 stars 27 forks source link

Froto.Parser & Froto.Serialization target netstandard2.0 #78

Closed ctaggart closed 6 years ago

ctaggart commented 6 years ago

See issue #76. This moves over Froto.Parser & Froto.Serialization to target netstandard2.0 which is available for every major platform but Unity (soon). The Froto.TypeProvider was bumped from net45 to net461 which is the minimum framework version compatible with netstandard2.0.

I think that the Froto.TypeProvider should probably wait for type providers to work without the full framework installed.

https://github.com/Microsoft/visualfsharp/issues/2406 https://github.com/Microsoft/visualfsharp/issues/3303 https://github.com/fsprojects/FSharp.TypeProviders.SDK

netcore also doesn't have System.Runtime.Caching https://github.com/dotnet/corefx/issues/14529, so a depenency will need to be added to the preview https://www.nuget.org/packages/System.Runtime.Caching/ or an alternative like http://cachemanager.michaco.net.

This pull request manually puts slashes instead of backslashes in the sln files as a workaround for: MSB4025 could not load metaproj https://github.com/Microsoft/msbuild/issues/1957