Skip to main content
Member
September 9, 2026
Solved

Workspace Dependency - Compile Error

  • September 9, 2026
  • 1 reply
  • 37 views

Is it possible to avoid the compile error when the workspace dependencies doesn't exist. In our use case all the dependent assemblies (that contain custom config) may not exist. This is expected and we need the rule to ‘fail gracefully’ rather than throw an error.

Is it possible to resolve by dynamically adding the dependencies using late binding so the checks are deferred to runtime?

 

Best answer by sameburn

Hi ​@Sam 

This isn't possible and even if you switched compile off, the code still wouldn’t work at runtime; so I wouldn’t recommend it.  You might want to reconsider your approach.  

I would recommend reaching out to Remote Consulting via Support for further guidance on this, if required.  Please be aware that this will likely be considered to be billable

Hope this helps

Sam

1 reply

sameburnAdvisorAnswer
Advisor
September 11, 2026

Hi ​@Sam 

This isn't possible and even if you switched compile off, the code still wouldn’t work at runtime; so I wouldn’t recommend it.  You might want to reconsider your approach.  

I would recommend reaching out to Remote Consulting via Support for further guidance on this, if required.  Please be aware that this will likely be considered to be billable

Hope this helps

Sam