This project is read-only.
1
Vote

Unity Missing Dependency on nuget package

description

Hello Guys,

When I'm starting my project (based on Project Orleans), it comes out that a weird warning is thrown by a missing reference:

[2015-07-26 20:03:06.970 GMT 6 INFO 100000 AssemblyLoader.Client ] User assembly ignored: C:\Users\Gutemberg\Documents\Visual Studio 2015\Projects\PI - Switch (MS)\PI.Switch.Gateway.Host\bin\Debug\Microsoft.Practices.Unity.dll
* An assembly dependency [Microsoft.Practices.ServiceLocation, Version=1.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Could not load file or assembly 'Microsoft.Practices.ServiceLocation, Version=1.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.] could not be loaded: 0   
Microsoft.Practices.ServiceLocation doesn't come on Unity Nuget package and I can't find it anywhere! This are causing some weird runtime behaviours on my app.

I'm using latest Unity from nuget. Attached are some screenshot that proves the dependency (ILSpy) and the project reference + Nuget package manager screens on VS.

Is this reference really necessary? If not, could you please remove it from the Dll and update the Nuget so we can get rid of this warning and the weird runtime behaviors?

Thanks! Really appreciate the help.

Best regards,
Gutemberg

file attachments

comments