Hello Community,
I have created a business process using a script element that relies on "Newtonsoft.Json.Linq".
Scenario 1 : When I add the business process to a custom package, it works perfectly. As shown in below Image
#Issue
Scenario 2 : When I add the business process to my app package "UsrG***", it throws an error during publishing due to the Linq dependency.
Let me know if you need any more adjustments!
Regards,
Ajay K
Like
Hello,
This situation can occur if your custom "UsrG***" package has the "Compile into a separate assembly" attribute.
When converting a package to assembly package (AP), transferring a schema with code to a AP, or creating a version of a compiled process, the compilation error "The type or namespace cannot be found" occurs if the code uses types from external libraries located in other packages.
To solve your problem, deselect the "Compile into a separate assembly" checkbox for your package and recompile. This should solve the problem.
Thank you.
Hello,
This situation can occur if your custom "UsrG***" package has the "Compile into a separate assembly" attribute.
When converting a package to assembly package (AP), transferring a schema with code to a AP, or creating a version of a compiled process, the compilation error "The type or namespace cannot be found" occurs if the code uses types from external libraries located in other packages.
To solve your problem, deselect the "Compile into a separate assembly" checkbox for your package and recompile. This should solve the problem.
Thank you.