When validating a deployment (after adding TIBCO Spotfire Distribution to the PackageBuilder), it may throw the below error:
"Failed to analyze C:\Program Files (x86)\TIBCO\Spotfire\7.X.X\Modules\Third Party Products_34.0.12508.5863\System.ValueTuple.dll".
Error Signature:
InvalidOperationException at Spotfire.Dxp.Deployment:
Failed to analyze C:\Program Files (x86)\TIBCO\Spotfire\7.13.0\Modules\Third Party Products_34.0.12508.5863\System.ValueTuple.dll (HRESULT: 80131509)
Stack Trace:
at Spotfire.Dxp.Deployment.AssemblyReflector.Analyze(String filePath, Set`1 unresolvedReferences, List`1& reflectionIssues)
at Spotfire.Dxp.Deployment.Package.CreatePackagedAssembly(String filePath, AssemblyReflector reflector)
at Spotfire.Dxp.Deployment.Package.AddAssembly(String filePath, String targetRelativePath, AssemblyReflector assemblyReflector)
at Spotfire.Dxp.PackageBuilder.ProjectModuleVersion.GetOrCreatePackage(AssemblyReflector assemblyReflector)
at Spotfire.Dxp.PackageBuilder.Configuration.CreateDistribution(String description, String version)
at Spotfire.Dxp.PackageBuilder.MainForm.CheckConfigurationValid()
at Spotfire.Dxp.PackageBuilder.MainForm.ValidateConfiguration()
at Spotfire.Dxp.PackageBuilder.MainForm.SavePackageFile()
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
FileLoadException at mscorlib:
Could not load file or assembly 'System.ValueTuple, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) (HRESULT: 80131040)
Stack Trace:
Server stack trace:
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at Spotfire.Dxp.Deployment.RemoteAssemblyReflector.Analyze(String filePath, List`1& unresolvedReferences, List`1& reflectionIssues)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Spotfire.Dxp.Deployment.RemoteAssemblyReflector.Analyze(String filePath, List`1& unresolvedReferences, List`1& reflectionIssues)
at Spotfire.Dxp.Deployment.AssemblyReflector.Analyze(String filePath, Set`1 unresolvedReferences, List`1& reflectionIssues)
FileLoadException at :
Could not load file or assembly 'file:///C:\Program Files (x86)\TIBCO\Spotfire\7.13.0\Modules\Third Party Products_34.0.12508.5863\System.ValueTuple.dll' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) (HRESULT: 80131040)