{"action":"created","issue":{"url":"https://api.github.com/repos/daryllabar/DLaB.Xrm.XrmToolBoxTools/issues/118","repository_url":"https://api.github.com/repos/daryllabar/DLaB.Xrm.XrmToolBoxTools","labels_url":"https://api.github.com/repos/daryllabar/DLaB.Xrm.XrmToolBoxTools/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/daryllabar/DLaB.Xrm.XrmToolBoxTools/issues/118/comments","events_url":"https://api.github.com/repos/daryllabar/DLaB.Xrm.XrmToolBoxTools/issues/118/events","html_url":"https://github.com/daryllabar/DLaB.Xrm.XrmToolBoxTools/issues/118","id":247934314,"number":118,"title":"Create Entities throw error exception","user":{"login":"phuocle","id":479729,"avatar_url":"https://avatars3.githubusercontent.com/u/479729?v=4","gravatar_id":"","url":"https://api.github.com/users/phuocle","html_url":"https://github.com/phuocle","followers_url":"https://api.github.com/users/phuocle/followers","following_url":"https://api.github.com/users/phuocle/following{/other_user}","gists_url":"https://api.github.com/users/phuocle/gists{/gist_id}","starred_url":"https://api.github.com/users/phuocle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phuocle/subscriptions","organizations_url":"https://api.github.com/users/phuocle/orgs","repos_url":"https://api.github.com/users/phuocle/repos","events_url":"https://api.github.com/users/phuocle/events{/privacy}","received_events_url":"https://api.github.com/users/phuocle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-04T08:14:16Z","updated_at":"2017-08-04T12:46:51Z","closed_at":null,"body":"1. Download latest XrmToolbox, upzip and run. Check version: **v1.2017.7.18**\r\n2. All default plugins loaded. Then go to plugins store and install all plugins, included: **Early Bound Generator** plugin. Check version installed version: **1.2017.7.23** and saw latest version: **1.2017.8.2**\r\n3. Try update latest version **1.2017.8.2** but not success, do many times.\r\n4. Now working with version: **v1.2017.7.18**\r\n5. Create a connection success and try generator all entities\r\n6. Early Bound Generator tab opened, check all checkbox, but excluded checkbox: Create One File Per Entity.\r\n7. Click button Create Entities and get error here\r\n```\r\nSystem.IO.FileLoadException: Could not load file or assembly 'CrmSvcUtil, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)\r\nFile name: 'CrmSvcUtil, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'\r\n   at DLaB.CrmSvcUtilExtensions.Entity.CustomizeCodeDomService.CustomizeCodeDom(CodeCompileUnit codeUnit, IServiceProvider services)\r\n   at Microsoft.Crm.Services.Utility.CodeGenerationService.WriteFile(String outputFile, String language, CodeNamespace codenamespace, ServiceProvider serviceProvider)\r\n   at Microsoft.Crm.Services.Utility.CodeGenerationService.Microsoft.Crm.Services.Utility.ICodeGenerationService.Write(IOrganizationMetadata organizationMetadata, String language, String outputFile, String outputNamespace, IServiceProvider services)\r\n   at DLaB.CrmSvcUtilExtensions.BaseCustomCodeGenerationService.WriteInternal(IOrganizationMetadata organizationMetadata, String language, String outputFile, String targetNamespace, IServiceProvider services)\r\n   at DLaB.CrmSvcUtilExtensions.BaseCustomCodeGenerationService.Write(IOrganizationMetadata organizationMetadata, String language, String outputFile, String targetNamespace, IServiceProvider services)\r\n\r\nWRN: Assembly binding logging is turned OFF.\r\nTo enable assembly bind failure logging, set the registry value [HKLM\\Software\\Microsoft\\Fusion!EnableLog] (DWORD) to 1.\r\nNote: There is some performance penalty associated with assembly bind failure logging.\r\nTo turn this feature off, remove the registry value [HKLM\\Software\\Microsoft\\Fusion!EnableLog].\r\n\r\nOutput file was not updated or not found!  C:\\Users\\xxxxxxxxx\\AppData\\Roaming\\MscrmTools\\XrmToolBox\\Settings\\CrmSvcUtil Ref\\Entities.cs\r\n```\r\nand here the command line\r\n```\r\nExecuting \"C:\\Users\\xxxxxxxxx\\AppData\\Roaming\\MscrmTools\\XrmToolBox\\Plugins\\CrmSvcUtil Ref\\crmsvcutil.exe\" /namespace:\"CrmEarlyBound\" /out:\"C:\\Users\\xxxxxxxxx\\AppData\\Roaming\\MscrmTools\\XrmToolBox\\Settings\\CrmSvcUtil Ref\\Entities.cs\" /servicecontextname:\"CrmServiceContext\" /codecustomization:\"DLaB.CrmSvcUtilExtensions.Entity.CustomizeCodeDomService,DLaB.CrmSvcUtilExtensions\" /codegenerationservice:\"DLaB.CrmSvcUtilExtensions.Entity.CustomCodeGenerationService,DLaB.CrmSvcUtilExtensions\" /codewriterfilter:\"DLaB.CrmSvcUtilExtensions.Entity.CodeWriterFilterService,DLaB.CrmSvcUtilExtensions\" /namingservice:\"DLaB.CrmSvcUtilExtensions.NamingService,DLaB.CrmSvcUtilExtensions\" /metadataproviderservice:\"DLaB.CrmSvcUtilExtensions.Entity.MetadataProviderService,DLaB.CrmSvcUtilExtensions\" /connectionstring:\"Url=http://crm365/G16;Domain=crm;UserName=administrator;Password=*********\" \r\n```"},"comment":{"url":"https://api.github.com/repos/daryllabar/DLaB.Xrm.XrmToolBoxTools/issues/comments/320239733","html_url":"https://github.com/daryllabar/DLaB.Xrm.XrmToolBoxTools/issues/118#issuecomment-320239733","issue_url":"https://api.github.com/repos/daryllabar/DLaB.Xrm.XrmToolBoxTools/issues/118","id":320239733,"user":{"login":"daryllabar","id":9728423,"avatar_url":"https://avatars0.githubusercontent.com/u/9728423?v=4","gravatar_id":"","url":"https://api.github.com/users/daryllabar","html_url":"https://github.com/daryllabar","followers_url":"https://api.github.com/users/daryllabar/followers","following_url":"https://api.github.com/users/daryllabar/following{/other_user}","gists_url":"https://api.github.com/users/daryllabar/gists{/gist_id}","starred_url":"https://api.github.com/users/daryllabar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daryllabar/subscriptions","organizations_url":"https://api.github.com/users/daryllabar/orgs","repos_url":"https://api.github.com/users/daryllabar/repos","events_url":"https://api.github.com/users/daryllabar/events{/privacy}","received_events_url":"https://api.github.com/users/daryllabar/received_events","type":"User","site_admin":false},"created_at":"2017-08-04T12:46:51Z","updated_at":"2017-08-04T12:46:51Z","body":"Nice Catch @phuocle!  Apparently, my NuGet Packaging Skillz could use some work.  I published the old version of the dll, so it looked like it hadn't been updated.  Try the 2017.8.3 version and tell me how it goes..."}}
{"actor":{"display_login":"daryllabar"}}