rokucommunity / vscode-brightscript-language

A Visual Studio Code extension for Roku's BrightScript language
MIT License
110 stars 40 forks source link

Unable to find an entry point. Please make sure that you have a RunUserInterface or Main sub declared in your BrightScript project #50

Closed piyushg098 closed 5 years ago

piyushg098 commented 5 years ago

Getting this error when trying to launch the app with debugging. My main.brs has function main(args as Dynamic) not sub main() because of Deep linking integration. screen shot 2018-12-07 at 12 07 25 pm

TwitchBronBron commented 5 years ago

I'm able to reproduce this locally. I'll work on a fix and try to get a release out in the next day or so. Thanks for bringing this to my attention!

TwitchBronBron commented 5 years ago

@piyushg098 this was fixed in version 1.3.2, which was just released. Take a look when you have a chance and make sure it works for you.

piyushg098 commented 5 years ago

@TwitchBronBron Could you provide the update link since this one here: https://code.visualstudio.com/updates/v1_29 Says 1.29 as the latest and I too have this version on my Mac. Check for updates says there's not a one for now.

TwitchBronBron commented 5 years ago

The 1.29 you're talking about is the Visual Studio Code version. I meant version 1.3.2 of the vscode-brightscript-language extension (this project). If you go to this link, you should see the version number in the info on the right.

Also, in your extensions area of Visual Studio Code, it should show you versoin 1.3.2 for this extension. image

piyushg098 commented 5 years ago

Thanks, @TwitchBronBron . It works now.

TwitchBronBron commented 5 years ago

Fantastic! Thanks.