Not able to run SWIG C# examples in VS 2010

后端 未结 3 834
借酒劲吻你
借酒劲吻你 2021-01-06 20:40

I am trying to get SWIG to work with Visual Studio and C#.

I downloaded swigwin-2.0.4.zip and converted the project to a VS 2010 project.

I am able to build

3条回答
  •  萌比男神i
    2021-01-06 21:29

    What worked for me was to:

    1. Go to Build->Configuration Manager. For the C# project change AnyCpu to x86 and rebuild.
    2. Copy example.dll to bin\x86\Debug (Release).

    Doesn't require CorFlags.

提交回复
热议问题