I have an console application (.net web-api) that use a dll of an entity-framework class library. The dll was added as reference. when running