Unresolved Assembly System.IdentityModel required for System.ServiceModel
I am preparing the documentation for my webservice created using WCF and .NET3.0 stuff. But when i execute the MRefBuilder command with all the .dlls and with /dep: it is throwing me a error saying "Unresolved Assembly System.IdentityModel". This namespace is registered in GAC but, i dont find a physical copy of the file in my harddrive. With that error it generates Reflection.org and when we move forward and execute the next command XSLTransform command then it throws a .NET framework error and asking me to debug the code.
MRefBuilder 1.dll 2.dll /dep:.\ref\*.dll /dep:C:\winnt\Microsoft.NET\Framework\V2.05...\*.dll /dep:C:\Winnt\Microsoft.NET\Framework\V3.0\Windows Communication Foundation\*.dll
[Error]: Unresolved Assembly System.identityModel required for System.ServiceModel
Please let me know how to fix this issue.
Thanks,
Naveen
[1028 byte] By [
Naveeeen] at [2007-12-28]
I can't remember exactly where but somebody posted a link to a script that allows you to extract an assembly from the GAC. Google can probably help you find it or get the information necessary to manually locate a copy of the assembly in the GAC. As an alternative, you can use the help file builder found at http://www.codeplex.com/SHFB. It allows you to add dependencies using a folder, file, or GAC reference.
Eric
Thanks Eric,
If we view the %windowsDIR%\Assembly\ folder using Windows explorer then it will show the actual assemblies but, we cannot copy those files. The alternate approach is use command prompt and change directory to (CD c:\windows\Assembly) then we will get all the folder and there respective assemblies inside it.
Navigate to C:\Windows\Assembly\GAC_MSIL under this folder you will find System.IdentityModel and System.IdentityModel.selector folder using Copy Command to copy the file to the target directory. The target directory will act as /dep: <<foldername>> for MRefBuilder command.
Thanks,
Naveen