Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
TIBCO Spotfire 7.8 Package Builder fails to validate a custom tool or fails to build extension (.spk) using Spotfire.Dxp.PackageBuilder-Console.exe
Solution:
The Spotfire 7.8 Package Builder fails with one of the following errors when validating custom extensions,
1). When validating custom extensions developed for Web Player from the Spotfire 7.8 Package Builder, the validation fails with the following error,
Configuration is invalid for TIBCO Spotfire Installed Client due to: Package 'HtmlToolsWebt' has unresolved assembly references: 'Spotfire.Dxp.Web.Controls, Version=28.0.10709.3627, is referenced by HtmlToolsWeb.
2). When building a custom extension using Spotfire.Dxp.PackageBuilder-Console.exe, the build fails with the following error:
Failed to build package 'HtmlToolsWeb'. Assembly 'C:\7.8\SpotfireDeveloper.HtmlPrintToolExampleWeb\bin\AnyCPU\Debug\SpotfireDeveloper.HtmlPrintToolExampleWeb.dll' has unresolved type references: Could not load file or assembly 'Spotfire.Dxp.Web.Controls, Version=28.0.10709.3627, Culture=neutral, PublicKeyToken=789861576bd64dc5' or one of its dependencies. The system cannot find the file specified. System.InvalidOperationException: Failed to build package 'HtmlToolsWeb'. Assembly 'C:\7.8\SpotfireDeveloper.HtmlPrintToolExampleWeb\bin\AnyCPU\Debug\SpotfireDeveloper.HtmlPrintToolExampleWeb.dll' has unresolved type references: Could not load file or assembly 'Spotfire.Dxp.Web.Controls, Version=28.0.10709.3627, Culture=neutral, PublicKeyToken=789861576bd64dc5' or one of its dependencies. The system cannot find the file specified. at Spotfire.Dxp.PackageBuilder_Console.SilentPackageBuilder.BuildPackage(String basefolderPath, String descriptionFilePath, String targetFile, String pathsToFolderWithDependentAssemblies, ArchiveType archiveType, OptionalParameters optionalParameters, CabCompressionLevel cabcompressionlevel, ZipCompressionLevel zipcompressionlevel) at Spotfire.Dxp.PackageBuilder_Console.Program.Main(String[] args)Copy the Spotfire.Dxp.Web.Controls.dll from C:\Program Files (x86)\TIBCO\Spotfire\7.8.0\Modules\28.0.10709.3627 to the Spotfire binaries folder referenced by your extension(C:\SpotfireSDK\TIB_sfire_dev_7.8.0_win\SDK\Binaries)
Comments
0 comments
Article is closed for comments.