compiling a .net application with either a 32-bit or 64-bit dll

后端 未结 2 1105
故里飘歌
故里飘歌 2021-01-23 22:47

I have an application that we wrote here at work that uses the SharpSVN wrapper for SVN. It has served us well of the past few years. However, we have started bringing in 64-bit

2条回答
  •  攒了一身酷
    2021-01-23 23:37

    From the description, it sounds like your vb.net application is built with the Any CPU option, which means it would run as a 64-bit application on a 64-bit machine. In that case, it would not load the 32-bit DLL.

    Rather than try to use both a 32-bit and 64-bit version, you should be able to just change it to run as 32-bit. Simpler deployment. Under the project properties build tab, choose x86.

提交回复
热议问题