-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project file corrupted after import #402
Comments
This bug has been here for years, thanks for reporting! Unfortunately I'm no longer maintaining V1 of the Early Bound Generator and this bug exists in V2 as well, but I'll look to fix it the next version of V2. |
You can see if this fixes your problem. You'll need to replace the DLaB.CrmSvcUtilExtensions dll in your XTB plugins DLaB.EarlyBoundGenerator |
Hello Daryl Unfortunately it still gives exactly the same error. I replaced the dll in the xrmtoolbox storage folder (i got that path via xrmtoolbox -> configuration -> settings -> paths : "open xrm toolbox storage folder". And then in the plugins oflder under DLaB.Earlyboundgenerator: C:\Users...\AppData\Roaming\MscrmTools\XrmToolBox\Plugins\DLaB.EarlyBoundGenerator And then started the xrmtoolbox exe and generated the entities. But still the sub element within the exact same However, it's just a very small nuisance in an otherwise excellent and helpful tool, so don't feel obligated to solve this on the spot. I know how to fix it after generating it, so it still works for me with just one extra step. If it gets solved someday: great. Otherwise: no problem, I can still generate my entities. |
Can you share your project file itself then? You can give to me on Twitter or LinkedIn if you don't want to share publicly |
I'm assuming this has been resolved. |
Tool and Version
Earlyboundgenerator 1.2022.9.22
xrmtoolbox 1.2023.2.64
Describe the bug
After generating the entities in a folder in a class library, the project file of that library is corrupt. The cause is that it just adds a new element without checking if the previous line is closed with
<compile/> vs <compile></compile>
. This happens when a typed dataset is present in the library.Example: in the below example the generated class will be inserted on the second line, instead of after the
</compile>
element:Before:
After
IT should be:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The project file should look like this (compile element below element of the previous dataset:
The text was updated successfully, but these errors were encountered: