在Mono上用F#签署DLL的问题
发布时间:2020-12-14 01:51:52 所属栏目:Windows 来源:网络整理
导读:我试图在单声道F#中签署一个dll时遇到错误: $mono /usr/local/share/FSharp-2.0.0.0/bin/fsc.exe --target:library --keyfile:../../external/MyKeyFile.snk AssemblyInfo.fs ../../fs/FooBar.fs -o:FooBar.dll 没有生成DLL,我收到此错误: Microsoft
我试图在单声道F#中签署一个dll时遇到错误:
$mono /usr/local/share/FSharp-2.0.0.0/bin/fsc.exe --target:library --keyfile:../../external/MyKeyFile.snk AssemblyInfo.fs ../../fs/FooBar.fs -o:FooBar.dll 没有生成DLL,我收到此错误: Microsoft (R) F# 2.0 Compiler build 2.0.0.0 Copyright (c) Microsoft Corporation. All Rights Reserved.` error FS2014: A problem occurred writing the binary '': A call to StrongNameGetPublicKey failed (mscoree.dll)` 密钥文件是在Windows中生成的,这有什么不同吗? 更新: 使用Mono 2.6.4 $mono --version Mono JIT compiler version 2.6.4 (tarball Mon Jun 21 19:26:21 UTC 2010) Copyright (C) 2002-2010 Novell,Inc and Contributors. www.mono-project.com TLS: __thread GC: Included Boehm (with typed GC and Parallel Mark) SIGSEGV: altstack Notifications: epoll Architecture: amd64 Disabled: none 解决方法
看起来fsc是P / Invoking本机Windows API,它不可移植.您可能应该向F#团队提出问题.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- .net – PDFLibNet.dll或它是否拥有商业产品的许可?
- Windows API一日一练 4 MessageBox函数
- windows-server-2012 – Windows Server 2012:添加/删除程
- Windows和Linux之间Java套接字的差异 – 如何处理它们?
- windows – 如何禁用“Microsoft Visual C调试库”异常对话
- 使用cx_Freeze创建的Windows .exe返回0xc000007b错误
- windows-server-2008 – 按用户和登录类型过滤安全日志
- Windows – Git Push To Remote Server使用Cygwin挂起
- 如何在Windows Server 2012 R2中的IIS 8.5上注册Dot net fr
- #pragma data_seg() 共享数据// MyData段 // 进程 // DLL