Hi,
I am trying to create a Setup and Deployment project for a Serviced
Component. In my solution I have two projects. The first is the class
library that contains my serviced component as well as an installer class.
The second is the setup and deployment project.
I have added the "Global Assembly Cache Folder" to the "File System on
Target Machine". I then copied the files in the "Application Folder" into
the "Global Assembly Cache Folder". Next I opened the Custom Actions tab and
added the installer to the "Install" folder. The build works fine. When I
run the installer it fails and the error log gives me this message:
System.EnterpriseServices.RegistrationException: SOAP Publication failed
because a required assembly is not in the GAC.
My issue is, I need the .dll to be installed in the GAC before the Serviced
Component is registered. I have not found a way to do this. Any thoughts?
Thanks in advance.
-Pete