How to add a package in onAfterInstall event?

Viewed 11

My application contains both .net framework and .net standard app in the solution while installing the artifacts of this application I am getting an exception

Error 1001. Error 1001. An exception occurred in the OnAfterInstall event handler of Interop.Service.Installer. --> Could not load file or assembly 'System.Diagnostics.EventLog, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.

So System.Diagnostics.EventLog, Version=6.0.0.0 is a .net standard library during installation its unable to load this library

Can any one please suggest me how to add this package in the .net installer application so that it will load during installation

0 Answers
Related