Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
Blackhawk
Level 7

Using Microsoft Visual with Roku SDK

I have experience with visual basic, JavaScript and xaml. Is there a way for me to use Microsoft Visual Studio 2013 with RokuSDK?
0 Kudos
3 Replies
dreamer2057
Level 7

Re: Using Microsoft Visual with Roku SDK

Take a look at Visual studio extension:

https://visualstudiogallery.msdn.micros ... ff6e716270

It's for 2012, but can be converted into 2013 version.
Sincerely, Sergey Shoshin, software developer.
0 Kudos
belltown
Level 7

Re: Using Microsoft Visual with Roku SDK

You can define projects and solutions like you can in any other language. There's nothing that will help you with deployment of BrightScript code to your Roku device, although it should be possible to create a shortcut key that runs a script to compress your code with 7-zip and deploy it to the Roku using curl.

For editing, it's easy enough to configure Visual Studio to treat BrightScript files as Visual Basic:

Tools>Options>Text Editor>File Extension
- Enter "brs" in the Extension field
- Select Microsoft Visual Basic in the Editor drop-down menu
- Click Add then click OK

The syntax highlighting works quite well, as do many of the other Visual Studio editing features.

One thing you'll notice is the annoying squiggles that can't be turned off easily for Visual Basic. However, there is a registry hack if you want to disable them:

- Run regedit.exe
- Locate the key HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0\Roslyn\Internal\OnOff
- Add a new key named Features (Right-click OnOff then New>Key)
- Add a new value named Squiggles of type DWORD (Right-click Features then New->DWORD (32-bit Value))
- Set the value of Squiggles to zero (right-click Squiggles in the right pane>Modify>enter 0 then OK)
- Restart Visual Studio

Explore some of the other options under Tools>Options>Text Editor (General, All Languages, and Basic)
https://github.com/belltown/
0 Kudos
dreamer2057
Level 7

Re: Using Microsoft Visual with Roku SDK

Maybe this post will be helpfull, there people discuss IDE/Debuggers:

viewtopic.php?f=34&t=92128&p=521302
Sincerely, Sergey Shoshin, software developer.
0 Kudos