Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Work with the component Library in Visual Studio

Hello All,

#Work with the component library in Visual Studio

I started to use the VS Code for development, here I have some doubt about ComponentLibrary and componentLibrariesPort.

CreateObject("roSGNode","LOCAL_COMPONENT_LIBRARY_ID:COMPONENT_NAME"), 

it's throwing an error:  BRIGHTSCRIPT: ERROR: roSGNode: Failed to create roSGNode with type FormFields invalid

1. How to access the local ComponentLibrary in a development project? do we have a way to load the component library? or always need to host the zip file on the server?

2. What about the componentLibrariesPort? how does it work in VS Code?

FYR:  VS code extension  
https://marketplace.visualstudio.com/items?itemName=RokuCommunity.brightscript
@RokuJoel  @RokuJohn  @RokuJim 

Thanks in Advance.

0 Kudos