Michael Drake (MichaelD4660)
Fifth Third Bank Bank
Lead Software Engineer
Fifth Third Bank Bank
MichaelD4660 Member since 2017 13 posts
Fifth Third Bank Bank
Posted: September 17, 2019
Last activity: October 7, 2019
Posted: 17 Sep 2019 14:42 EDT
Last activity: 7 Oct 2019 9:54 EDT

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
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.