문제

I want to build log4net 1.2.11 (in MonoDevelop 3.0.5 on OS X 10.6.8).
I get this error:

error CS1548: Error during assembly signing. The specified key file `......\log4net.snk' does not exist

... even though the project is configured to NOT sign assemblies:

enter image description here

How to make MonoDevelop understand that it should not worry about signing?

도움이 되었습니까?

해결책

The problem was this line in log4net's AssemblyInfo.cs:

[assembly: AssemblyKeyFile(@"..\..\..\log4net.snk")]

Removing this line solves the problem.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top