Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:

My c# project contains a reference to an external dll -(IHSEnergy.Enerdeq.Session.dll)
The dll does not have a strong name and h
On building the project, it gives me an error msg - The referenced assembly does not have a strong name and the compilation fails.

Now, I have strong named the dll using the ildasm and the ilasm tools.

However, after strong naming the dll, now on compilation, my code throws errors. The dll does not identify the classes and methods it should actually contain.

Error msg on building the code:
IHSEnergy.Enerdeq.Session.WebServicesSession' is defined in an assembly that is not referenced. You must add a reference to assembly IHSEnergy.Enerdeq.Session, Version=,

Require help as early as possible. :doh: :confused:

1 solution

Error simple means that a reference to 'IHSEnergy.Enerdeq.Session.WebServicesSession.dll' is missing in 'IHSEnergy.Enerdeq.Session.dll'

In order to correct this, you need to have 'IHSEnergy.Enerdeq.Session' library project. Add refrence of 'IHSEnergy.Enerdeq.Session.WebServicesSession.dll' in it and then re-build the 'IHSEnergy.Enerdeq.Session' project.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900