Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

"GenerateResource" task failed unexpectedly in .Net CF 2.0

3 views
Skip to first unread message

rrb

unread,
Feb 1, 2006, 8:21:32 AM2/1/06
to
I have a recurring issue with a .Net CF 2.0 project and whenever I modify a
form. I get this error during a compile. Shutting down and restarting the
IDE gets rid of the compile error. This is a real productivity killer.
Making any change to the Windows Form, like dropping a new label on the form
will cause the compile error.

Does anyone have a soution to this reproducible issue?

Thanks!
Rick

Error 1 The "GenerateResource" task failed unexpectedly.
System.InvalidOperationException: Collection was modified; enumeration
operation may not execute.
at Microsoft.Build.Shared.ExceptionHandling.RethrowUnlessFileIO(Exception
e)
at Microsoft.Build.Tasks.GenerateResource.NeedSeparateAppDomain()
at Microsoft.Build.Tasks.GenerateResource.Execute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode
howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup
projectPropertiesAvailableToTask, Boolean&
taskClassWasFound) C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets 1616 9 ItisPpc


Dariusz

unread,
Feb 2, 2006, 1:44:16 AM2/2/06
to
We have reported this issue:
http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=6e42a5cd-4fd6-47e7-90d6-d6dc9535f7f3

Maybe you can help with your observations.


Best Regards
Darek

0 new messages