简体   繁体   English

F# 项目中的损坏参考

[英]Broken references in F# project

When I load a .NET Core F# project in Visual Studio Community 2019 I get the following:当我在 Visual Studio Community 2019 中加载 .NET Core F# 项目时,我得到以下信息:

Visual Studio F# 项目,其中引用单独列出,带有黄色图标

The project is perfectly valid and builds fine with the dotnet command.该项目完全有效,并且可以使用dotnet命令构建良好。

Does anybody know what's causing this?有人知道这是什么原因吗?

If restarting Visual Studio doesn't fix this, you likely have assembly conflicts.如果重新启动 Visual Studio 不能解决此问题,则可能存在程序集冲突。 To get more details, run dotnet build -vd to perform a detailed build.要获取更多详细信息,请运行dotnet build -vd以执行详细构建。 This will undoubtedly list your conflicts.这无疑会列出你的冲突。 Otherwise, the output window in Visual Studio will reveal the problem as well.否则,Visual Studio 中的output window也会显示问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM