嘗試構建使用QT的C++項目時出現此錯誤。錯誤MSB6006:使用代碼3退出「cmd.exe」
我檢查下面的鏈接,但用戶並沒有說的解決方案。
http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/5b0be7be-1b6e-44c2-91ca-b5a9a55a2c41/
出現的警告是:
警告1
The element 'PropertyGroup' in namespace ' http://schemas.microsoft.com/developer/msbuild/2003 ' has invalid child element 'IntDirTrailingSlashWarning' in namespace ' http://schemas.microsoft.com/developer/msbuild/2003 '. List of possible elements expected: 'Property, AllowUnsafeBlocks, AppConfigForCompiler, ApplicationIcon, ApplicationRevision, ApplicationVersion, AppDesignerFolder, AspNetConfiguration, AssemblyKeyContainerName, AssemblyKeyProviderName, AssemblyName, AssemblyOriginatorKeyFile, AssemblyOriginatorKeyFileType, AssemblyOriginatorKeyMode, AssemblyType, AutorunEnabled, BaseAddress, BootstrapperComponentsLocation, BootstrapperComponentsUrl, BootstrapperEnabled, CharacterSet, CheckForOverflowUnderflow, CLRSupport, CodePage, Configuration, ConfigurationName, ConfigurationOverrideFile, CreateDesktopShortcut, CreateWebPageOnPublish, CurrentSolutionConfigurationContents, DebugSecurityZoneURL, DebugSymbols, DebugType, DefaultClientScript, DefaultHTMLPageLayout, DefaultTargetSchema, DefineConstants, DefineDebug, DefineTrace, DelaySign, DisableLangXtns, DisallowUrlActivation, CodeAnalysisAdditionalOptions, CodeAnalysisApplyLogFileXsl, CodeAnalysisConsoleXsl, CodeAnalysisCulture, CodeAnalysisFailOnMissingRules, CodeAnalysisForceOutput, CodeAnalysisGenerateS.... C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 21
和
警告59
The 'ToolArchitecture' attribute is not declared. C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 713
這是具有錯誤的文件: error file
這是日誌文件: log file
指向代碼/資源的更多錯誤? – Raptor 2013-03-13 06:27:41
我不這麼認爲 – Tak 2013-03-13 06:37:20
請顯示生成日誌。 – Raptor 2013-03-13 06:47:04