{"action":"created","issue":{"url":"https://api.github.com/repos/OData/odata.net/issues/422","labels_url":"https://api.github.com/repos/OData/odata.net/issues/422/labels{/name}","comments_url":"https://api.github.com/repos/OData/odata.net/issues/422/comments","events_url":"https://api.github.com/repos/OData/odata.net/issues/422/events","html_url":"https://github.com/OData/odata.net/issues/422","id":122607385,"number":422,"title":"The type or namespace name 'DataServiceQuerySingle' does not exist","user":{"login":"VikingRedleg","id":12200350,"avatar_url":"https://avatars.githubusercontent.com/u/12200350?v=3","gravatar_id":"","url":"https://api.github.com/users/VikingRedleg","html_url":"https://github.com/VikingRedleg","followers_url":"https://api.github.com/users/VikingRedleg/followers","following_url":"https://api.github.com/users/VikingRedleg/following{/other_user}","gists_url":"https://api.github.com/users/VikingRedleg/gists{/gist_id}","starred_url":"https://api.github.com/users/VikingRedleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VikingRedleg/subscriptions","organizations_url":"https://api.github.com/users/VikingRedleg/orgs","repos_url":"https://api.github.com/users/VikingRedleg/repos","events_url":"https://api.github.com/users/VikingRedleg/events{/privacy}","received_events_url":"https://api.github.com/users/VikingRedleg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-16T21:33:46Z","updated_at":"2015-12-21T06:50:27Z","closed_at":null,"body":"I got the latest version of oData from Nuget yesterday because I was having trouble adding a second Odata source to a project of mine.  If both client codes are in the same level of the project, same starting namespace, there is a problem.  To fix this problem I recreated the second client in another folder/namespace.  Now the problem is this error:\r\n\r\nThe type or namespace name 'DataServiceQuerySingle' does not exist in the namespace 'Microsoft.OData.Client' (are you missing an assembly reference?)\r\n\r\nClient is generated by means of OData Client item template also downloaded from NuGet.  T4 template builds all the code from an EDMX xml file I got from the OData service in question.  In my references the OData libraries are version 6.4, but Nuget says I have the latest - 6.14. To try to be sure I had the right version I completely uninstalled odata from my project and re-installed it from NuGet.\r\n\r\nHow can I get my new client to be built?  I'm not touching the original Odata client because that one still  works as far as I can tell."},"comment":{"url":"https://api.github.com/repos/OData/odata.net/issues/comments/166216966","html_url":"https://github.com/OData/odata.net/issues/422#issuecomment-166216966","issue_url":"https://api.github.com/repos/OData/odata.net/issues/422","id":166216966,"user":{"login":"LaylaLiu","id":6811112,"avatar_url":"https://avatars.githubusercontent.com/u/6811112?v=3","gravatar_id":"","url":"https://api.github.com/users/LaylaLiu","html_url":"https://github.com/LaylaLiu","followers_url":"https://api.github.com/users/LaylaLiu/followers","following_url":"https://api.github.com/users/LaylaLiu/following{/other_user}","gists_url":"https://api.github.com/users/LaylaLiu/gists{/gist_id}","starred_url":"https://api.github.com/users/LaylaLiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaylaLiu/subscriptions","organizations_url":"https://api.github.com/users/LaylaLiu/orgs","repos_url":"https://api.github.com/users/LaylaLiu/repos","events_url":"https://api.github.com/users/LaylaLiu/events{/privacy}","received_events_url":"https://api.github.com/users/LaylaLiu/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T06:50:27Z","updated_at":"2015-12-21T06:50:27Z","body":"I hope that i understand you question. You are generating a new client proxy into an existing client project which already have a reference of ODL 6.4. Then you got the \"type or namespace doesn't exist\" error, right?\r\n\r\nIf so, you really need to upgrade the reference to the latest version by right click the project->Manage Nuget Packages, Expand “Intalled Project”， Choose \"OData Client for .NET\", uninstall. And then check packages.config doesn't contains the 6.4 package and the project doesn't have the 6.4 reference.\r\nThen right click the project, project->Manage Nuget Packages, Expand “Online”， Search“OData Client for .net”， choose \"OData Client for .Net\" which should be 6.14.0, click \"Install\". check the reference and packages.config.\r\n\r\nIf this doesn't solve your problem, please send me the detail repro steps which might help me to understand the issue. Thanks."}}