Products | Versions |
---|---|
Spotfire Developer | All |
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.
Solution 1: Add .spk Files then Save Them Together
One common reason for the "unresolved assembly reference" error is when the .spk files that have dependencies to each other were added and saved separately to the deployment area. To resolve this issue, follow the steps in this documentation and make sure that you added all the .spk files before clicking the 'Save area' 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.
Doc: Adding software packages to a deployment area
Doc: Distribution description file