Using Precompiled .NET Assembly DLL in Mono?

前端 未结 5 1310
再見小時候
再見小時候 2020-12-30 05:30

We\'re currently testing Mono to see if our .NET DLLs will work for customers on Linux. Our DLLs provide components for Windows Forms. I placed the DLLs in the Debug direc

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-30 06:12

    What Jonathan said is correct, you need to run the command as shown and it will produce copious amounts of information.

    The assembly has a strong name, so it sounds like on Windows you have a dependency that is installed on the GAC. If "OUR.ASSEMBLY" is supposed to be there, run:

    gacutil -i OUR.ASSEMBLY.dll

    To install it. There might be other dependencies that OUR.ASSEMBLY.dll needs which is what JPobst' command would show.

提交回复
热议问题