http://msdn.microsoft.com/en-us/library/dn178463(v=pandp.30).aspx
Basically, yes, you have to initialize Unity first. Just put this in the beginning of your Main
method:
var container = new UnityContainer();
container.RegisterType<IYourType, YourType>();