Visual Studio,构建失败,没有错误

时间:2015-07-09 20:38:38

标签: visual-studio build

我在visual studio 2013中有一个项目运作良好。 在最后一次重建(没有任何变化)时它失败了,我没有遇到错误。 我试图重新启动一切,甚至建立一个没有运气的新项目。我重新安装了我的VS2013而没有... :(

当我将构建日志更改为诊断时,我得到了以下结果:

5f7f11d50a3a".
          Resolved file path is "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Deployment.dll".
          Reference found at search path location "{TargetFrameworkDirectory}".
              For SearchPath "{TargetFrameworkDirectory}".
              Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Deployment.winmd", but it didn't exist.
          This reference is not "CopyLocal" because it's a prerequisite file.
          The ImageRuntimeVersion for this reference is "v4.0.30319".
      Primary reference "System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
          Resolved file path is "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Drawing.dll".
          Reference found at search path location "{TargetFrameworkDirectory}".
              For SearchPath "{TargetFrameworkDirectory}".
              Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Drawing.winmd", but it didn't exist.
          This reference is not "CopyLocal" because it's a prerequisite file.
          The ImageRuntimeVersion for this reference is "v4.0.30319".
      Primary reference "System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
          Resolved file path is "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Management.dll".
          Reference found at search path location "{TargetFrameworkDirectory}".
              For SearchPath "{TargetFrameworkDirectory}".
              Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Management.winmd", but it didn't exist.
          This reference is not "CopyLocal" because it's a prerequisite file.
          The ImageRuntimeVersion for this reference is "v4.0.30319".
      Primary reference "System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
          Resolved file path is "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Windows.Forms.dll".
          Reference found at search path location "{TargetFrameworkDirectory}".
              For SearchPath "{TargetFrameworkDirectory}".
              Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Windows.Forms.winmd", but it didn't exist.
          This reference is not "CopyLocal" because it's a prerequisite file.
          The ImageRuntimeVersion for this reference is "v4.0.30319".
      Primary reference "System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
          Resolved file path is "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll".
          Reference found at search path location "{TargetFrameworkDirectory}".
              For SearchPath "{TargetFrameworkDirectory}".
              Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.winmd", but it didn't exist.
          This reference is not "CopyLocal" because it's a prerequisite file.
          The ImageRuntimeVersion for this reference is "v4.0.30319".
      Primary reference "System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
          Resolved file path is "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.dll".
          Reference found at search path location "{TargetFrameworkDirectory}".
              For SearchPath "{TargetFrameworkDirectory}".
              Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.Linq.winmd", but it didn't exist.
          This reference is not "CopyLocal" because it's a prerequisite file.
          The ImageRuntimeVersion for this reference is "v4.0.30319".
      Primary reference "System.Data.DataSetExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
          Resolved file path is "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.dll".
          Reference found at search path location "{TargetFrameworkDirectory}".
              For SearchPath "{TargetFrameworkDirectory}".
              Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.DataSetExtensions.winmd", but it didn't exist.
          This reference is not "CopyLocal" because it's a prerequisite file.
          The ImageRuntimeVersion for this reference is "v4.0.30319".
      Primary reference "System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
          Resolved file path is "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll".
          Reference found at search path location "{TargetFrameworkDirectory}".
              For SearchPath "{TargetFrameworkDirectory}".
              Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.winmd", but it didn't exist.
          This reference is not "CopyLocal" because it's a prerequisite file.
          The ImageRuntimeVersion for this reference is "v4.0.30319".
      AssemblyFoldersEx location: "{Registry:Software\Microsoft\.NETFramework,v4.0,AssemblyFoldersEx}"
              C:\Program Files\Reference Assemblies\Microsoft\Workflow Manager\1.0\
              C:\Program Files (x86)\Microsoft WCF Data Services\5.6\bin\.NETFramework\
              C:\Program Files (x86)\Microsoft WCF Data Services\5.0\bin\.NETFramework\
              C:\Program Files\Reference Assemblies\Microsoft\VSTO40\v4.0.Framework\
              C:\Program Files (x86)\Microsoft Visual Studio 12.0\Visual Studio Tools for Office\PIA\Office15\
              C:\Program Files (x86)\Microsoft Visual Studio 12.0\Visual Studio Tools for Office\PIA\Office14\
              C:\Program Files (x86)\Microsoft Visual Studio 12.0\Visual Studio Tools for Office\PIA\Common\
              C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\SharePoint\PublicAssemblies\
              C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ReferenceAssemblies\v4.0\
              C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ReferenceAssemblies\v4.0\
              C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\
              C:\Program Files (x86)\Reference Assemblies\Microsoft\VBPowerPacks\v10.0\
              C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\TEMPLATE\WorkflowActivities\

              C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\WorkflowActivities\
              C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\
              C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\ISAPI\
              C:\Program Files (x86)\Microsoft SDKs\RIA Services\v1.0\Libraries\Server\
              C:\Program Files (x86)\Open XML SDK\V2.5\lib
              C:\Program Files (x86)\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.3.0.0\Type Providers\
              C:\Program Files (x86)\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.3.0.0\
              C:\Program Files (x86)\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.3.1.0\
              C:\Program Files (x86)\Reference Assemblies\Microsoft\FSharp\3.0\Runtime\v4.0\Type Providers\
              C:\Program Files (x86)\Reference Assemblies\Microsoft\FSharp\3.0\Runtime\v4.0\
              C:\Program Files (x86)\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Prototyping\Libraries\
              C:\Program Files (x86)\Microsoft SDKs\Expression\Blend\.NETFramework\v4.0\Libraries\
              C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v2.0\Assemblies\
              C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies\
              C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 4\Assemblies\
              C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 3\Assemblies\

              C:\Program Files\Reference Assemblies\Microsoft\Microsoft Identity Extensions\1.0\
              C:\Program Files\Common Files\Microsoft Shared\VS7DEBUG\Program Files\Reference Assemblies\Microsoft\VSTA30\v11.0\.NET2.0\
              C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\SharePoint\PublicAssemblies\
              C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ReferenceAssemblies\v2.0\
              C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ReferenceAssemblies\v2.0\
              C:\Program Files (x86)\Reference Assemblies\Microsoft\VBPowerPacks\v10.0\
              C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\PublicAssemblies\
              C:\Program Files (x86)\Microsoft Chart Controls\Assemblies
              C:\Program Files (x86)\Reference Assemblies\Microsoft\FSharp\.NETFramework\v2.0\2.3.0.0\
              C:\Program Files (x86)\Microsoft Visual Studio 12.0\Blend\
              C:\Program Files (x86)\Microsoft Visual Studio 12.0\Blend\
    Done executing task "ResolveAssemblyReference".
    Done building target "ResolveAssemblyReferences" in project "TomaMix_Grades.vbproj".
    Target "GenerateBindingRedirects" skipped, due to false condition; ('$(AutoGenerateBindingRedirects)' == 'true' and '$(GenerateBindingRedirectsOutputType)' == 'true') was evaluated as ('' == 'true' and 'true' == 'true').
    Target "GenerateBindingRedirectsUpdateAppConfig" skipped, due to false condition; ('$(AutoGenerateBindingRedirects)' == 'true' and '$(GenerateBindingRedirectsOutputType)' == 'true' and Exists('$(_GenerateBindingRedirectsIntermediateAppConfig)')) was evaluated as ('' == 'true' and 'true' == 'true' and Exists('obj\x86\Debug\TomaMix_Grades.vbproj.TomaMix Grades.exe.config')).
    Target "PrepareForBuild" skipped. Previously built successfully.
    Target "ResolveKeySource" skipped, due to false condition; ($(SignManifests) == 'true' or $(SignAssembly) == 'true') was evaluated as (false == 'true' or  == 'true').
    Target "ResolveAssemblyReferences" skipped. Previously built successfully.
    Target "ResolveComReferences" in file "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Development\TomaMix\TomaMix\TomaMix_Grades\TomaMix_Grades\TomaMix_Grades.vbproj" (target "ResolveReferences" depends on it):
    Task "MakeDir"
    Done executing task "MakeDir".
    Task "ResolveComReference"
      Using cache file at "obj\x86\Debug\TomaMix_Grades.vbproj.ResolveComReference.cache".
    C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(2234,5): warning MSB3284: Cannot get the file path for type library "e64169b3-3592-47d2-816e-602c5c13f328" version 1.1. Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))
    C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(2234,5): warning MSB3284: Cannot get the file path for type library "7b92f833-027d-402b-bff9-a67697366f4e" version 1.0. Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))
    C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(2234,5): warning MSB3284: Cannot get the file path for type library "6bf52a50-394a-11d3-b153-00c04f79faa6" version 1.0. Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))
    C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(2234,5): warning MSB3284: Cannot get the file path for type library "7b92f833-027d-402b-bff9-a67697366f4e" version 1.0. Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))
    C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(2234,5): warning MSB3284: Cannot get the file path for type library "29866aed-1e14-417d-ba0f-1a2be6f5a19e" version 1.0. Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))
    C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(2234,5): warning MSB3284: Cannot get the file path for type library "6bf52a50-394a-11d3-b153-00c04f79faa6" version 1.0. Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))
      COM Reference 'MSComctlLib' is the interop assembly for ActiveX control 'AxMSComctlLib' but was marked to be linked by the compiler with the /link flag. This COM reference will be treated as a reference and will not be linked.
      Resolving COM reference for item "ADODB" with a wrapper "primary".
      Determining dependencies of the COM reference "ADODB".
      Resolving COM reference for item "stdole" with a wrapper "primary".
      Determining dependencies of the COM reference "stdole".
      Resolved COM reference for item "stdole": "C:\Windows\assembly\GAC\stdole\7.0.3300.0__b03f5f7f11d50a3a\stdole.dll".
      Resolved COM reference for item "ADODB": "C:\Windows\assembly\GAC\ADODB\7.0.3300.0__b03f5f7f11d50a3a\ADODB.dll".
      Resolving COM reference for item "Microsoft.Office.Core" with a wrapper "primary".
      Determining dependencies of the COM reference "Microsoft.Office.Core".
      Resolved COM reference for item "Microsoft.Office.Core": "C:\Windows\assembly\GAC_MSIL\Office\15.0.0.0__71e9bce111e9429c\Office.dll".
      Resolving COM reference for item "Microsoft.Office.Interop.Access" with a wrapper "primary".
      Determining dependencies of the COM reference "Microsoft.Office.Interop.Access".
      Resolving COM reference for item "Microsoft.Office.Interop.Access.Dao" with a wrapper "primary".
      Determining dependencies of the COM reference "Microsoft.Office.Interop.Access.Dao".
      Resolved COM reference for item "Microsoft.Office.Interop.Access.Dao": "C:\Windows\assembly\GAC_MSIL\Microsoft.Office.Interop.Access.Dao\15.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.Access.Dao.dll".
      Resolving COM reference for item "VBIDE" with a wrapper "primary".
      Determining dependencies of the COM reference "VBIDE".
      Resolved COM reference for item "VBIDE": "C:\Windows\assembly\GAC_MSIL\Microsoft.Vbe.Interop\15.0.0.0__71e9bce111e9429c\Microsoft.Vbe.Interop.dll".
      Resolving COM reference dependency "2a75196c-d9eb-4129-b803-931327f72d5c" version 2.8.
      Resolved COM reference dependency "2a75196c-d9eb-4129-b803-931327f72d5c" version 2.8: "C:\Windows\assembly\GAC\ADODB\7.0.3300.0__b03f5f7f11d50a3a\ADODB.dll"
      Resolved COM reference for item "Microsoft.Office.Interop.Access": "C:\Windows\assembly\GAC_MSIL\Microsoft.Office.Interop.Access\15.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.Access.dll".
      Resolving COM reference for item "Microsoft.Office.Interop.Word" with a wrapper "primary".
      Determining dependencies of the COM reference "Microsoft.Office.Interop.Word".
      Resolved COM reference for item "Microsoft.Office.Interop.Word": "C:\Windows\assembly\GAC_MSIL\Microsoft.Office.Interop.Word\15.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.Word.dll".
      Resolving COM reference for item "MSComctlLib" with a wrapper "primary".
      Determining dependencies of the COM reference "MSComctlLib".
    C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(2234,5): warning MSB3283: Cannot find wrapper assembly for type library "MSComctlLib". Verify that (1) the COM component is registered correctly and (2) your target platform is the same as the bitness of the COM component. For example, if the COM component is 32-bit, your target platform must not be 64-bit.
      Resolving COM reference for item "JRO" with a wrapper "tlbimp".
      Determining dependencies of the COM reference "JRO".
      Resolving COM reference dependency "2a75196c-d9eb-4129-b803-931327f72d5c" version 2.8.
      Resolved COM reference dependency "2a75196c-d9eb-4129-b803-931327f72d5c" version 2.8: "C:\Windows\assembly\GAC\ADODB\7.0.3300.0__b03f5f7f11d50a3a\ADODB.dll"
      Processing COM reference "JRO" from path "C:\Program Files (x86)\Common Files\System\ado\msjro.dll". Type 'ReplicaTypeEnum' imported.
      Processing COM reference "JRO" from path "C:\Program Files (x86)\Common Files\System\ado\msjro.dll". Type 'VisibilityEnum' imported.
      Processing COM reference "JRO" from path "C:\Program Files (x86)\Common Files\System\ado\msjro.dll". Type 'UpdatabilityEnum' imported.
      Processing COM reference "JRO" from path "C:\Program Files (x86)\Common Files\System\ado\msjro.dll". Type 'SyncTypeEnum' imported.
      Processing COM reference "JRO" from path "C:\Program Files (x86)\Common Files\System\ado\msjro.dll". Type 'SyncModeEnum' imported.
      Processing COM reference "JRO" from path "C:\Program Files (x86)\Common Files\System\ado\msjro.dll". Type 'FilterTypeEnum' imported.
      Resolved COM reference dependency "2a75196c-d9eb-4129-b803-931327f72d5c" version 2.8: "C:\Windows\assembly\GAC\ADODB\7.0.3300.0__b03f5f7f11d50a3a\ADODB.dll"
      Processing COM reference "JRO" from path "C:\Program Files (x86)\Common Files\System\ado\msjro.dll". Type 'IReplica' imported.
      Processing COM reference "JRO" from path "C:\Program Files (x86)\Common Files\System\ado\msjro.dll". Type 'Filters' imported.
      Processing COM reference "JRO" from path "C:\Program Files (x86)\Common Files\System\ado\msjro.dll". Type 'Filter' imported.
      Processing COM reference "JRO" from path "C:\Program Files (x86)\Common Files\System\ado\msjro.dll". Type 'IJetEngine' imported.
      Processing COM reference "JRO" from path "C:\Program Files (x86)\Common Files\System\ado\msjro.dll". Type 'Replica' imported.
      Processing COM reference "JRO" from path "C:\Program Files (x86)\Common Files\System\ado\msjro.dll". Type 'JetEngine' imported.
      Resolved COM reference for item "JRO": "obj\x86\Debug\Interop.JRO.dll".
      Resolving COM reference for item "Scripting" with a wrapper "tlbimp".
      Determining dependencies of the COM reference "Scripting".
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'CompareMethod' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'IOMode' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'Tristate' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'FileAttribute' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type '__MIDL___MIDL_itf_scrrun_0000_0000_0001' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'IDictionary' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'Dictionary' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'IFileSystem' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'IDriveCollection' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'IDrive' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'DriveTypeConst' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type '__MIDL___MIDL_itf_scrrun_0001_0001_0001' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'IFolder' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'IFolderCollection' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'IFileCollection' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'IFile' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'ITextStream' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'SpecialFolderConst' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type '__MIDL___MIDL_itf_scrrun_0001_0001_0002' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'IFileSystem3' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'StandardStreamTypes' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type '__MIDL___MIDL_itf_scrrun_0001_0001_0003' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'FileSystemObject' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'Drive' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'Drives' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'Folder' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'Folders' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'File' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'Files' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'TextStream' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'IScriptEncoder' imported.
      Processing COM reference "Scripting" from path "C:\Windows\SysWOW64\scrrun.dll". Type 'Encoder' imported.
      Resolved COM reference for item "Scripting": "obj\x86\Debug\Interop.Scripting.dll".
      Resolving COM reference for item "AxMSComctlLib" with a wrapper "aximp".
      Determining dependencies of the COM reference "AxMSComctlLib".
      C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\AxImp.exe C:\Windows\SysWOW64\MSCOMCTL.OCX /out:obj\x86\Debug\AxInterop.MSComctlLib.dll 
      Generated Assembly: C:\Development\TomaMix\TomaMix\TomaMix_Grades\TomaMix_Grades\obj\x86\Debug\MSComctlLib.dll
      Generated Assembly: C:\Development\TomaMix\TomaMix\TomaMix_Grades\TomaMix_Grades\obj\x86\Debug\AxInterop.MSComctlLib.dll
      Resolved COM reference for item "AxMSComctlLib": "obj\x86\Debug\AxInterop.MSComctlLib.dll".
    Done executing task "ResolveComReference" -- FAILED.
    Done building target "ResolveComReferences" in project "TomaMix_Grades.vbproj" -- FAILED.
    Target "_CheckForCompileOutputs" in file "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Development\TomaMix\TomaMix\TomaMix_Grades\TomaMix_Grades\TomaMix_Grades.vbproj" (target "_CleanGetCurrentAndPriorFileWrites" depends on it):
    Done building target "_CheckForCompileOutputs" in project "TomaMix_Grades.vbproj".
    Target "_SGenCheckForOutputs" skipped, due to false condition; ('$(_SGenGenerateSerializationAssembliesConfig)' == 'On' or ('@(WebReferenceUrl)'!='' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto')) was evaluated as ('Off' == 'On' or (''!='' and 'Off' == 'Auto')).
    Target "_CleanGetCurrentAndPriorFileWrites" in file "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Development\TomaMix\TomaMix\TomaMix_Grades\TomaMix_Grades\TomaMix_Grades.vbproj" (target "_CleanRecordFileWrites" depends on it):
    Task "ReadLinesFromFile"
    Done executing task "ReadLinesFromFile".
    Task "ConvertToAbsolutePath"
    Done executing task "ConvertToAbsolutePath".
    Task "FindUnderPath"
      Comparison path is "C:\Development\TomaMix\TomaMix\TomaMix_Grades\TomaMix_Grades".
    Done executing task "FindUnderPath".
    Task "FindUnderPath"
      Comparison path is "bin\x86\Debug\".
    Done executing task "FindUnderPath".
    Task "FindUnderPath"
      Comparison path is "obj\x86\Debug\".
    Done executing task "FindUnderPath".
    Task "RemoveDuplicates"
    Done executing task "RemoveDuplicates".
    Done building target "_CleanGetCurrentAndPriorFileWrites" in project "TomaMix_Grades.vbproj".
    Target "_CleanRecordFileWrites" in file "C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\Development\TomaMix\TomaMix\TomaMix_Grades\TomaMix_Grades\TomaMix_Grades.vbproj" (target "CoreBuild" depends on it):
    Task "RemoveDuplicates"
    Done executing task "RemoveDuplicates".
    Task "MakeDir"
    Done executing task "MakeDir".
    Task "WriteLinesToFile"
    Done executing task "WriteLinesToFile".
    Done building target "_CleanRecordFileWrites" in project "TomaMix_Grades.vbproj"
    Build FAILED.
    Time Elapsed 00:00:02.65
    ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

完整日志的[https://drive.google.com/file/d/0B4s91eIhxfHGRUlJNmd2alBScmM/view?usp=sharing][the链接]

最后它说构建失败了。

有趣的问题是当我尝试在VS12上重建它时,同样的问题,但是当我在其他机器上重建它时(将相同的项目文件夹复制到其他计算机)它工作了!!!

请提出任何建议?我不想重新安装我的操作系统......

感谢您的帮助,Roy

4 个答案:

答案 0 :(得分:2)

当构建在一台计算机上运行时,而不是使用相同的复制文件夹的另一台计算机,并且构建失败是由于.dll的位置,因为它在此实例中;最有可能的(几乎所有我解决过的场景)问题都在于这些集合的位置。

可能的候选人:

  1. 您在不同的位置安装了各种框架,并且可能使用非相对路径。
  2. 安装的框架和代码之间的位问题,这可能是您的情况,如此处的错误所示:
  3.   

    C:\ Program Files(x86)\ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets(2234,5):警告MSB3283:找不到类型库“MSComctlLib”的包装程序集。验证(1)COM组件是否已正确注册,以及(2)目标平台是否与COM组件的位数相同。例如,如果COM组件是32位,则目标平台不能是64位。

答案 1 :(得分:1)

在我的情况下,问题出现在升级到Windows 10之后。我的项目在Visual Studio 2013中使用框架4.5。我不能保证这不是我的行为或某些升级行为,但我的项目有参考(两者都列在 - >参考文献中)到ADODB和MSDATASRC。我检查了我的项目是否有任何代码引用这些组件中的任何内容但找不到任何内容,所以我只是删除了这些引用,问题就消失了。

答案 2 :(得分:1)

我的VB.NET项目也有ADODB参考。 Windows 10升级后,错误开始。 我只是删除并再次添加引用,发现一行替换为三行,如下所示:

<WrapperTool>primary</WrapperTool>

替换为

<WrapperTool>tlbimp</WrapperTool>
<Isolated>False</Isolated>
<EmbedInteropTypes>True</EmbedInteropTypes>

答案 3 :(得分:0)

通过删除对“Microsoft HTML 对象库”的引用并在项目中再次添加它来解决我的问题。重新添加项目文件的变化与 Muhammad Arshad Awan 指出的相同。

相关问题