Deploying net461 and net6.0 Analyzer Rules

We’ve built a custom workflow analyzer rules library and have it multi target net6.0 and net461 to accommodate Win-legacy and cross-platform workflows. The problem is when deploying to custom Rules location with subdirectories net461 and net6.0, either win-legacy still attempts to use net6.0 libraries, or the other way around wherein Cross-platform attempts to use net461 DLLs. Does anyone have a solution to this or is the workaround to embed these rules beside the respective versions of UiPath.Studio.RulesLibrary.dll in the UiPath Studio install directory?

1 Like