The type or namespace could not be found

后端 未结 3 472
执念已碎
执念已碎 2021-01-14 00:42

I\'m currently trying to convert a WiX 3.5 custom actions project in Visual Studio 2008 to WiX 3.7 and Visual Studio 2012 and I\'m getting the following exception:

3条回答
  •  终归单人心
    2021-01-14 01:08

    In our case, while the referenced dll was targeting .Net 4.0, it had its own reference to a .Net 4.5.2 dll. The referenced 4.0 framework target led us to believe that 4.5 or 4.5.1 were sufficient to handle things, but they weren't—the referencing project had to be 4.5.2 to handle the dll and all its references.

    This was clearly an error on the part of the dll maker.

提交回复
热议问题