빈 솔루션을 만듭니다.휴대용 F # 라이브러리에 Nuget 패키지를 설치할 수 없습니다 (지원할 예정 임에도 불구하고)
새로운 F # 프로젝트를 추가하십시오 : 휴대용 클래스 라이브러리, 프로필 7 (.NET 4.5, Windows Store, Xamarin).
NuGet 패키지를 설치하려고 시도했습니다. FSharp.Collections.ParallelSeq
.
Don Syme에 따르면,이 패키지는, 그러나 프로필 7을 지원해야 Install-Package FSharp.Collections.ParallelSeq
를 생성 실행 다음과 같은 오류 :
Install-Package : Could not install package 'FSharp.Collections.ParallelSeq 1.0.2'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile7', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author. At line:1 char:1 + Install-Package FSharp.Collections.ParallelSeq + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Install-Package], Exception + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
프로젝트 설정 값은 다음과 같습니다
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>39db5618-025a-4e44-adf4-a5eb2df04b81</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>DeleteMe</RootNamespace>
<AssemblyName>DeleteMe</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkProfile>Profile7</TargetFrameworkProfile>
<TargetProfile>netcore</TargetProfile>
<TargetFSharpCoreVersion>3.7.4.0</TargetFSharpCoreVersion>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Name>DeleteMe</Name>
</PropertyGroup>
방법에 있는가 이 NuGet 패키지를 포함하여 Xamarin 앱에 PSeq
을 사용할 수 있습니까?
효과가있었습니다. 그것은 실제로 다소 이상합니다. 스튜어트에게 감사드립니다. –
기꺼이 도와 드리겠습니다. [https://github.com/fsprojects/FSharp.Collections.ParallelSeq/issues/12] 문제를 해결했습니다. – Stuart