AL icon indicating copy to clipboard operation
AL copied to clipboard

Extension is not published and no error shown on output log

Open rishiaurrishabh opened this issue 8 years ago • 6 comments

I am using Business central On prem, when I am trying to publish an extension then Visual Studio code says that extension cannot be published on a message and gives me option to open launch.json. But when I go to output log then I don't see any error there, although when I go to Extension Management page of business central then I see the extension is publish and if I try to Install the extension from there it then gives me a proper error that I am trying to deploy an object which is already deployed by another extension.

I believe, similar message should be available on Visual Studio code as well.

rishiaurrishabh avatar Nov 21 '18 03:11 rishiaurrishabh

Hi Rishabh,

Try also deploying with F6 instead of F5 from VS Code. F6 will provide detailed error.

AKhileshTiwari91 avatar Nov 21 '18 05:11 AKhileshTiwari91

Hi Akhilesh ,

still same result, normally it should show the same message.

rishiaurrishabh avatar Nov 21 '18 08:11 rishiaurrishabh

This is a bug in VSCode version 1.29.x https://github.com/Microsoft/vscode/issues/61986

You can downgrade to VSCode 1.28 or see the workaround in the referenced bug. VSCode team doesn't know yet if they will fix it in 1.29.2 or if we'll need to wait until 1.30

StanislawStempin avatar Nov 21 '18 09:11 StanislawStempin

Hi All,

@StanislawStempin as you suggested i have downgraded the VS Code editor to 1.27.2 and its working.

Thanks.

sainath654 avatar Dec 05 '18 14:12 sainath654

Hi @StanislawStempin with Visual Studio 1.30 my issue got fixed, i can now see a proper error message.

Thanks for you help :)

rishiaurrishabh avatar Dec 29 '18 14:12 rishiaurrishabh

Closing as this seems to have been solved

pborring avatar May 19 '21 11:05 pborring