The type 'xxxxxxxx' exists in both '%temp%\LINQPad\xxxxxx' and 'c:\...\framework\v4...' folder
Options
Trying to write a query against an OData endpoint and LINQPad keeps on giving me this error which doesn't really tell me how to resolve the issue.
The type 'System.Data.Services.Client.SaveChangesOptions' exists in both 'c:\Users\[USERNAME]\AppData\Local\Temp\LINQPad\Microsoft.Data.Services.Client.dll' and 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Data.Services.Client.dll'
I have the 'Microsoft.Data.Services.Client.dll' dll referenced in 'My Extensions' for some common functionality and it shows up in the references and the 'Microsoft.Data.Services.Client.dll' file shows up in that temp folder.
Any ideas on how to resolve this problem?
The type 'System.Data.Services.Client.SaveChangesOptions' exists in both 'c:\Users\[USERNAME]\AppData\Local\Temp\LINQPad\Microsoft.Data.Services.Client.dll' and 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Data.Services.Client.dll'
I have the 'Microsoft.Data.Services.Client.dll' dll referenced in 'My Extensions' for some common functionality and it shows up in the references and the 'Microsoft.Data.Services.Client.dll' file shows up in that temp folder.
Any ideas on how to resolve this problem?
Comments
-
This is a tricky one... the problem is that the assembly name is different, so LINQPad doesn't realize that one is a newer version of other.