Earlybound Generation Fails
Hi @scottdurow - thanks so much for spkl, it's really a fantastic package.
Trying to get EBG working, and been banging my head against this issue for the past day or so. I run spkl earlybound or use the earlybound.bat and both have the same result:
Exiting program with exception: Exception has been thrown by the target of an invocation. CrmSvcUtil exited with error 2 Error Code=1
The full stack trace is below (removing sensitive details): `Generating early bound types Searching for plugin config in 'C:\Users\tcliff\source\repos\RegToolkit\dtt\DTT.RTK.Plugins\spkl..' Using Config 'C:\Users\tcliff\source\repos\RegToolkit\dtt\DTT.RTK.Plugins' Target C:\Users\tcliff\source\repos\RegToolkit\dtt\packages\spkl.1.0.440\tools Running C:\Users\tcliff\source\repos\RegToolkit\dtt\packages\spkl.1.0.440\tools....\Microsoft.CrmSdk.CoreTools.9.1.0.25\content\bin\coretools\CrmSvcUtil.exe /connstr:"AuthType=OAuth; AppId=51f81489-12ee-4a9e-aaae-a2591f45987d; RedirectUri=app://58145B91-0C36-4500-8554-080854F2AC97; TokenCacheStorePath=C:\Users\tcliff\AppData\Roaming\spkl\TokenCache;UserName=<USERNAME>;Url=https://<URI>.dynamics.com;LoginPrompt=Auto" /out:"/../DTT.RTK.Entities/" /namespace:"DTT.RTK.Entities" /serviceContextName:"" /GenerateActions:"False" /codewriterfilter:"spkl.CrmSvcUtilExtensions.FilteringService,spkl.CrmSvcUtilExtensions" /codewritermessagefilter:"spkl.CrmSvcUtilExtensions.MessageFilteringService,spkl.CrmSvcUtilExtensions" /codegenerationservice:"spkl.CrmSvcUtilExtensions.CodeGenerationService, spkl.CrmSvcUtilExtensions" /metadataproviderqueryservice:"spkl.CrmSvcUtilExtensions.MetadataProviderQueryService,spkl.CrmSvcUtilExtensions" CrmSvcUtil : CRM Service Utility [Version 9.1.0.28] © 2019 Microsoft Corporation. All rights reserved
Loading config from 'C:\Users\tcliff\source\repos\RegToolkit\dtt\packages\Microsoft.CrmSdk.CoreTools.9.1.0.25\content\bin\coretools\spkl.crmsvcutil.config'
Exiting program with exception: Exception has been thrown by the target of an invocation. CrmSvcUtil exited with error 2 Error Code=1`
I have tried to execute the crmsvcutil with the call that spkl itself makes, and the utility exits with no further information there. I have no idea how to debug crmsvcutil further! Additionally, should confirm that I am authenticating correctly, so doesn't seem to be an auth issue to the dataverse instance.
Any help would be most appreciated! Tristan