Cannot find Microsoft.Practices.Modeling.CodeGeneration.dll

Jan 20, 2010 at 1:52 PM
Edited Jan 20, 2010 at 1:52 PM

Hi,

I'm trying to use the entlib extensions, but there's a referencing problem - to Microsoft.Practices.Modeling.CodeGeneration.dll

When I use reflector and open up 'Microsoft.Practices.ServiceFactory.Extenders.DataContract.Wcf' the assembly reference

// Assembly Reference Microsoft.Practices.Modeling.CodeGeneration
Version: 3.1.0.0
Name: Microsoft.Practices.Modeling.CodeGeneration, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35

Cannot be found. I've tried searching everywhere but cannot find an assembly of that name.

Any help appreciated

Matt

Jan 21, 2010 at 7:27 PM

Hi Matt,

That dll should be part of the WSSF binaries or source if you use it. If you want to avoid probing path issues, you may GAC that dll (Microsoft.Practices.Modeling.CodeGeneration) so it should solve that issue.