ARM-software / vscode-cmsis-csolution

Extension support for VS Code CMSIS Project Extension
https://marketplace.visualstudio.com/items?itemName=Arm.cmsis-csolution
Other
23 stars 5 forks source link

Solution creation fails when there is no open workspace #28

Closed QGB closed 8 months ago

QGB commented 1 year ago
Solution service failure: 13 INTERNAL unable to add new project ErrorMessage: project path must be absolute ErrorMessage: invalid GrpcServiceError: 13 INTERNAL unable to add new project ErrorMessage: project path must be absolute ErrorMessage: invalid at Object.create (c:\Users\qgb\.vscode-insiders\extensions\arm.cmsis-csolution-0.20.0-win32-x64\dist\desktop\extension.js:2:1276735) at Object.parse (c:\Users\qgb\.vscode-insiders\extensions\arm.cmsis-csolution-0.20.0-win32-x64\dist\desktop\extension.js:2:1277636) at Object.callback (c:\Users\qgb\.vscode-insiders\extensions\arm.cmsis-csolution-0.20.0-win32-x64\dist\desktop\extension.js:2:1275726) at Object.onReceiveStatus (c:\Users\qgb\.vscode-insiders\extensions\arm.cmsis-csolution-0.20.0-win32-x64\dist\desktop\extension.js:2:366988) at Object.onReceiveStatus (c:\Users\qgb\.vscode-insiders\extensions\arm.cmsis-csolution-0.20.0-win32-x64\dist\desktop\extension.js:2:362905) at Object.onReceiveStatus (c:\Users\qgb\.v..
mcgordonite commented 1 year ago

Hi @QGB, where did you see this error message?

Frisc98 commented 1 year ago

You have to initialize VSCode workspace first, then create new solution, otherwise you get this error.

@mcgordonite This error occurs when you try to create a new solution from VSC without having a workspace open.

mcgordonite commented 1 year ago

@Frisc98 thanks for the detail there. I've updated the description to match.

I can reproduce this, so we'll get a fix out in a future release.

mcgordonite commented 8 months ago

This issue is now resolved: you can create a Csolution anywhere on disk without an open workspace. More improvements to this form will be coming over the next few weeks.