As a contractor, I have inherited code based on OutSystems. In the OutSystems.RuntimePlatform file (namespace: OutSystems.HubEdition.RuntimePlatform; class: RequestEventsGenerator) I find an unknown type called RequestEvent. Right clicking on it in VisualStudio one of the potential fixes shown is to install an AngleSharp package. When I do that the RequestEvent type becomes known but the RequestEvent constructor in there apparently doesn't match how it's called in this code I've inherited (too many parameters) so I don't think it's that package I need.
I also notice there's an unused using statement... using OutSystems.HubEdition.RuntimePlatform.Log. It was already there in my inherited code, however
I found the OutSystems.ExternalLibraries.SDK on NuGet and installed that but it didn't seem to contain anything useful.
Could someone help me understand what project or package I need to install to make the code recognize the RequestEvent?
Thanks!
Hi Denise,
I'm not sure what the problem is you're having. Are you saying you cannot build an existing extension because of the missing type, or are you just exploring the OutSystems libraries to see what's in them?
I'm not sure what an OutSystems extension is. I believe this is a system that used to be written with the OutSystems lo/no code environment but got "detached" from that environment and is now a Visual Studio solution. And in the OUtSystems.RuntimePlatform file there's this type RequestEvent that is not recognized. Adding a reference to the AngleSharp nuget package and the using statement shown below makes the RequestEvent known but it doesn't seem to be the right RequestEvent as the constructor takes a different number of parameters. So I'm thinking it must be some OutSystems library my code doesn't have.
I'm wondering if it's the O\utSystems.HubEdition.RuntimePlatform.Log since that's the only using statement that doesn't appear to be used.
Hope that clarifies my concern. And thanks.
Turns out the entire Log folder was missing from the OutSystems.RuntimePlatform project. And, of course, the RequestEvent class was in that folder. So that's why that type was not being recognized.
Ok, thanks for letting us know. Note that once the code is detached, it's no longer an OutSystems installation, and this forum is not quite the right place to ask.
Hi there... I totally understand and did not mean to abuse the forums. So is there a good community out there for OutSystems expats? Maybe on StackOverflow or Reddit? Where should folks new to OutSystems but working with detached code go for help?
Np, it's just that not many people will have knowledge of this :).