2015-07-09 101 views
2

我在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上重建它,同样的问题,但是当我在其他机器上重建它时(将同一个项目文件夹复制到其他计算机上)它工作正常!!!

有什么建议吗?我不想重新安装操作系统...

感谢您的帮助,罗伊

+1

贵项目的文件名或路径更改?我有类似的问题。 – Sami

+0

日志还表明您的.net框架丢失。检查你的框架是否应该在哪里。 – Sami

+0

不,没有改变。 :(就像我说的,在其他计算机上它的工作原理... – RoyChehmer

回答

2

当建筑工作一台机器上,而不是另一种使用完全相同的复制的文件夹,并生成故障是因到.dll的位置,就像在这种情况下一样;很可能(我已经解决了几乎所有的场景)问题在于这些程序集的位置。

可能的候选人:

  1. 您必须安装在不同的位置不同的框架,并可能使用非相对寻路。安装的框架和代码,这可能是由在这里的错误指示的情况下之间
  2. 位问题:

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

1

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

1

我的VB.NET项目也有ADODB参考。在Windows 10升级之后,错误开始了。 我只是删除并重新添加引用,发现线路换成三线如下:

<WrapperTool>primary</WrapperTool> 

换成

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