CodedWorkflow throwing CS0246 and SYSLIB0046 when attempting to publish

Create a ticket to UiPath Support.

Provide the:

  • Studio project archived in a zip file
  • UiPath Diagnostic Tool logs
  • If in your project you are using custom libraries, provide them also as nupkg
  • Provide a screenshot from Studio → Help → we need to see the Studio details from the right
  • The exact steps to replicate the issue