References not getting deployed.

I’ve added two additional references to my solution. One is a custom DLL which is being referenced by another custom DLL and the other one is Newtwonsoft.JSON.dll which is required by the custom DLL. The problem is that those two DLLS are not getting transferred over to the deployment folder.

I can see the DLLs in list on the Additional References tab when I go deploy the solution.

As a workaround, I merged the code that I needed from second DLL into the first. The problem is that I need to reference version 13.0 of Newtonsoft.JSON.dll. Is there a way I can reference two versions from Pega?

@ScottC37 When you have custom DLLs referencing other custom DLLs, it is probably best to manually include them in the deployment. I am assuming this is for 19.1, but let me know if you need to do this in 22.1.

  1. Right-click on the project in the Solution Explorer window (in 19.1) and select “Properties”.
  2. In the window, select the “Application” tab and select the ellipses in the “Deployment” line.
  3. Click Add.
  4. Click the ellipses next to the File and browse for the file(s) you wish to include.

As for using two different version of Newtsonsoft; as far as I know, that is not possible. At least within the same application. Any recent versions of 19.1 and (of course) 22.1 all use version 13.X of NewtonSoft.dll. That was upgraded in September of 2021.