Hello,
When I try to do a pac pcf push of a new control to my dev environment I get an error but I can't find any detail about the error.
This fails with the error
pac pcf push --solution-unique-name SRXInductionManagement
This works but it deploys to the default solution. I'd prefer to publish to the related solution.
pac pcf push -pp new
Seems to be something related to the Publisher. Which begs the question, I'm not specifying a publisher when doing a pcf push.
Does anyone have any idea about this one?
2024-01-09 04:10:35.9928 | FTL | bolt.Session :: Unable to cast object of type 'Microsoft.Xrm.Sdk.Entity' to type 'bolt.dataverse.servicemodel.Publisher'.|EXCEPTION: System.InvalidCastException: Unable to cast object of type 'Microsoft.Xrm.Sdk.Entity' to type 'bolt.dataverse.servicemodel.Publisher'.
at Microsoft.Xrm.Sdk.Entity.GetRelatedEntity[TEntity](String relationshipSchemaName, Nullable`1 primaryEntityRole)
at bolt.dataverse.servicemodel.Solution.get_publisher_solution()
at bolt.module.pcf.PcfPushVerb.Execute(Command command)
at bolt.cli.CommandLine.VerbExecutor.ExecuteImpl(VerbBase verbInstance, Command command)
at bolt.cli.CommandLine.VerbExecutor.<>c__DisplayClass4_0.<<ExecuteAsync>b__0>d.MoveNext()