[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Adding Self-Tracking Entity template cause complie error "Collection was modified" in unit test proejct

Posted on 2011-04-25
Medium Priority
Last Modified: 2012-06-27
I've added an Entity Data Model to my project and added a table to it.  My project and unit test project compiles fine.

Then when I try to add a Self Tracking Entity Template my project compiles but my unit test project gives the following error when compiling:

"Colleciton was modified; enumeration may not execute".

Does anyone know why this error is occuring?
Question by:weimha
  • 2
LVL 96

Accepted Solution

Bob Learned earned 2000 total points
ID: 35464223
I haven't seen that error before, but you say that it happened on compile time?  That sounds like a bug, but I am not about what approach you used with the self-tracking entity stuff...

Author Comment

ID: 35970198
We decided not to do self-tracking entities because it was requiring to much work.

Author Closing Comment

ID: 35970213
A solution was not found, but it is not needed.

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question