Posted: 9 Oct 2017 12:59 EDT Last activity: 16 Oct 2018 12:03 EDT
Differentiating between running in Runtime vs. Studio
Is there a way to determine if the code currently being executed is running Robotics Studio without creating a new configuration? I want to load different files when running locally and deployed. I already have configs for dev, testing, and production. I'd like to avoid adding a dev-local and dev-deployed config.
In Visual Studio, I'd accomplish this by checking the Debugger.IsAttached property to see if the .NET debugger is running.
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.