Forum Discussion

VinothManoharan's avatar
5 years ago

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.

No RepliesBe the first to reply