Trying to publish some customization directly from VS Code, If i do CTRL + F5 (Publish without debugging), I get this textbook Microsoft error:
[2020-07-13 14:13:47.22] Error: An internal error has occurred
For manually publishing the app from powershell, I need to add the SkipVerification option:
Publish-NAVApp -ServerInstance BC160 -Path ".\Default publisher_udlpAL_1.1.0.2.app" -SkipVerification
So I'm thinking, maybe the issue is I need to somehow tell VS Code to add this option while publñishing, but I can't find how. Any ideas?
In server admin, I have Enabled developer endpoint, and Allowed Extension target = OnPrem (Internal throws the same error)
This are some important files I have
launch.json
{
"version": "0.2.0",
"configurations": [
{
"type": "al",
"request": "launch",
"name": "Your own server",
"server": "http://localhost:7249",
"serverInstance": "BC160",
"authentication": "UserPassword",
"startupObjectId": 22,
"startupObjectType": "Page",
"breakOnError": true,
"launchBrowser": true,
"enableLongRunningSqlStatements": true,
"enableSqlInformationDebugger": true,
"skipve"
}
]
}
{
"id": "cbdae479-9407-4777-9fc7-cde59fa8d863",
"name": "udlpAL",
"publisher": "Default publisher",
"version": "1.1.0.2",
"brief": "",
"description": "",
"privacyStatement": "",
"EULA": "",
"help": "",
"url": "",
"logo": "",
"target": "OnPrem",
"dependencies": [
{
"id": "63ca2fa4-4f03-4f2b-a480-172fef340d3f",
"publisher": "Microsoft",
"name": "System Application",
"version": "16.0.0.0"
},
{
"id": "437dbf0e-84ff-417a-965d-ed2bb9650972",
"publisher": "Microsoft",
"name": "Base Application",
"version": "16.0.0.0"
},
{
"id": "aefe4506-6a2f-4ce4-8ba3-2c87dbc26f53",
"name": "Spanish language (Spain)",
"publisher": "Microsoft",
"version": "16.1.12629.12805"
}
],
"screenshots": [],
"platform": "16.0.0.0",
"idRanges": [
{
"from": 50000,
"to": 59000
}
],
"showMyCode": true,
"runtime": "5.0"
}