ianmars

Hi,

I have an exception relating to the msbuild, the message goes like this:

Error 1 The build was aborted because of an internal failure.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Collections.Hashtable.GetEnumerator()
at System.Collections.Hashtable..ctor(IDictionary d, Single loadFactor, IEqualityComparer equalityComparer)
at Microsoft.Build.BuildEngine.CopyOnWriteHashtable..ctor(IDictionary dictionary, StringComparer stringComparer)
at Microsoft.Build.BuildEngine.BuildItem..ctor(String itemName, ITaskItem taskItem)
at Microsoft.Build.BuildEngine.TaskEngine.GatherGeneratedTaskOutputs(TaskOutput taskOutputSpecification, String taskParameterName, String itemName, String propertyName, ITask task, ItemBucket bucket)
at Microsoft.Build.BuildEngine.TaskEngine.GatherTaskOutputs(ExecutionMode howToExecuteTask, ITask task, ItemBucket bucket)
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound)
at Microsoft.Build.BuildEngine.Target.ExecuteAllTasks(DependencyAnalysisResult howToBuild, Hashtable changedTargetInputs, Hashtable upToDateTargetInputs, ItemBucket bucket, ArrayList taskOutputItems, BuildPropertyGroup taskOutputProperties)
at Microsoft.Build.BuildEngine.Target.ExecuteAllTasks()
at Microsoft.Build.BuildEngine.Target.Build(IDictionary targetOutputs)
at Microsoft.Build.BuildEngine.Target.Build(IDictionary targetOutputs)
at Microsoft.Build.BuildEngine.Target.Build(IDictionary targetOutputs)
at Microsoft.Build.BuildEngine.Target.Build(IDictionary targetOutputs)
at Microsoft.Build.BuildEngine.Target.Build(IDictionary targetOutputs)
at Microsoft.Build.BuildEngine.Project.DoBuild(String[] targetNamesToBuild, IDictionary targetOutputs, Boolean fireProjectStartedFinishedEvents)
at Microsoft.Build.BuildEngine.Engine.BuildProject(Project project, String[] targetNames, IDictionary targetOutputs, BuildSettings buildFlags, Boolean fireProjectStartedFinishedEvents) C:\Documents and Settings\BAMI Inc\My Documents\Visual Studio 2005\Projects\British Armour\British Armour\British Armour.vbproj British Armour



----------------------------------------------------

this is just one of the bugs I encountered, please advise anyone.



Re: Visual Studio MSBuild MsBuild exception

Eugene Zakhareyev

Can you elaborate on how did this issue come about

Cheers, Eugene






Re: Visual Studio MSBuild MsBuild exception

ianmars

Hi Eugene,

This exception came about when I compiled my program.

And nevertheless it didn't pop out anymore. What are the possibilities that this type of error will come out and what are the solutions to solve this issue









Re: Visual Studio MSBuild MsBuild exception

Eugene Zakhareyev

I have been using MSBuild for over the year pretty intensively, and never come across such exception; so I'd say probabilities are pretty low Smile

Just a gut feeling - but I think the exception may be connected to the complexity of your solution. As to solutions, I think MS guys may have an answer for that; but I would not be too concerned unless it comes back and you have solid repro case.

Regards, Eugene