pre-release Collections.Immutable

那年仲夏 提交于 2019-11-30 17:59:25

This is a known issue that the relevant teams at Microsoft are investigating. In the meantime, here are the workaround steps:

  1. Create an F# Application project that targets .NET Framework 4.5
  2. Install-Package Microsoft.Bcl.Immutable -pre
  3. Add a reference to "%ProgramFiles%\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\Facades\System.Runtime.dll"
  4. Add a reference to the System.ComponenModel.Composition.dll assembly from the Framework.

After that, early testing suggests F# works with the immutable collections just fine.

You can installed "System.Collections.Immutable" component from NuGet that will resolved your problem.

Have a look to the URL https://www.nuget.org/packages/Microsoft.Bcl.Immutable/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!