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: 
Blackhawk
Roku Guru

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 3
dreamer2057
Channel Surfer

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
Roku Guru

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)
0 Kudos
dreamer2057
Channel Surfer

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
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.