Home

Macro to identifier LINQPad/Visual Studio?

edited April 2020

I have a simple code that want to copy/share between LINQPad/Jenkins DotNet as script(https://plugins.jenkins.io/dotnet-as-script/) plugin without modify, is there any macro that check compiling environment is LINQPad?

as in picture, JenkinsManager is a virtual class in Jenkins Dotnet as script plugin, if provide something like #if LINQPad6/#if LINQPad could make this possible(without modify).

Comments

Sign In or Register to comment.