Application requires log4net assembly be install in GAC first

前端 未结 2 2022
感动是毒
感动是毒 2021-01-14 05:08

When trying to install a VS2015 console app onto one of my servers, I get this error:

\"This http://imgur.com

2条回答
  •  不要未来只要你来
    2021-01-14 05:47

    Problem solved.

    First I tried the answer from Nino and gacutil.exe is not installed on that server, so I could not run that cmd.

    After going through the project in Visual Studio 2015 properties/Publish settings, under Install Mode and settings, click button "Application Files..." and make sure that dll file is "included" in publishing. The dll i needed was not included, but after including it, re-published, everything installed just fine.

提交回复
热议问题