question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support C#/VB scripts

See original GitHub issue

CSharpLanguage only supports full documents (i.e. you have to define a class), because it uses RoslynSession which operates on a solution. It would be nice if we could have a language or a session that works with scripts (i.e. you can define methods without explicitely defining a class). What would be the preferred or the easiest way we could do this? As far as I can tell an external library can’t define a new language because all of the interfaces used are marked as internal. I mean we could define them in a friend assembly but that feels wrong.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ashmindcommented, Aug 23, 2018

It’s a good question. I’ll have to look into it (can’t promise specific time, but hope for this weekend). My feeling is some kind of Compilation factory in settings. I don’t think it’s a separate language, but we’ll see once I try to implement it.

The reason why everything is internal is I didn’t feel the API was stable enough to expose it. But given it may take years to become “stable enough” at this pace, I’ll reconsider that as well.

0reactions
johanneseggercommented, Sep 29, 2018

Finally got time to update. Works like a charm. Thanks a lot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting Started with CVB.Net - Common Vision Blox User Forum
Getting Started with CVB .Net The simplest way for getting started is using Visual Studio. Make sure you have the .Net-Desktop Development package...
Read more >
Common Vision Blox: CVB GenICam User Guide
Common Vision Blox (CVB) is a software development kit (SDK) for machine vision applications by STEMMER IMAGING.
Read more >
How to Create a Chat Script in 8x8 Contact Center
Go to the Script tab. · Click Chat. The [add] option appears. · Click [add]. · Select Schedule from the chat objects. ·...
Read more >
Common Vision Blox (CVB)
Common Vision Blox (CVB) is a high-speed and high-end machine vision library, allowing users to develop applications that are fast and powerful.
Read more >
Enhanced Chat Script
The enhanced chat-scripting engine now allows you to design and control the chat flow in a contact center. ... Choose CVB Online and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found