1

빈 솔루션을 만듭니다.휴대용 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을 사용할 수 있습니까?

답변

2

현재 누젠트 패키지에는 net40 조립품 만 들어 있습니다. 그러나 주인은 Profile7을 지원하며 download the artifacts from here 수 있습니다.

편집 : 좋아, 실제로 나중에 1.0.1 (1.0.2 이후)으로 릴리스 된 것 같습니다. 정말 이상합니다. 1.0.2에서 1.0.1 로의 업데이트가이 문제를 해결할 것이라고 생각합니다.

편집 2 :이 혼란을 막기 위해 an issue here을 생성했습니다.

+0

효과가있었습니다. 그것은 실제로 다소 이상합니다. 스튜어트에게 감사드립니다. –

+0

기꺼이 도와 드리겠습니다. [https://github.com/fsprojects/FSharp.Collections.ParallelSeq/issues/12] 문제를 해결했습니다. – Stuart