.net - Windows Server 2008 上的 CruiseControl 1.6 问题

标签 .net windows-server-2008 cruisecontrol.net

我正在尝试在 Windows Server 2008 上运行 CruiseControl.Net 1.6.7981.1。服务器和仪表板 .config 已配置。服务器上安装了 Visual Studio 2010 当我启动 ccnet 服务时,出现以下错误:

CruiseControl.NET Server 1.6.7981.1 -- .NET Continuous Integration Server log4net:ERROR DefaultRepositorySelector: Unhandled exception in GetInfoForAssemb ly System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, V ersion=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. File name: 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c 561934e089'
at System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle* typeIn stArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs, Int32 methodInst Count) at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext) at System.Reflection.Module.ResolveType(Int32 metadataToken, Type[] genericTy peArguments, Type[] genericMethodArguments) at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttrib uteRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, Module decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, Runtime Type& attributeType, RuntimeMethodHandle& ctor, Boolean& ctorHasParameters, Bool ean& isVarArg) at System.Reflection.CustomAttribute.GetCustomAttributes(Module decoratedModu le, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterTyp e, Boolean mustBeInheritable, IList derivedAttributes) at System.Reflection.CustomAttribute.GetCustomAttributes(Assembly assembly, R untimeType caType) at System.Attribute.GetCustomAttributes(Assembly element, Type attributeType, Boolean inherit) at log4net.Core.DefaultRepositorySelector.GetInfoForAssembly(Assembly assembl y, String& repositoryName, Type& repositoryType)

WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\M icrosoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure lo gging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fus ion!EnableLog].

log4net:ERROR DefaultRepositorySelector: Failed to configure repository [log4net -default-repository] from assembly attributes. System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, V ersion=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. File name: 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c 561934e089'
at System.ModuleHandle.ResolveType(Int32 typeToken, RuntimeTypeHandle* typeIn stArgs, Int32 typeInstCount, RuntimeTypeHandle* methodInstArgs, Int32 methodInst Count) at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext) at System.Reflection.Module.ResolveType(Int32 metadataToken, Type[] genericTy peArguments, Type[] genericMethodArguments) at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttrib uteRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, Module decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, Runtime Type& attributeType, RuntimeMethodHandle& ctor, Boolean& ctorHasParameters, Bool ean& isVarArg) at System.Reflection.CustomAttribute.GetCustomAttributes(Module decoratedModu le, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterTyp e, Boolean mustBeInheritable, IList derivedAttributes) at System.Reflection.CustomAttribute.GetCustomAttributes(Assembly assembly, R untimeType caType) at System.Attribute.GetCustomAttributes(Assembly element, Type attributeType, Boolean inherit) at log4net.Core.DefaultRepositorySelector.LoadAliases(Assembly assembly, ILog gerRepository repository) at log4net.Core.DefaultRepositorySelector.CreateRepository(Assembly repositor yAssembly, Type repositoryType, String repositoryName, Boolean readAssemblyAttri butes)

WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\M icrosoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure lo gging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fus ion!EnableLog].

An unexpected error has caused the console to crash, please press any key to con tinue...

请帮忙?

最佳答案

消息说无法加载.NET 3.5的System.Core。检查它是否安装正确。您可以使用 this tool例如,验证安装。

关于.net - Windows Server 2008 上的 CruiseControl 1.6 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5933416/

相关文章:

c# - 如何在一个项目中使用两个不同的 Microsoft Interop 程序集?

.net - 设置 header : P3P: CP ="CAO PSA OUR" 可能带来什么危害

apache - 如何将我的 Web 应用程序从端口号 8080 指向 80?

ubuntu - Zabbix 计算项问题

build-automation - 如何让 cruisecontrol 一次只构建一个项目

cruisecontrol.net - 猿猴排除选项

c# - 创建带有启用/禁用按钮的登录表单

.net - 可以访问 VB.NET 类库中的 My.Forms 对象吗?

file-io - 在同一文件夹 (NTFS) 中存储 600,000 多个图像的性能影响

CruiseControl.net 中的 Powershell 在部署新版本代码之前备份现有文件夹