PTE0005 App.json 'target' property must not be set to 'Internal'
Describe the bug We want to build an OnPrem Extension using .NET as suggested in the ".NET Interoperability from AL"-docs (https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-get-started-call-dotnet-from-al) we added a "target: internal"
But now we get an error "PTE0005 App.json 'target' property must not be set to 'Internal'" in VSCode
We checked https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-json-files#appjson-file but there is only a reference that "The Dynamics NAV Server" must also be set to internal.
We found a "ExtensionAllowedTargetLevel" Key in the NST CustomSettings.config, which is set to "Internal" which I guessed the doc meant.

I don't know what else to set or check, please help me understand and set up our development enviroment correctly.
You should not be using PTECop when developing On-Prem. Your settings are all correct.
You should not be using PTECop when developing On-Prem. Your settings are all correct.
What is PTECop and how do I not use it?
Found it
one request: please don't use abbreviations that are not googleable, took me a Long time to find "PerTenantExtensionCop"
A colleague of mine had this problem. Go to File/Preferences/Settings, search for "code analyzers" until you find "AL: Code Analyzers". Choose "Edit in settings.json". Remove the line ""al.enableCodeAnalysis": true "
Apparently she had got this setting during an extension course