Attempted to read or write protected memory
От: ecinunice  
Дата: 24.01.08 12:37
Оценка:
Постоянно получаю сообщение "Attempted to read or write protected memory" при попытках добавить новый элемент в проект.

Сообщение из под дебагера:

An exception of type 'System.Reflection.TargetInvocationException' occurred in System.dll but was not handled in user code
Additional information: Property accessor 'FullPath' on object 'Microsoft.VisualStudio.Package.ProjectReferencesProperties' threw the following exception:'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'

(VS\SDK\2007.02\VisualStudioIntegration\Common\Source\CSharp\Project\DesignPropertyDescriptor.cs в методе
public override object GetValue(object component)).
в строке
object value = this.property.GetValue(component);

VS2008 стоит, но работаю с интеграцией под VS2005. Вопрос — как можно это победить?
... << RSDN@Home 1.2.0 alpha rev. 737>>
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.