The type or namespace could not be found

后端 未结 3 468
执念已碎
执念已碎 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:03

    So it turned out that the dll being reference, while compiled to target the .Net 2.0 framework, was being compiled with the 4.0 compiler. Switching the project to compile with the 3.5 compiler solved the problem.

提交回复
热议问题