tôi nhận được một lỗi khi cố gắng ký dll trong F # trên mono:Sự cố khi đăng một dll trong F # trên Mono
$ 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
Không dll được tạo ra, và tôi nhận được lỗi này lại:
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)`
Tệp khóa được tạo trong Windows, điều đó có tạo nên sự khác biệt nào không?
Cập nhật:
Sử dụng 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
Bạn đang sử dụng phiên bản Mono nào? (bạn có thể tìm ra bằng cách chuyển đổi đơn điệu) –
@Edgar, tôi đã thêm thông tin vào câu hỏi. – Benjol