SparkleXrm
SparkleXrm copied to clipboard
can not generate earlybound classes
in on-premise environment with command "spkl earlybound /l" with the following errors " The application terminated with an error. Value cannot be null. Parameter name: fileName "
Make sure you have done a Nuget Restore.
Apologies for bumping an old thread but I've run into this issue on two separate projects, through no fault of spkl itself.
In both of my cases, spkl was unable to find the "CrmSvcUtil.exe" in the NuGet packages directory of the project. Even triggering a NuGet Restore did not seem to bring down the necessary files. What I ended up having to do was to uninstall the spkl package, and then the Microsoft.CrmSdk.CoreTools NuGet package.
Once both were uninstalled, I just installed them in the reverse order (Microsoft.CrmSdk.CoreTools, and then spkl) and earlyboundtype generation started working again.