Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
How to fix an issue "Unresolved assembly reference: log4net"
Solution:
Environment:
- TIBCO Spotfire Client: all versions
- TIBCO Spotfire Server: all versions
Descripton:
An error message turns up while validating spotfire custom package for the Spotfire Professional/Analyst client (spk file) on the Tibco Spotfire Server. "Package "Name_of_package" has an unresolved assembly reference: log4net, version 1.2.10.0 is referenced by "customer_package_dll" Spotfire Custom Extension for the Spotfire Professional/Analyst client needs to use log4net, but can’t find it.
For example:
- For the Spotfire 6.5 log4net.dll is located in C:\Program Files (x86)\TIBCO\Spotfire\6.5.0\Modules\Third Party Products_14.10.7525.5058
- For the Spotfire 7.0 log4net.dll is located in C:\Program Files (x86)\TIBCO\Spotfire\6.5.0\Modules\Third Party Products_18.10.9315.4066
Those locations are different and any code that was based on using log4net from this location would break on an upgrade.
Resolution:
Search for the location of log4net.dll in your Spotfire Environment and then rebuild the package with the new log4net path.
Comments
0 comments
Article is closed for comments.