после ошибки в visual studio и перезапуска при открытии пользовательского контроллера я получаю эту ошибку:
Исключение было выдано целью вызова.в System.RuntimeMethodHandle._InvokeConstructor (Object [] args, SignatureStruct & signature, IntPtr declaringType) в System.RuntimeMethodHandle.InvokeConstructor (Object [] args, SignatureStruct сигнатура, RuntimeTypeHandle declaringTimeInfoBBRinkInfoBBRinkInfoBBRenceOFBRectFindInFBOffRectFBOFBRINGBINKEFFBRINGBINGEFFBRINGBINGEFFBRINGBINGEFFBRINGBINGREFFINTEBRINGBINGINGTF), Параметры Object [], CultureInfo culture) в System.RuntimeType.CreateInstanceImpl (BindingFlags bindingAttr, Binder Binder, Object [] args, CultureInfo culture, Object [] активацииAttributes) в System.Activator.CreateInstance (тип типа, BindingFlags bindingAttr, Binder), Object [] args, CultureInfo culture, Object [] активацииAttributes) в Microsoft.Windows.Design.Features.FeatureManager.FeatureConnectorEntry.AttemptActivate () в Microsoft.Windows.Design.Features.FeatureManager.FeatureConnectorEryry.OnReed) в Microsoft.Windows.Design.RequirementValidator.OnRequirementChanged (Отправитель объекта, EventArgs e) в Microsoft.Windows.Design.RequirementSubscription.OnRequirementChanged () в Microsoft.Windows.Design.RequiresContextItemAttribute.RequireContextItemSubscription.OnContextItemChanged (элемент ContextItem) в пунктеOnItemChanged (элемент ContextItem) в Microsoft.Windows.Design.EditingContext.DefaultContextItemManager.SetValue (значение ContextItem) в Microsoft.Windows.Design.Interaction.DesignerView.set_Context (значение EditingContext) в MS.Internal.Designer.agerMicrosoft.Windows.Design.Documents.MarkupDocumentManager.get_View () в MS.Internal.Host.PersistenceSubsystem.get_DocumentView () в MS.Internal.Host.Designer.get_View ()
в MS.Internal.Designer.VSDesigner.Voad() в MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedView.Load () в MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedDesignerFactory.Load (представление IsolatedView) в MS.Internal.Host.Isolation.) в MS.Internal.Designer.DesignerPane.LoadDesignerView ()
Исключение было сгенерировано целью вызова.в System.RuntimeMethodHandle. InvokeConstructor (Object [] args, SignatureStruct & signature, IntPtr declaringType) в System.RuntimeMethodHandle.InvokeConstructor (Object [] args, SignatureStruct подпись, RuntimeTypeHandle, Связыватель, параметры Object [], культура CultureInfo) в System.Reflection.ConstructorInfo.Invoke (параметры Object []) в System.SecurityUtils.SecureConstructorInvoke (тип Type, Type [] argTypes, Object [] args, логическое значение allowNonPublic, BindingFlagsextraFlags) в System.ComponentModel.ReflectTypeDescriptionProvider.CreateInstance (поставщик IServiceProvider, тип objectType, Type [] argTypes, Object [] args) в System.ComponentModel.TypeDescriptor.[] args) в System.ComponentModel.TypeDescriptionProvider.CreateInstance (поставщик IServiceProvider, тип objectType, тип [] argTypes, Object [] args) в System.ComponentModel.TypeDescriptor.TypeDescriptionNode.CreateInstance (IServiceProviderпровайдер, тип objectType, тип []
argTypes, Object [] args) в
System.ComponentModel.TypeDescriptor.CreateInstance (IServiceProvider
провайдер, тип objectType, тип []
argTypes, Object [] args) в
Microsoft.Windows.Design.Features.FeatureManager.d _19.MoveNext ()
в
Microsoft.Windows.Design.Features.FeatureManager.d__e.MoveNext ()
в
Microsoft.Windows.Design.Features.PolicyDrivenFeatureConnector 1.CreateFeatureProviders(ModelItem
item, ItemPolicy policy) at
Microsoft.Windows.Design.Features.PolicyDrivenFeatureConnector
1.OnPolicyItemsChanged (Object
отправитель, PolicyItemsChangedEventArgs e)
в
Microsoft.Windows.Design.Features.PolicyDrivenFeatureConnector 1..ctor(FeatureManager
manager) at
MS.Internal.Features.PolicyDrivenToolFeatureConnector
1..ctor (FeatureManager
менеджер) в
MS.Internal.Features.AdornerProviderFeatureConnector..ctor (FeatureManager
менеджер)
/ Microsoft.Windows.Design.Developer; компонент / темы / GridAdorners.xaml '
значение не может быть присвоено свойству
«Источник» объекта
'System.Windows.ResourceDictionary.
Невозможно создать экземпляр
GenericTheme определено в сборке
«Microsoft.Windows.Design.Interaction,
Версия = 3.5.0.0, Культура = нейтральная,
PublicKeyToken = b03f5f7f11d50a3a.
Исключение было брошено
цель вызова. Ошибка при
объект 'ResourceDictionary_4'. в
System.Windows.Markup.XamlParseException.ThrowException (String
сообщение, Exception innerException,
Int32 lineNumber, Int32 linePosition,
Uri baseUri, XamlObjectIds
currentXamlObjectIds, XamlObjectIds
contextXamlObjectIds, Type objectType)
в
System.Windows.Markup.XamlParseException.ThrowException (ParserContext
parserContext, Int32 lineNumber, Int32
linePosition, String message,
Исключение innerException) в
System.Windows.Markup.BamlRecordReader.ThrowExceptionWithLine (String
сообщение, исключение innerException)
в
System.Windows.Markup.BamlRecordReader.ReadPropertyRecordBase (String
attribValue, Int16 attributeId, Int16
converterTypeId) в
System.Windows.Markup.BamlRecordReader.ReadPropertyConverterRecord (BamlPropertyWithConverterRecord
bamlPropertyRecord) в
System.Windows.Markup.BamlRecordReader.ReadRecord (BamlRecord
bamlRecord) в
System.Windows.Markup.BamlRecordReader.Read (Boolean
singleRecord) в
System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment ()
в
System.Windows.Markup.TreeBuilder.Parse ()
в
System.Windows.Markup.XamlReader.LoadBaml (Stream
поток, ParserContext parserContext,
Родитель объекта, логическое значение closeStream)
в
System.Windows.SystemResources.ResourceDictionaries.LoadDictionary (Собрание
сборка, строка сборкаНазвание, строка
resourceName, Boolean isTraceEnabled)
в
System.Windows.SystemResources.ResourceDictionaries.LoadGenericDictionary (Boolean
isTraceEnabled) в
System.Windows.SystemResources.FindDictionaryResource (Объект
ключ, Тип typeKey, ResourceKey
resourceKey, Boolean isTraceEnabled,
логический
allowDeferredResourceReference,
логический
mustReturnDeferredResourceReference,
Boolean & canCache) в
System.Windows.SystemResources.FindResourceInternal (Объект
ключ, логический
allowDeferredResourceReference,
логический
mustReturnDeferredResourceReference)
в
System.Windows.StyleHelper.GetThemeStyle (FrameworkElement
например, FrameworkContentElement fce) в
System.Windows.FrameworkElement.UpdateThemeStyleProperty ()
в
System.Windows.FrameworkElement.OnInitialized (EventArgs
есть
System.Windows.FrameworkElement.TryFireInitialized ()
в
System.Windows.FrameworkElement.ChangeLogicalParent (DependencyObject
newParent) в
MS.Internal.FrameworkObject.ChangeLogicalParent (DependencyObject
newParent) в
System.Windows.FrameworkElement.AddLogicalChild (Объект
ребенок) в
System.Windows.Controls.UIElementCollection.SetLogicalParent (UIElement
элемент) в
System.Windows.Controls.UIElementCollection.AddInternal (UIElement
элемент) в
System.Windows.Controls.UIElementCollection.Add (UIElement
элемент) в
MS.Internal.UserControl.UserControlBorderAdornerProvider..ctor ()
Невозможно создать экземпляр GenericTheme, определенный в сборке "Microsoft.Windows.Design.Interaction, версия = 3.5.0.0, Culture = нейтральный, PublicKeyToken = b03f5f7f11d50a3a".Исключение было брошено целью вызова.в System.Windows.Markup.XamlParseException.ThrowException (Строковое сообщение, Исключение innerException, Int32 lineNumber, Int32 linePosition, Uri baseUri, XamlObjectIds currentXamlObjectIds, XamlObjectIds contextXamlObjectIds, Parception.Exception.ExceptionlineNumber, Int32 linePosition, строковое сообщение, исключение innerException) в System.Windows.Markup.BamlRecordReader.ThrowExceptionWithLine (строковое сообщение, исключение innerException)
в System.Windows.Markup.BamlRecordReader.CreateInstanceFromType (тип, тип BooleFleOntII (тип-тип)) при System.Windows.Markup.BamlRecordReader.GetElementAndFlags (bamlElementStartRecord bamlElementStartRecord, Object & элемент, ReaderFlags & флагов, тип и delayCreatedType, Int16 & delayCreatedTypeId) в System.Windows.Markup.BamlRecordReader.BaseReadElementStartRecord (bamlElementStartRecord bamlElementRecord) в System.Windows.Markup.BamlRecordReader.ReadElementStartReшнур (BamlElementStartRecord bamlElementRecord) в System.Windows.Markup.BamlRecordReader.ReadRecord (BamlRecord bamlRecord) в System.Windows.Markup.BamlRecordReader.Read (логическое значение singleRecord.Wam.Windows.Windows.Markup.TreeBuilder.Parse () в System.Windows.Markup.XamlReader.LoadBaml (Поток потока, ParserContext parserContext, родительский объект, Boolean closeStream)
в System.Windows.SystemResources.ResourceDictionaries.LoadDictionaryN сборка, сборка сборки, StringСтрока resourceName, Boolean isTraceEnabled) в System.Windows.SystemResources.ResourceDictionaries.LoadGenericDictionary (Boolean isTraceEnabled) в System.Windows.SystemResources.FindDictionaryResource (объектный ключ, тип typeKey, ResourceKeourceRecleRecanDanReaderReferenceDBR)в System.Windows.SystemResources.FindResourceInternal (ключ объекта, Booleaп allowDeferredResourceReference, булева mustReturnDeferredResourceReference)
в System.Windows.Markup.BamlRecordReader.FindResourceInRootOrAppOrTheme (Object resourceNameObject, Boolean, Boolean allowDeferredResourceReference mustReturnDeferredResourceReference)
в System.Windows.Markup.BamlRecordReader.FindResourceInParentChain (Object resourceNameObject, Boolean, Boolean allowDeferredResourceReferencemustReturnDeferredResourceReference)
в System.Windows.ResourceDictionary.SetStaticResources (Object [] staticResourceValues, контекст ParserContext) в System.Windows.ResourceDictionary.SetKeys (ArrayList keyCollection, список 1
staticResourceValuesList,
ParserContext context) at
System.Windows.ResourceDictionary.SetDeferableContent(Byte[]
buffer, ParserContext context, Object
rootElement, ArrayList keyCollection,
List
1 staticRistarkRedWorm.Windows.Revice.Windows.Reader.Windows.Reader.Windows.Reader.Windows.Reader.Windows.Reader.Windows.ReaderSec.dll.ReadDeferableContentStart (BamlDeferableContentStartRecord bamlRecord) в System.Windows.Markup.BamlRecordReader.ReadRecord (BamlRecord bamlRecord) в System.Windows.Markup.BamlRecordReader.Read. (Booleant () в System.Windows.Markup.TreeBuilder.Parse () в System.Windows.Markup.XamlReader.LoadBaml (Потоковый поток, ParserContext parserContext, родительский объект, логическое значение closeStream)
в System.Windows.Application.LoadBamlInfoS (Потоковый поток, ParserContext pc) в MS.Internal.AppModel.AppModelKnownContentFactory.BamlConverter (Потоковый поток, Uri baseUri, логический canUseTopLevelBrowser, логический sandboxExternalContent, логический allowAsync, логический isJourlReavader & Xam,asyncObjectConverter) в MS.Internal.AppModel.MimeObjectFactory.1025 *
Исключение было сгенерировано целью вызова.на System.RuntimeTypeHandle.CreateInstance (типа RuntimeType, Boolean, Boolean publicOnly NOCHECK, Boolean & canBeCached, RuntimeMethodHandle & CTOR, Boolean & bNeedSecurityCheck) в System.RuntimeType.CreateInstanceSlow (Boolean publicOnly, булева fillCache) в System.RuntimeType.CreateInstanceImpl (Boolean, publicOnly булевых skipVisibilityChecks, Boolean fillCache) в System.Activator.CreateInstance (тип Type, Boolean nonPublic) в System.RuntimeType.CreateInstanceImpl (BindingFlags bindingAttr, связыватель Binder, аргументы Object [], CultureInfo culture, Object [] активацииAttributes) (System.ActivateC).Тип типа, BindingFlags bindingAttr, Binder Binder, Object [] args, CultureInfo culture, Object [] активацииAttributes) в System.Windows.Markup.XamlTypeMapper.CreateInternalInstance (ParserContext pc, Тип типа) в System.Windows.Markup.BamlRecordReance (Reader).Тип type, Int16 typeId, Boolean throwOnFail)
Компонент 'MS.Internal.Interaction.AdornerFontResourceDictionary 'не имеет ресурса, идентифицируемого по URI' /Microsoft.Windows.Design.Interaction;component/ms/internal/interaction/adornerfontresourcedictionary.xaml '.в System.Windows.Application.LoadComponent (компонент Object, Uri resourceLocator) в MS.Internal.Interaction.AdornerFontResourceDictionary.InitializeComponent () в MS.Internal.Interaction.AdornerFontResourceDictionary..ctor () в Microsoft.Windows.Design.nerFrara. <. cctor> b__0 () в Microsoft.Windows.Design.Interaction.AdornerResources.EnsureResources (Boolean forceUpdate) в Microsoft.Windows.Design.Interaction.AdornerResources.get_ThemeResources () в MS.Internal.Themes.GenericTheme..ctor ()