As Jon_Smith mentioned, we have 2 types with the same name: You need to use full name UiPath.Core.Activities.LogLevel