Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/317.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2008/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# HRESULT=80004005与Visual Studio 2008_C#_Visual Studio 2008_Reference_Setup Project_Hresult - Fatal编程技术网

C# HRESULT=80004005与Visual Studio 2008

C# HRESULT=80004005与Visual Studio 2008,c#,visual-studio-2008,reference,setup-project,hresult,C#,Visual Studio 2008,Reference,Setup Project,Hresult,我在构建项目时遇到此错误,无法修复。 我有两个解决方案,它们都引用了相同的设置项目,因此可能是问题所在 我在谷歌上搜索,在StackOverflow中查找,并做了人们说应该做的所有事情:删除和读取引用,以及一系列的事情 我会把我的作品贴在这里,希望有人能给我一点希望 先谢谢大家 最好的, 曼努埃尔 我解决了这个问题,重新检查整个项目,从头开始。。花了我一整天的时间,但我已经解决了:)DuboCalc2.0是什么类型的项目?你安装了任何扩展吗?@JaredPar这是一个Windows应用程序,据我

我在构建项目时遇到此错误,无法修复。 我有两个解决方案,它们都引用了相同的设置项目,因此可能是问题所在

我在谷歌上搜索,在StackOverflow中查找,并做了人们说应该做的所有事情:删除和读取引用,以及一系列的事情

我会把我的作品贴在这里,希望有人能给我一点希望

先谢谢大家

最好的, 曼努埃尔


我解决了这个问题,重新检查整个项目,从头开始。。花了我一整天的时间,但我已经解决了:)

DuboCalc2.0是什么类型的项目?你安装了任何扩展吗?@JaredPar这是一个Windows应用程序,据我所知,我没有安装任何扩展。我如何检查呢?如果你不知道,那么你几乎肯定没有任何安装。我从来没有遇到过这些错误,我很惊讶它们来自wnidowsapp@JaredPar我想知道输出中是否有错误,因为我有一个警告
考虑app.config将程序集“EnvDTE,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a”从版本“7.0.3300.0”[]重新映射到版本“8.0.0.0”[C:\Program Files(x86)\Common Files\Microsoft Shared\MSEnv\PublicAssemblys\EnvDTE.dll]解决冲突并消除警告。
C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets:警告:引用的项目“..\..\DCClasses\DCClasses\DCClasses\DCClasses\DCClasses.csproj”不存在。
最后一个错误是错误的。作为一个实验,我将努力编写该项目的完整路径。
------ Build started: Project: CPTUtils, Configuration: Debug Any CPU ------
CPTUtils -> D:\Projects\DuboCalc\DataLayer\CPTUtils\bin\Debug\CPTUtils.dll
------ Build started: Project: CPT.Security, Configuration: Debug Any CPU ------
CPT.Security -> D:\Projects\DuboCalc\DataLayer\Tools\CPT.Security\bin\Debug\CPT.Security.dll
------ Build started: Project: CPTTranslations, Configuration: Debug Any CPU ------
CPTTranslations -> D:\Projects\DuboCalc\DataLayer\CPTTranslations\bin\Debug\CPTTranslations.dll
------ Build started: Project: CPTDB, Configuration: Debug Any CPU ------
CPTDB -> D:\Projects\DuboCalc\DataLayer\CPTDB\bin\Debug\CPTDB.dll
------ Build started: Project: DBManagement, Configuration: Debug Any CPU ------
DBManagement -> D:\Projects\DuboCalc\DataLayer\DBManagement\bin\Debug\DBManagement.dll
------ Build started: Project: DBMGTBaseExtensions, Configuration: Debug Any CPU ------
DBMGTBaseExtensions -> D:\Projects\DuboCalc\DataLayer\DBMGTBaseExtensions\bin\Debug\DBMGTBaseExtensions.dll
------ Build started: Project: Exporter, Configuration: Debug Any CPU ------
Exporter -> D:\Projects\DuboCalc\DataLayer\Exporter\bin\Debug\Exporter.dll
copy "D:\Projects\DuboCalc\DataLayer\Exporter\bin\Debug\Exporter.dll" "D:\Projects\DuboCalc\DuboCalc2.0\bin\Debug\"
copy "D:\Projects\DuboCalc\DataLayer\Exporter\bin\Debug\Exporter.pdb" "D:\Projects\DuboCalc\DuboCalc2.0\bin\Debug\"
        1 file(s) copied.
        1 file(s) copied.
------ Build started: Project: DBMgtRevisioning, Configuration: Debug Any CPU ------
DBMgtRevisioning -> D:\Projects\DuboCalc\DataLayer\DBMgtRevisioning\bin\Debug\DBMgtRevisioning.dll
------ Build started: Project: NetworkTools, Configuration: Debug Any CPU ------
NetworkTools -> D:\Projects\DuboCalc\DataLayer\Tools\NetworkTools\bin\Debug\NetworkTools.dll
------ Build started: Project: DBInstaller, Configuration: Debug Any CPU ------
DBInstaller -> D:\Projects\DuboCalc\DuboCalc2.0\DBInstaller\bin\Debug\DBInstaller.exe
------ Build started: Project: DCClasses, Configuration: Debug Any CPU ------
DCClasses -> D:\Projects\DuboCalc\DCClasses\DCClasses\bin\Debug\DCClasses.dll
------ Build started: Project: XMLReporter, Configuration: Debug Any CPU ------
Consider app.config remapping of assembly "EnvDTE, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" from Version "7.0.3300.0" [] to Version "8.0.0.0" [C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\PublicAssemblies\EnvDTE.dll] to solve conflict and get rid of warning.
C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3247: Found conflicts between different versions of the same dependent assembly.
XMLReporter -> D:\Projects\DuboCalc\DuboCalc2.0\XMLReporter\bin\Debug\XMLReporter.exe
Done building project "XMLReporter.csproj".
------ Build started: Project: DuboCalc2.0, Configuration: Debug Any CPU ------
C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning : The referenced project '..\..\DCClasses\DCClasses\DCClasses\DCClasses.csproj' does not exist.
Consider app.config remapping of assembly "CPT.Security, Culture=neutral, PublicKeyToken=d593bbb549999bfb" from Version "1.0.4314.17230" [D:\Projects\DataLayer\CPTDB\bin\Debug\CPT.Security.dll] to Version "1.0.4402.23887" [D:\Projects\DuboCalc\DataLayer\Tools\CPT.Security\bin\Debug\CPT.Security.dll] to solve conflict and get rid of warning.
C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3247: Found conflicts between different versions of the same dependent assembly.
C:\Windows\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig /nowarn:1701,1702 /errorreport:prompt /warn:4 /define:DEBUG;TRACE /main:DuboCalc2._0.Program /reference:D:\Projects\DuboCalc\DataLayer\Tools\CPT.Security\bin\Debug\CPT.Security.dll /reference:D:\Projects\DataLayer\CPTDB\bin\Debug\CPTDB.dll /reference:D:\Projects\DuboCalc\DataLayer\CPTTranslations\bin\Debug\CPTTranslations.dll /reference:D:\Projects\DuboCalc\DataLayer\CPTUtils\bin\Debug\CPTUtils.dll /reference:D:\Projects\DuboCalc\DuboCalc2.0\DBInstaller\bin\Debug\DBInstaller.exe /reference:D:\Projects\DataLayer\DBManagement\bin\Debug\DBManagement.dll /reference:D:\Projects\DuboCalc\DataLayer\DBMGTBaseExtensions\bin\Debug\DBMGTBaseExtensions.dll /reference:D:\Projects\DuboCalc\DataLayer\DBMgtRevisioning\bin\Debug\DBMgtRevisioning.dll /reference:D:\Projects\DuboCalc\DCClasses\DCClasses\bin\Debug\DCClasses.dll /reference:D:\Projects\DuboCalc\DataLayer\Exporter\bin\Debug\Exporter.dll /reference:..\dll\Infragistics2.Excel.v9.2.dll /reference:..\dll\Infragistics2.Shared.v9.2.dll /reference:..\dll\Infragistics2.Win.UltraWinChart.v9.2.dll /reference:..\dll\Infragistics2.Win.UltraWinDataSource.v9.2.dll /reference:..\dll\Infragistics2.Win.UltraWinGrid.ExcelExport.v9.2.dll /reference:..\dll\Infragistics2.Win.UltraWinGrid.v9.2.dll /reference:..\dll\Infragistics2.Win.UltraWinTabControl.v9.2.dll /reference:..\dll\Infragistics2.Win.UltraWinTree.v9.2.dll /reference:..\dll\Infragistics2.Win.v9.2.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.VisualBasic.dll /reference:D:\Projects\DuboCalc\DataLayer\Tools\NetworkTools\bin\Debug\NetworkTools.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.configuration.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Data.DataSetExtensions.dll" /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Deployment.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Design.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Runtime.Serialization.Formatters.Soap.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Web.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Xml.Linq.dll" /reference:D:\Projects\DuboCalc\DuboCalc2.0\XMLReporter\bin\Debug\XMLReporter.exe /debug+ /debug:full /filealign:512 /nowin32manifest /optimize- /out:obj\Debug\DuboCalc2.0.exe /resource:obj\Debug\DuboCalc2._0.Forms.AxisAnalysisForm.resources /resource:obj\Debug\DuboCalc2._0.Forms.EnvironmentRatiosForm.resources /resource:obj\Debug\DuboCalc2._0.Forms.frmAbout.resources /resource:obj\Debug\DuboCalc2._0.Forms.frmData.resources /resource:obj\Debug\DuboCalc2._0.Forms.frmSplash.resources /resource:obj\Debug\DuboCalc2._0.Graph.resources /resource:obj\Debug\DuboCalc2._0.Forms.LibrarySelectionForm.resources /resource:obj\Debug\DuboCalc2._0.Forms.LibrarySelectionForProject.resources /resource:obj\Debug\DuboCalc2._0.Forms.LibrarySelectionForUpgrade.resources /resource:obj\Debug\DuboCalc2._0.Forms.MassBalanceForm.resources /resource:obj\Debug\DuboCalc2._0.ProjectForm.resources /resource:obj\Debug\DuboCalc2._0.Forms.ProjectPropertiesForm.resources /resource:obj\Debug\DuboCalc2._0.Forms.ReportSelectionForm.resources /resource:obj\Debug\DuboCalc2._0.Forms.SearchResultsForm.resources /resource:obj\Debug\DuboCalc2._0.Forms.TotalOverviewForm.resources /resource:obj\Debug\DuboCalc2._0.Forms.UpdatePreviewForm.resources /resource:obj\Debug\DuboCalc2._0.SearchForm.resources /resource:obj\Debug\DuboCalc2._0.frm_AddMaterialProcess.resources /resource:obj\Debug\DuboCalc2._0.OptionsForm.resources /resource:obj\Debug\DuboCalc2._0.SimpleSearchForm.resources /resource:obj\Debug\DuboCalc2._0.TypeEditor.ExtraPropertiedForm.resources /resource:obj\Debug\DuboCalc2._0.UILongString.resources /resource:obj\Debug\DuboCalc2._0.Forms.VariantAnalysisForm.resources /resource:obj\Debug\DuboCalc2._0.DuboCalcMain.resources /resource:obj\Debug\DuboCalc2._0.Properties.Resources.resources /resource:obj\Debug\DuboCalc2._0.WinFormStrings.resources /resource:Resources\english.resources,DuboCalc2._0.Resources.english.resources /resource:Resources\DuboCalc2._0.i18n.resources,DuboCalc2._0.Resources.DuboCalc2._0.i18n.resources /resource:Entities.bmp,DuboCalc2._0.Entities.bmp /resource:obj\Debug\DuboCalc2.0.exe.licenses /target:winexe /win32icon:DC.ico DCHelp\HelpManager.cs Forms\AxisAnalysisForm.cs Forms\AxisAnalysisForm.Designer.cs Forms\EnvironmentRatiosForm.cs Forms\EnvironmentRatiosForm.Designer.cs Forms\frmAbout.cs Forms\frmAbout.Designer.cs Forms\frmData.cs Forms\frmData.Designer.cs Forms\frmSplash.cs Forms\frmSplash.Designer.cs Forms\Graph.cs Forms\Graph.Designer.cs Forms\LibrarySelectionForm.cs Forms\LibrarySelectionForm.Designer.cs Forms\LibrarySelectionForProject.cs Forms\LibrarySelectionForProject.Designer.cs Forms\LibrarySelectionForUpgrade.cs Forms\LibrarySelectionForUpgrade.Designer.cs Forms\MassBalanceForm.cs Forms\MassBalanceForm.Designer.cs Forms\ProjectPropertiesForm.cs Forms\ProjectPropertiesForm.Designer.cs Forms\ReportSelectionForm.cs Forms\ReportSelectionForm.Designer.cs Forms\SearchResultsForm.cs Forms\SearchResultsForm.Designer.cs Forms\TotalOverviewForm.cs Forms\TotalOverviewForm.Designer.cs Forms\UpdatePreviewForm.cs Forms\UpdatePreviewForm.Designer.cs HelperClasses\DuboCalcSettings.cs HelperClasses\ExcelExporter.cs HelperClasses\ItnterFaces.cs HelperClasses\JSONConverter.cs HelperClasses\ScreenGraber.cs HelperClasses\Utils.cs LibUpdate\LibraryUpdater.cs LibUpdate\ItemComparator.cs ProjectExplorer\GUIMaterial.cs ProjectExplorer\GUIProcess.cs Forms\SearchForm.cs Forms\SearchForm.Designer.cs Forms\DropDownTreeView.cs Forms\frm_AddMaterialProcess.cs Forms\frm_AddMaterialProcess.Designer.cs Forms\ProjectForm.cs Forms\ProjectForm.Designer.cs TypeEditor\CollectionEditor.cs TypeEditor\ExtraPropertiedForm.cs TypeEditor\ExtraPropertiedForm.Designer.cs TypeEditor\LongStringEditor.cs Forms\OptionsForm.cs Forms\OptionsForm.Designer.cs IconManager.cs Icons.cs ProjectExplorer\GUIItemMaterial.cs ProjectExplorer\GUIItemProcess.cs Forms\SimpleSearchForm.cs Forms\SimpleSearchForm.Designer.cs UILongString.cs WinFormStrings.nl-NL.Designer.cs I18n.cs ProjectExplorer\Element.cs Forms\VariantAnalysisForm.cs Forms\VariantAnalysisForm.Designer.cs ProjectExplorer\GUIItem.cs ProjectExplorer\Project.cs ProjectExplorer\XMLHelper.cs DuboCalcMain.cs DuboCalcMain.Designer.cs Program.cs Properties\AssemblyInfo.cs Properties\Resources.Designer.cs Properties\Settings.Designer.cs ProjectExplorer\Variant.cs WinFormStrings.Designer.cs
D:\Projects\DuboCalc\DuboCalc2.0\DuboCalc2.0\DuboCalcMain.cs(22,7): warning CS0105: The using directive for 'System.Data' appeared previously in this namespace
D:\Projects\DuboCalc\DuboCalc2.0\DuboCalc2.0\Forms\DropDownTreeView.cs(48,15): warning CS0108: 'DuboCalc2._0.DropDownTreeView.Margin' hides inherited member 'System.Windows.Forms.Control.Margin'. Use the new keyword if hiding was intended.
c:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll: (Related file)
D:\Projects\DuboCalc\DuboCalc2.0\DuboCalc2.0\Forms\frm_AddMaterialProcess.Designer.cs(166,64): warning CS0108: 'DuboCalc2._0.frm_AddMaterialProcess.Name' hides inherited member 'System.Windows.Forms.Control.Name'. Use the new keyword if hiding was intended.
c:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll: (Related file)
D:\Projects\DuboCalc\DuboCalc2.0\DuboCalc2.0\Forms\ProjectForm.cs(2263,42): warning CS0168: The variable 'ex' is declared but never used
D:\Projects\DuboCalc\DuboCalc2.0\DuboCalc2.0\DuboCalcMain.cs(289,21): warning CS0162: Unreachable code detected
D:\Projects\DuboCalc\DuboCalc2.0\DuboCalc2.0\ProjectExplorer\Project.cs(668,20): warning CS0219: The variable 'toc_content' is assigned but its value is never used
D:\Projects\DuboCalc\DuboCalc2.0\DuboCalc2.0\I18n.cs(28,30): warning CS0168: The variable 'e' is declared but never used
D:\Projects\DuboCalc\DuboCalc2.0\DuboCalc2.0\Forms\ProjectForm.cs(49,22): warning CS0414: The field 'DuboCalc2._0.ProjectForm.m_multiselect' is assigned but its value is never used
D:\Projects\DuboCalc\DuboCalc2.0\DuboCalc2.0\Forms\SearchForm.cs(28,22): warning CS0414: The field 'DuboCalc2._0.SearchForm.rename' is assigned but its value is never used

Compile complete -- 0 errors, 9 warnings
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\AL.exe /culture:nl-NL /out:obj\Debug\nl-NL\DuboCalc2.0.resources.dll /template:obj\Debug\DuboCalc2.0.exe /embed:obj\Debug\DuboCalc2._0.WinFormStrings.nl-NL.resources
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\AL.exe /culture:en-US /out:obj\Debug\en-US\DuboCalc2.0.resources.dll /template:obj\Debug\DuboCalc2.0.exe /embed:Resources\english.en-US.resources,DuboCalc2._0.Resources.english.en-US.resources
DuboCalc2.0 -> D:\Projects\DuboCalc\DuboCalc2.0\DuboCalc2.0\bin\Debug\DuboCalc2.0.exe
Done building project "DuboCalc2.0.csproj".
------ Starting pre-build validation for project 'DuboCalcInstallNoSQL' ------ 
WARNING: File 'jit.js' should not be installed into a User's Profile folder because it may not be available to all users.
WARNING: File 'example1.js' should not be installed into a User's Profile folder because it may not be available to all users.
WARNING: File 'Spacetree.css' should not be installed into a User's Profile folder because it may not be available to all users.
WARNING: File 'DuboCalcOptions.xml' should not be installed into a User's Profile folder because it may not be available to all users.
WARNING: File 'base.css' should not be installed into a User's Profile folder because it may not be available to all users.
WARNING: File 'form.html' should not be installed into a User's Profile folder because it may not be available to all users.
WARNING: File 'excanvas.js' should not be installed into a User's Profile folder because it may not be available to all users.
WARNING: File 'jit-yc.js' should not be installed into a User's Profile folder because it may not be available to all users.
ERROR: Invalid or unspecified target for shortcut 'DuboCalc 2.1'
ERROR: An error occurred while validating.  HRESULT = '80004005'
------ Pre-build validation for project 'DuboCalcInstallNoSQL' completed ------
------ Build started: Project: DuboCalcInstallNoSQL, Configuration: Debug ------
========== Build: 13 succeeded or up-to-date, 1 failed, 0 skipped ==========