DLaB.Xrm.XrmToolBoxTools
DLaB.Xrm.XrmToolBoxTools copied to clipboard
Cannot implicitly convert type ...StatusCode to 'Microsoft.Xrm.Sdk.OptionSetValue'
Sorry Daryl, I've been trying to work these v1 -> v2 upgrade issues myself but keep getting stuck.
Tool and Version EarlyBoundGenerator V 2.2023.12.14
Describe the bug Following an upgrade from EBG v1 to EBG v2, I'm getting a compilation error on code which was developed with EBG v1.
Using v2, with the v1 settings unchanged, I now get compilation errors on both State and Status Code Option Set Values:
Changing the "Use Enum for State Codes" setting to True fixes the issue for State but not Status Code:
Any ideas what I should do to fix this?
Don't apologize. The only way I'm going to fix any of the issues, is if people bring them up!
So in V1, it was creating Choice Column properties as enums, but in V2 it is creating it generating as OptionSets?
I believe you gave me your metadata xml file already for V2. Did you give me your V1 xml config? I'd like that as well so I can make sure that what gets generated before and after match.
I've uploaded the v1 & v2 settings files below. Do you need anything else? Thanks BEN.EarlyBound.Settings.zip