TousifAhamed Nadaf Posted June 4 Share Posted June 4 Hi team, I'm working on building an extension following this guide: Creating an extension using only Visual Studio (tibco.com) I'm encountering an error when trying to create the project. The error message specifies a required MSBuild version, but I can't find that specific version through the Visual Studio installer. Has anyone else faced this issue? Any suggestions on how to proceed? Error: The project file cannot be opened. Version 8.0.204 of the .NET SDK requires at least version 17.8.3 of MSBuild. The current available version of MSBuild is 16.11.2.50704. Change the .NET SDK specified in global.json to an older version that requires the MSBuild version currently available. Thanks, Tousifahamed Link to comment Share on other sites More sharing options...
David Boot-Olazabal Posted June 5 Share Posted June 5 Hi Tousif, I have asked some of my colleagues with more experience in the SDK & .Net 'world', to have a look at your error message. Kind regards, David Link to comment Share on other sites More sharing options...
TousifAhamed Nadaf Posted June 5 Author Share Posted June 5 Thank you :) Link to comment Share on other sites More sharing options...
Peter McKinnis Posted June 5 Share Posted June 5 Tousif, I was able to build the example using Visual Studio 2022. I am thinking based on your error message that you need a more recent version of Visual Studio. See this post: https://stackoverflow.com/questions/74847918/msbuild-version Hope this helps. Peter Link to comment Share on other sites More sharing options...
TousifAhamed Nadaf Posted July 29 Author Share Posted July 29 Greetings @Peter McKinnis Thank you for your comment, Now I am using Visual Studio 2022, I have 14+ SDK, is it mandatory to have Spotfire 14+ installer to run default examples? Link to comment Share on other sites More sharing options...
Peter McKinnis Posted July 30 Share Posted July 30 Tousif, You will need a copy of Analyst installed in order to run the samples as you need to have all the other base modules. The SDK only has the tools for building and testing, but one needs a Spotfire Analyst installed so the SDK can use the default modules directory to get the rest of the Analyst functionality. Regards, Peter 1 Link to comment Share on other sites More sharing options...
TousifAhamed Nadaf Posted July 31 Author Share Posted July 31 Hi @Peter McKinnis Yes I Spotfire 12.0.0 installed on my machine and have provided relevant path under Debug > Start action > Start external program, even after that I do not see any output when Spotfire is launched. Link to comment Share on other sites More sharing options...
Peter McKinnis Posted July 31 Share Posted July 31 Tousif, Going back to the original documentation that you are following - Creating an extension using only Visual Studio - is there a step in here that you are getting stuck on? Do you have everything configured, but you still don't see the examples in the Spotfire Analyst that you have compiled? I am trying to understand better what your issue is so any more description and screenshots would probably be helpful. Regards, Peter Link to comment Share on other sites More sharing options...
TousifAhamed Nadaf Posted August 1 Author Share Posted August 1 From the documentation: Creating an extension using only Visual Studio 4 To be able to debug the extension, you must manually do the following configuration in Visual Studio: Select the extension project in Solution Explorer. Select View > Property Pages . On the Debug page, click Open debug launch profiles UI, and, in the Launch Profiles dialog, do the following: Click Create a new profile , and choose Executable. For your new profile, under Executable, point to a Spotfire.Dxp.exe on your computer. It could be your installed version, some intermediate beta-version or similar. For example, C:\Users\{username}\AppData\Local\Spotfire\14.0.0\Spotfire.Dxp.exe. Is it mandatory to use 14.0.0\Spotifre.Dxp.exe to execute Extenstion examples of \..\SPOT_sfire_dev_14.2.0_win\SDK\Examples\Extensions\SpotfireDeveloper.CustomPanelExample or we can point to older executables? Link to comment Share on other sites More sharing options...
Peter McKinnis Posted August 1 Share Posted August 1 Tousif, You could try an earlier version of Spotfire Analyst, but since you have the 14+ SDK installed I don't know if there would be any API changes that would affect debugging the examples. I would think that there could be a few but probably not many API changes. Regards, Peter Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now