USING: System does not exist or is invalid in current context

0
Why do I get the fault "USING: 'System' does not exist or is invalid in current context" even though I have installed the titled apax packages? The same behavior occurs when using Siemens USING Siemens.  
asked
1 answers
2

Hi Markus .. 

 

thx for using our community.

This seems to be a rather common issue which is plaguing our community for quite some time now.

 

Although the correspoding library dependencies have been installed successfully, the st-language-server and -compiler don't stop highlighting any references of them with " ... does not exist or is invalid in current context.

 

> Unfortunatly this is caused by the project directory-path.

Please ensure that the path do NOT include any spaces within theire associated folder-names.

Bad example:

D:\Projects AX\my-new-app

Good example:

D:\Projects\AX\my-new-app

 

> The same applies to the actual project-name.

Here are all the rules for correctly naming an ax-project:

- Only start with lower case letter or digit

- Valid characters are: lowercase letters, digits, hyphens (-), underscores (_), periods (.), and tildes (~)

 

I hope that helps.

#Known-Issue-List

 

Keep going & happy coding ...

🐱‍💻 BEEP, BOOP, BEEP, BEEP, BOOP 🐱‍🏍

answered