Versions:All
Summary:
This KB article provides two possible solutions to resolve "Package has an unresolved assembly reference." error and successfully deploy the .spk files.
Details:
When deploying a .spk (Spotfire Package) file in Spotfire Server, you may encounter an error message stating:
"Package <package name> has an unresolved assembly reference."
This error typically indicates that the package you are trying to deploy has a dependency on a specific assembly or library that is missing on the target machine. Below are two possible solutions to resolve this error and successfully deploy the .spk file.
Resolution:
Solution 1: Add .spk Files then Save Them Together
One common reason for the "unresolved assembly reference" error is when the .spk files were added and saved separately. To resolve this issue, follow the steps in this documentation and make sure that you added all the packages before clicking the 'Save are' button: Adding software packages to a deployment area
Solution 2: Bundle .spk Files into a Distribution using Package Builder
If the first solution does not resolve the error or if you prefer a different approach, you can bundle the .spk files into a distribution (.sdn file) using the Package Builder console. To do this, you need to create a distribution description (.xml) file. See Distribution description file for more details.