Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
I created a Codesys library which I included it in my project. The name of the library is "TC". Whenever I need to access an object from this lib, I have to write "TC.object".
Is there a way to access an object from the lib without using this namespace "TC".
Thank you
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In your library project select Project -> Project Information. On the Properties table remove the "LanguageModelAttribute" Value "Qualified Access Only".
This will allow you to access the object without qualifying the access.
π
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I created a Codesys library which I included it in my project. The name of the library is "TC". Whenever I need to access an object from this lib, I have to write "TC.object".
Is there a way to access an object from the lib without using this namespace "TC".
Thank you
In your library project select Project -> Project Information. On the Properties table remove the "LanguageModelAttribute" Value "Qualified Access Only".
This will allow you to access the object without qualifying the access.
Thank you, it works