4 Replies Latest reply on Mar 6, 2017 6:31 PM by Claudio Berardino

    PDMWorkgroup using C# --- .NET target framework issue

    Claudio Berardino

      I started from an example (Listreferences) as I did not find anything  done in C# for PDMW.

      I got this far .... before i ran into my error, I am using Visual Studio Community 2015

      Would anyone have some thoughts....THx


      Code snipitt


      using PDMWorks.Interop.pdmworks;


      namespace ListReferences


          class Program


              static void Main(string[] args)



                  PDMWorks.Interop.pdmworks.IPDMWConnection connection = new PDMWorks.Interop.pdmworks.PDMWConnection() as PDMWorks.Interop.pdmworks.IPDMWConnection;


                  connection.Login("cberardino", "xxx", "16x - MEC - PROD");


      The error

      SeverityCodeDescriptionProjectFileLineSuppression State
      WarningThe primary reference "PDMWorks.Interop.pdmworks" could not be resolved because it has an indirect dependency on the .NET Framework assembly "mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089" which has a higher version "" than the version "" in the current target framework.ListReferences