gpt4 book ai didi

f# - 缺少 ".NETFramework,Version=v4.0,Profile=Profile47"的定位包

转载 作者:行者123 更新时间:2023-12-01 06:35:54 24 4
gpt4 key购买 nike

我在尝试编译 portable version of FSharp.Core from the f# source code 时遇到了一些问题.

为了解决这个问题,我创建了一些项目文件,以便能够在 Visual Studio 中打开它,而不必使用以下命令:

msbuild fsharp-library-build.proj /p:TargetFramework=portable-net4+sl4+wp71+win8

当我打开 FSharp.Core.Portable.sln来自 here ,我得到这个非常奇怪的错误:

Error

VS2012 没有这样的定位包, it's supposed to come out of the box .

最佳答案

我最近有这个问题。结果是我在项目底部导入了错误的目标文件。

为了让它工作,我用这个替换了它:
<Import Project="$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.0\Framework\v4.0\Microsoft.Portable.FSharp.Targets" />

关于f# - 缺少 ".NETFramework,Version=v4.0,Profile=Profile47"的定位包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14935479/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com