MichaelD4660 Member since 2017 13 posts
Fifth Third Bank Bank
Posted: 1 year ago
Last activity: 11 months 1 week ago

What .NET method does OpenSpan.Runtime.RuntimeHost.GetDeploymentPackagePath() call under the covers?

We are creating a method in a class library that could be called from Pega solutions, as well as .NET solutions. The goal is to be able to determine the directory where deployment files are located. With a .NET solution, that could be done with


However, that won't work properly when the class is used by an OpenSpan/Pega solution, as it would return the OpenSpan installation directory. Inside an OpenSpan solution, we could use


... to get the correct folder. However, we don't want to use OpenSpan assembly references inside the our class library. Does GetDeploymentPackagePath use an underlying .NET Framework class method under the covers, in a manner of speaking?

Robotic Process Automation
Share this page LinkedIn