I'm migrating solution from .NET 2.0 to .NET 4.0. I have added reference to System.ServiceModel which appears in the dialog box while adding the references. This dialog box has .NET 4.0 version of System.ServiceModel. However, while building the application,
it gives an error:
Assembly 'ABc, Version=3.0.41005.0, Culture=neutral, PublicKeyToken=null' uses 'System.ServiceModel, Version=220.127.116.11, Culture=neutral, PublicKeyToken=b77a5c561934e089' which has a higher version than referenced assembly 'System.ServiceModel, Version=18.104.22.168,
When I checked into the GAC, it still has System.Service model with version 3.0 and the one which belongs to version 4.0 resides in 'C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319'
Why .NET 4.0 assembly is not available in GAC? And how to resolve this issue?
View Complete Post