我试图签署一个F #类库项目,但遇到了很多问题。
首先,我尝试使用AssemblyKeyFileAttribute,参考此贴,但并没有成功。我还尝试在项目属性中添加标志"--keyfile:keyfile.snk"(在“生成”选项卡的“其他标志”字段中),但同样不行。我正在使用Visual Studio 2013,它没有像C#类库项目一样显示“签名”选项卡。
所有尝试都会导致以下错误: FSC: error FS2014: A problem occurred writing the binary 'obj\Release\ExcelFinancialFunctions.dll': A call to StrongNameGetPublicKey failed (Value does not fall within the expected range.) 我做错了什么?
首先,我尝试使用AssemblyKeyFileAttribute,参考此贴,但并没有成功。我还尝试在项目属性中添加标志"--keyfile:keyfile.snk"(在“生成”选项卡的“其他标志”字段中),但同样不行。我正在使用Visual Studio 2013,它没有像C#类库项目一样显示“签名”选项卡。
所有尝试都会导致以下错误: FSC: error FS2014: A problem occurred writing the binary 'obj\Release\ExcelFinancialFunctions.dll': A call to StrongNameGetPublicKey failed (Value does not fall within the expected range.) 我做错了什么?