none
VS 2013 编译Outlook add-in Project 报错. error MSB6006: "midl.exe" exited with code -1073741819. RRS feed

  • 问题

  • 1>  Processing ..\ptoiEnt\ptoiEnt.idl
    1>  ptoiEnt.idl
    1>  Processing C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\include\oaidl.idl
    1>  oaidl.idl
    1>  Processing C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\include\objidl.idl
    1>  objidl.idl
    1>  Processing C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\include\unknwn.idl
    1>  unknwn.idl
    1>  Processing C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\include\wtypes.idl
    1>  wtypes.idl
    1>  Processing C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\include\basetsd.h
    1>  basetsd.h
    1>  Processing C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\include\guiddef.h
    1>  guiddef.h
    1>  Processing C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\include\ocidl.idl
    1>  ocidl.idl
    1>  Processing C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\include\oleidl.idl
    1>  oleidl.idl
    1>  Processing C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\include\servprov.idl
    1>  servprov.idl
    1>  Processing C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\include\urlmon.idl
    1>  urlmon.idl
    1>  Processing C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\include\msxml.idl
    1>  msxml.idl
    1>  Processing C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\include\oaidl.acf
    1>  oaidl.acf
    1>  Processing C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\include\ocidl.acf
    1>  ocidl.acf
    1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(1178,5): error MSB6006: "midl.exe" exited with code -1073741819.
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    补充情况说明:

    1. 我试过很多工程的设置,都是不行的,重新安装VS 也不行,最后每次只能重装系统

    2. 重装完系统后,过一段时间不知道怎么回事就又这样了

    3. VS版本:Professional 2013 12.0.40629.00 Update 5

    

    • 已编辑 chengjzh 2018年2月9日 1:50
    2018年2月8日 9:30