When i run C# in Uipath


the above error occured while running c# on my machine

Hey @Prem_Chand1
can you share your solution? It’s difficult to help you without any details.

Hello @Prem_Chand1 Welcome to the UiPath Community Forum

Looking from the error -

  1. References regarding the “PDFDocument” class is missing. Is this implementation included in one of added references i.e “System.CodeDom.Compiler” or “XamlIntegration”.

  2. Also, there are multiple declarations of variable with same name as per CS0136.

Please provide the code snippet removing any privileged information as per suggestion by @pikorpa. Once the assembly is fixed, I think the remaining errors will get resloved automatically.

Thanks