Error "Collection was modified" when switching from one profile to another

0
0

I have a problem with Wisej 3.5 in VS2022 with the profiles. For example on a EmptyPage i added a Label and changed size and text on the “Default” layout.

I then switched to the “Phone” layout to adjust size and position for the mobile viewpoint. I am not using any containers in thix example.

Once i finished editing size and position of the label in the “Phone” layout i then want to go back to “Default” layout or to the “Phone Landscape” profile.

I then sometimes but not always get this error:

Collection was modified; enumeration operation may not execute

and i can’t switch to other Profiles anymore. The only solution is to press the red X and by that deleting the current Layout / resetting it to Default. Then i can access the other profiles again.

I can’t figure out whats causing this and what the solution might be. Its very annoying as it destroys already exiting profiles. For example if this error occurs after working on the “Phone” layout i can’t access the Default, Tablet etc. layouts anymore.

Any ideas?

Thanks

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.