This project is read-only.


Could not load file or assembly


when i launch new SCSF Project VS2012 raise the following error:
Could not load file or assembly 'Microsoft.Practices.ServiceLocation, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

file attachments

Closed Jun 2, 2013 at 1:01 PM by HoytPollard
Assembly should now be found. Made a new issue for the pkgdef patch


HoytPollard wrote Feb 26, 2013 at 11:07 AM

It worked on my machine, because i had the Common Service Locator (Microsoft.Practices.ServliceLocation.dll) in GAC. Now i deploy it with the package, released a new version. Can you verify this. Currently i'm facing the problem many people have with SCSF2010 But that's another issue.

HoytPollard wrote Feb 26, 2013 at 11:16 AM

Still not working after i remove the assembly from my GAC. The temproray workaround would be to deploy the attached assembly manually with "gacutil -i Microsoft.Practices.ServiceLocation.dll"

HoytPollard wrote Feb 26, 2013 at 12:10 PM

I think Serviclocation was deployed on GAC by GAX or GAT for 2010. SCSF2010 also doesn't work without ServiceLocation in GAC. But i think i found a solution that ServiceLocation can be found without been deployed to GAC. Changing the pgkdef file like in
works for me! Try to find a way to integrate it in the build later that day.