繁体   English   中英

F#项目无法使用必需的“ Lazy`2”构建并且不可用

[英]F# project won't build with 'Lazy`2' required and unavailable

这是一个F#测试项目,我正在尝试在VS2013和VS2012之间“共享”。 我没有在代码中引用Lazy,所以我不确定是怎么回事。

我相信这与引用xunit(2.0)的最新版本有关。

The type 'Lazy`2' is required here and is unavailable. You must add a reference 
to assembly 'System.ComponentModel.Composition, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=b77a5c561934e089'.   FSC 1   1   MyProj

A reference to the type 'System.Exception' in assembly 'System.Runtime' was found, 
but the type could not be found in that assembly
C:\MyProj\startup   1   1   MyProj

从未找到解决方案,我只是放弃了VS2012,仅在VS2013中重新创建了该项目。

请注意,该项目是x64,可能没有帮助。

暂无
暂无

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

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