Enable WiX project in Visual Studio 2013

后端 未结 7 1434
名媛妹妹
名媛妹妹 2020-12-12 15:57

I have a VS 2012 solution with WiX Installer projects. However, when I open the solution in VS 2013 (Release) the WiX project is incompatible.

Does anyone know where

7条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-12 16:33

    After running the toolkit installer for wix:

    For Wix 3.8 and 3.9, with Visual Studio 2012 and 2013, I was required to delete all the cache files in:

    "%appdata%..\Local\Microsoft\VisualStudio\11.0\ComponentModelCache" (for VS 2012) and "%appdata%..\Local\Microsoft\VisualStudio\12.0\ComponentModelCache" (for VS 2013) respectively.

    After deleting these files, execute from command prompt for each version of VS:

    devenv /setup
    

    e.g. "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv /setup"

    and "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv /setup"

    Only after I deleted these files and restarted the machine did executing "devenv /setup" have the desired effect.

    If these cache files are not deleted first, then you may experience a problem where your packages fail to load properly. You will know if your packages fail to load because VS will fail miserably upon startup.

提交回复
热议问题