Resgen:引用根节点不可用 [英] Resgen: References root node unavailable

查看:279
本文介绍了Resgen:引用根节点不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi,

我有一个VS2005构建失败,并引发了一个错误,提示参考根节点不可用".我在下面附上了诊断日志,但是看不到任何特别指出的错误.

I have a VS2005 build failing with an error thrown saying "References root node unavailable".  I have attached a diagnostics log below but I can't see any error that points to anything in particular.

有人以前曾见过这样的错误或有任何建议来诊断可能是什么原因吗?

Has anyone seen an error like this before or have any suggestions to diagnse what might be causing it?

谢谢

戴夫

目标"CoreResGen";在文件"C:\ WINDOWS \ Microsoft.NET \ Framework \ v2.0.50727 \ Microsoft.Common.targets"中:

Target "CoreResGen" in file "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets":

任务"GenerateResource"

Task "GenerateResource"

"C:\ Program Files \ Microsoft Visual Studio 8 \ SDK \ v2.0 \ bin \ Resgen.exe" /useSourcePath/r:CHChart.dll/r:C:\_cvs\ViewPoint\_PPC_DataEngineDotNet\bin\Release\DataEngineDotNet.dll/r:C:\_cvs\ViewPoint\_PPC_DataEngineHelper\bin\Release\DataEngineHelper.dll/r:LEDControl .dll/r:"C:\ Program Files \ Microsoft Visual Studio 8 \ SmartDevices \ SDK \ CompactFramework \ 2.0 \ v2.0 \ WindowsCE \ Microsoft.WindowsCE.Forms.dll" /r:"C:\ Program Files \ Microsoft Visual Studio 8 \ SmartDevices \ SDK \ CompactFramework \ 2.0 \ v2.0 \ WindowsCE \ mscorlib.dll" /r:OpenNETCF\OpenNETCF.dll/r:OpenNETCF\OpenNETCF.Windows.Forms.dll/r:OpenNETCF\OpenNETCF.WindowsCE.Forms.dll/r:" C:\ Program Files \ Microsoft Visual Studio 8 \ SmartDevices \ SDK \ CompactFramework \ 2.0 \ v2.0 \ WindowsCE \ System.Data.dll" /r:"C:\ Program Files \ Microsoft Visual Studio 8 \ SmartDevices \ SDK \ CompactFramework \ 2.0 \ v2.0 \ WindowsCE \ System.dll" /r:"C:\ Program Files \ Microsoft Visual Studio 8 \ SmartDevices \ SDK \ CompactFramework \ 2.0 \ v2.0 \ WindowsCE \ System.Drawing.dll" /r:"C:\ Program Files \ Microsoft Visual Studio 8 \ SmartDevices \ SDK \ CompactFramework \ 2.0 \ v2.0 \ WindowsCE \ System.Windows.Forms.DataGrid.dll" /r:"C:\ Program Files \ Microsoft Visual Studio 8 \ SmartDevices \ SDK \ CompactFramework \ 2.0 \ v2.0 \ WindowsCE \ System.Windows.Forms.dll" /r:"C:\ Program Files \ Microsoft Visual Studio 8 \ SmartDevices \ SDK \ CompactFramework \ 2.0 \ v2.0 \ WindowsCE \ System.Xml.dll" /compile Main.resx,obj \ Release \ _PPC_ViewPoint.Main.resources MainStrings.resx,obj \ Release \ _PPC_ViewPoint.MainStrings.resources Properties \ Resources.resx,obj \ Release \ _PPC_ViewPoint.Properties.Resources.resources

"C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin\Resgen.exe" /useSourcePath /r:CHChart.dll /r:C:\_cvs\ViewPoint\_PPC_DataEngineDotNet\bin\Release\DataEngineDotNet.dll /r:C:\_cvs\ViewPoint\_PPC_DataEngineHelper\bin\Release\DataEngineHelper.dll /r:LEDControl.dll /r:"C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\Microsoft.WindowsCE.Forms.dll" /r:"C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\mscorlib.dll" /r:OpenNETCF\OpenNETCF.dll /r:OpenNETCF\OpenNETCF.Windows.Forms.dll /r:OpenNETCF\OpenNETCF.WindowsCE.Forms.dll /r:"C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\System.Data.dll" /r:"C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\System.dll" /r:"C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\System.Drawing.dll" /r:"C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\System.Windows.Forms.DataGrid.dll" /r:"C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\System.Windows.Forms.dll" /r:"C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\System.Xml.dll" /compile Main.resx,obj\Release\_PPC_ViewPoint.Main.resources MainStrings.resx,obj\Release\_PPC_ViewPoint.MainStrings.resources Properties\Resources.resx,obj\Release\_PPC_ViewPoint.Properties.Resources.resources

C:\ WINDOWS \ Microsoft.NET \ Framework \ v2.0.50727 \ Microsoft.Common.targets(1616,9):错误MSB4018:"GenerateResource"任务意外失败.

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1616,9): error MSB4018: The "GenerateResource" task failed unexpectedly.

C:\ WINDOWS \ Microsoft.NET \ Framework \ v2.0.50727 \ Microsoft.Common.targets(1616,9):错误MSB4018:System.Runtime.InteropServices.COMException(0x80004005):引用根节点不可用.

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1616,9): error MSB4018: System.Runtime.InteropServices.COMException (0x80004005): References root node unavailable.

C:\ WINDOWS \ Microsoft.NET \ Framework \ v2.0.50727 \ Microsoft.Common.targets(1616,9):错误MSB4018:在Microsoft.Build.Shared.ExceptionHandling.RethrowUnlessFileIO(Exception e)

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1616,9): error MSB4018: at Microsoft.Build.Shared.ExceptionHandling.RethrowUnlessFileIO(Exception e)

C:\ WINDOWS \ Microsoft.NET \ Framework \ v2.0.50727 \ Microsoft.Common.targets(1616,9):错误MSB4018:在Microsoft.Build.Tasks.GenerateResource.NeedSeparateAppDomain()

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1616,9): error MSB4018: at Microsoft.Build.Tasks.GenerateResource.NeedSeparateAppDomain()

C:\ WINDOWS \ Microsoft.NET \ Framework \ v2.0.50727 \ Microsoft.Common.targets(1616,9):错误MSB4018:在Microsoft.Build.Tasks.GenerateResource.Execute()

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1616,9): error MSB4018: at Microsoft.Build.Tasks.GenerateResource.Execute()

C:\ WINDOWS \ Microsoft.NET \ Framework \ v2.0.50727 \ Microsoft.Common.targets(1616,9):错误MSB4018:在Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask,Hashtable projectItemsAvailableToTask,BuildPropertyGroup projectPropertiesAvailableToTask,布尔值和taskClassWasFound)

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1616,9): error MSB4018: at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound)

完成执行任务"GenerateResource"; -失败.

Done executing task "GenerateResource" -- FAILED.

已完成构建目标"CoreResGen";在项目"_PPC_ViewPoint.csproj"中-失败.

Done building target "CoreResGen" in project "_PPC_ViewPoint.csproj" -- FAILED.

目标"_CheckForCompileOutputs"在文件"C:\ WINDOWS \ Microsoft.NET \ Framework \ v2.0.50727 \ Microsoft.Common.targets"中:

Target "_CheckForCompileOutputs" in file "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets":

任务"CreateItem";由于错误条件而被跳过; (Exists('@(IntermediateAssembly)'))被评估为(Exists('obj \ Release \ ViewPointClient.exe')).

Task "CreateItem" skipped, due to false condition; (Exists('@(IntermediateAssembly)')) was evaluated as (Exists('obj\Release\ViewPointClient.exe')).

任务"CreateProperty"

Task "CreateProperty"

已执行任务"CreateProperty".

Done executing task "CreateProperty".

任务"CreateItem";由于错误条件而被跳过; ('$(_ DocumentationFileProduced)'=='true')被评估为('false'=='true').

Task "CreateItem" skipped, due to false condition; ('$(_DocumentationFileProduced)'=='true') was evaluated as ('false'=='true').

任务"CreateProperty"

Task "CreateProperty"

已执行任务"CreateProperty".

Done executing task "CreateProperty".

任务"CreateItem";由于错误条件而被跳过; ('$(_ DebugSymbolsProduced)'=='true')被评估为('false'=='true').

Task "CreateItem" skipped, due to false condition; ('$(_DebugSymbolsProduced)'=='true') was evaluated as ('false'=='true').

完成的构建目标"_CheckForCompileOutputs"在项目"_PPC_ViewPoint.csproj"中.

Done building target "_CheckForCompileOutputs" in project "_PPC_ViewPoint.csproj".

目标"_SGenCheckForOutputs"由于错误条件而被跳过; ('$(_ SGenGenerateSerializationAssembliesConfig)'=='开启'或('@(WebReferenceUrl)'!=''和'$(_ SGenGenerateSerializationAssembliesConfig)'=='自动'))被评估为('Off'=='On'或(''!=''和'Off'=='Auto')).

Target "_SGenCheckForOutputs" skipped, due to false condition; ('$(_SGenGenerateSerializationAssembliesConfig)' == 'On' or ('@(WebReferenceUrl)'!='' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto')) was evaluated as ('Off' == 'On' or (''!='' and 'Off' == 'Auto')).

目标"_CleanGetCurrentAndPriorFileWrites"在文件"C:\ WINDOWS \ Microsoft.NET \ Framework \ v2.0.50727 \ Microsoft.Common.targets"中:

Target "_CleanGetCurrentAndPriorFileWrites" in file "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets":

任务"ReadLinesFromFile"

Task "ReadLinesFromFile"

执行任务"ReadLinesFromFile".

Done executing task "ReadLinesFromFile".

任务"CreateItem"

Task "CreateItem"

已执行任务"CreateItem".

Done executing task "CreateItem".

任务"FindUnderPath"

Task "FindUnderPath"

比较路径为"C:\ _ cvs \ ViewPoint \ _PPC_ViewPoint".

Comparison path is "C:\_cvs\ViewPoint\_PPC_ViewPoint".

已执行任务"FindUnderPath".

Done executing task "FindUnderPath".

任务"FindUnderPath"

Task "FindUnderPath"

比较路径为"bin \ Release \".

Comparison path is "bin\Release\".

路径"C:\ _ cvs \ ViewPoint \ _PPC_ViewPoint \ obj \ Release \ ResolveAssemblyReference.cache"在比较路径之外.

Path "C:\_cvs\ViewPoint\_PPC_ViewPoint\obj\Release\ResolveAssemblyReference.cache" is outside the comparison path.

已执行任务"FindUnderPath".

Done executing task "FindUnderPath".

任务"FindUnderPath"

Task "FindUnderPath"

比较路径为"obj \ Release \".

Comparison path is "obj\Release\".

路径"C:\ _ cvs \ ViewPoint \ _PPC_ViewPoint \ obj \ Release \ ResolveAssemblyReference.cache"在比较路径之内.

Path "C:\_cvs\ViewPoint\_PPC_ViewPoint\obj\Release\ResolveAssemblyReference.cache" is inside the comparison path.

已执行任务"FindUnderPath".

Done executing task "FindUnderPath".

任务"CreateItem"

Task "CreateItem"

已执行任务"CreateItem".

Done executing task "CreateItem".

任务"RemoveDuplicates"

Task "RemoveDuplicates"

已执行任务"RemoveDuplicates".

Done executing task "RemoveDuplicates".

完成的构建目标"_CleanGetCurrentAndPriorFileWrites"在项目"_PPC_ViewPoint.csproj"中.

Done building target "_CleanGetCurrentAndPriorFileWrites" in project "_PPC_ViewPoint.csproj".

目标"_CleanRecordFileWrites"在文件"C:\ WINDOWS \ Microsoft.NET \ Framework \ v2.0.50727 \ Microsoft.Common.targets"中:

Target "_CleanRecordFileWrites" in file "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets":

任务"RemoveDuplicates"

Task "RemoveDuplicates"

已执行任务"RemoveDuplicates".

Done executing task "RemoveDuplicates".

任务"MakeDir"

Task "MakeDir"

已执行任务"MakeDir".

Done executing task "MakeDir".

任务"WriteLinesToFile"

Task "WriteLinesToFile"

已执行任务"WriteLinesToFile".

Done executing task "WriteLinesToFile".

完成的构建目标"_CleanRecordFileWrites"在项目"_PPC_ViewPoint.csproj"中.

Done building target "_CleanRecordFileWrites" in project "_PPC_ViewPoint.csproj".

完成的建筑项目"_PPC_ViewPoint.csproj" -失败.

Done building project "_PPC_ViewPoint.csproj" -- FAILED.

构建失败.

推荐答案

戴夫,我们之前从未见过.我们需要一种在研究结束时重现它的方法.

Dave, we haven't seen this before. We need a way to reproduce it at our end to investigate.

您可以将项目缩减到再现项目所需的最低限度(很可能,您将能够删除几乎所有的源代码)并将其附加到错误中? Bug打开信息在此论坛的顶部.

Can you reduce your project down to the minimum required to reproduce it (likely, you'll be able to remove almost all the source code) and attach it to a bug? Bug opening information is at the top of this forum.


这篇关于Resgen:引用根节点不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆