When running CC.NET as a service I get the following error:
当运行CC.NET作为服务时,我收到以下错误:
LC0004: Exception occurred creating type 'C1.Win.C1Command.C1CommandHolder, C1.Win.C1Command, Version=1.0.20044.97, Culture=neutral, PublicKeyToken=e808566f358766d8' System.TypeInitializationException: The type initializer for 'C1.Win.C1Command.12' threw an exception. ---> System.ArgumentException: Parameter is not valid. in licenses.licx(7, 0)
LC0004:创建类型'C1.Win.C1Command.C1CommandHolder,C1.Win.C1Command,Version = 1.0.20044.97,Culture = neutral,PublicKeyToken = e808566f358766d8'System.TypeInitializationException:'C1.Win.C1Command的类型初始值设定项时发生异常。 12'抛出异常。 ---> System.ArgumentException:参数无效。在licenses.licx(7,0)中
I do not get this error if I run CC.NET from the console nor when I directly run the msbuild script. I did not get this under XP as a service. I've found other places where people have reported similar errors (http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/f8f4590f-cf5e-4593-8848-960fa460aa07) but nothing with a real solution.
如果我从控制台运行CC.NET,直接运行msbuild脚本,我不会收到此错误。我没有在XP下获得这项服务。我发现其他地方有人报告类似的错误(http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/f8f4590f-cf5e-4593-8848-960fa460aa07)但没有真正的解。
1 个解决方案
#1
this issue will be fixed in the next build of C1Command.
这个问题将在C1Command的下一个版本中修复。
-AlexeyS, C1
#1
this issue will be fixed in the next build of C1Command.
这个问题将在C1Command的下一个版本中修复。
-AlexeyS, C1