The type or namespace name 'UI' does not exist in the namespace 'EPiServer' (are you missing an assembly reference?)
I discovered that Episerver.UI.dll has some dependencies that I didn't have. The solution was install the Microsoft Chart Controls on my machine