Where is Microsoft.Practices.Unity package?

左心房为你撑大大i 提交于 2019-12-03 10:36:17

After adding the nuget with

Install-Package Unity

it is located in

packages\Unity.4.0.1\lib\net45\Microsoft.Practices.Unity.dll 

You probably just need to add a reference to this assembly.

I had to change

using Microsoft.Practices.unity;

to

using Unity;

I think because of an update in Unity with NuGet

Update Unity with Nuget. I use NuGet Package Manager instead of command line. Access Manager by right-clicking the solution in the Solution Explorer from Visual Studion

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!