Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2012/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
F# Visual Studio 11开发人员预览IntelliSense无法打开F模块?_F#_Visual Studio 2012 - Fatal编程技术网

F# Visual Studio 11开发人员预览IntelliSense无法打开F模块?

F# Visual Studio 11开发人员预览IntelliSense无法打开F模块?,f#,visual-studio-2012,F#,Visual Studio 2012,还是我做错了什么 Error 13 The namespace or module 'BModel' is not defined Error 12 The namespace or module 'Connector' is not defined Error 11 The namespace or module 'Work' is not defined 但是用它编译 命令行: C:\Program Files\Microsoft F#\v4.0\fsc.exe -o:o

还是我做错了什么

Error   13  The namespace or module 'BModel' is not defined
Error   12  The namespace or module 'Connector' is not defined
Error   11  The namespace or module 'Work' is not defined
但是用它编译

命令行:

C:\Program Files\Microsoft F#\v4.0\fsc.exe -o:obj\Debug\TCPBattle.dll -g --debug:full --noframework --define:DEBUG --define:TRACE --doc:D:\opc_boi\trunk\Debug\TCPBattle.XML --optimize+ --tailcalls- -r:"C:\Program Files\FSharp-2.0.0.0\v4.0\bin\FSharp.Core.dll" -r:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" -r:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" -r:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" -r:"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Numerics.dll" --target:library --warn:3 --warnaserror:76 --vserrors --LCID:1033 --utf8output --fullpaths --flaterrors "C:\Users\Username\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.fs" Hex.fs Model.fs DeviceModel.fs Native.fs C.fs Core.fs Connector.fs Work.fs Battle.fs 
BOIConnector -> D:\opc_boi\trunk\Debug\TCPBattle.dll

在屏幕截图中,您似乎在Battle.fs中,可能例如Work.fs包含Work模块,它位于Battle.fs之上。。。如果右键单击解决方案资源管理器中的文件并选择“属性”,“BuildAction”是否设置为“Compile”?在输出窗口中编译发送到fsc.exe的命令行时会发生什么情况?你试过关闭VS并重新启动吗?

我发现了造成这种问题的原因。VS2010上也有同样的错误

这:

// エラーが発生
// 停止

日文注释破坏了智能感知。

是的,它是命令行的“编译”检查问题更新,并且编译良好。只是我不喜欢Intellisense错误。毕竟,=新连接器线路上没有错误,但连接器类型来自连接器模块。尝试重新启动VS,这似乎是个错误。嗯,听起来只是个错误。这些都是预览版,我肯定有很多小错误,谢天谢地,这只是一个“麻烦”而不是一个拦截器。我不认为这是无法测试的。我将尝试新的项目和ela硼酸盐是什么导致了这个错误。应该报告给微软作为一个错误,我想。