# Library not being recognized using Red

**URL:** <https://forum.robotframework.org/t/library-not-being-recognized-using-red/4031>\
**Category:** RED (Eclipse)\
**Created:** [21 June 2022 12:00 UTC](https://forum.robotframework.org/t/library-not-being-recognized-using-red/4031 "2022-06-21T12:00:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![por](https://avatars.discourse-cdn.com/v4/letter/p/85f322/32.png) [@por](https://forum.robotframework.org/u/por)\
**Post date:** [21 June 2022 12:00 UTC](https://forum.robotframework.org/t/library-not-being-recognized-using-red/4031/1 "2022-06-21T12:00:18Z")

</div>

I add my own library (mylib) to red.xml  
and its appearing in ‘Robot Referenced Libraries’ without an error.  
But then in my test file mytests.robot  
I add:  
Library framework.services.mylib WITH NAME mylib

and its not recognized (appears with the red line under it), but still actually works when I use it in my tests.  
I use Robot 3.8 on Ubuntu  
Any idea what could be wrong?  
I tired the ctrl+1 to auto search for the library  
Thanks
