0
Fixed

Type 'System.Activities.Presentation.ErrorActivity' not visible. If the type is local, please set the LocalAssembly field in XamlReaderSettings.

Anonymous 9 years ago in Studio updated by Gandalf 8 years ago 4
at System.Xaml.XamlObjectReader.SerializerContext.LocalAssemblyAwareGetXamlType(Type clrType) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.ForObjectInternal(Object value, SerializerContext context, TypeConverter converter) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.ForObject(Object value, SerializerContext context, TypeConverter instanceConverter, Boolean isRoot) at System.Xaml.XamlObjectReader.MemberMarkupInfo.GetPropertyValueInfoInternal(Object propertyValue, ValueSerializer propertyValueSerializer, TypeConverter propertyConverter, Boolean isXamlTemplate, XamlMember xamlProperty, SerializerContext context) at System.Xaml.XamlObjectReader.MemberMarkupInfo.GetPropertyValueInfo(Object propertyValue, XamlMember xamlProperty, SerializerContext context) at System.Xaml.XamlObjectReader.MemberMarkupInfo.ForReadWriteProperty(Object source, XamlMember xamlProperty, SerializerContext context) at System.Xaml.XamlObjectReader.MemberMarkupInfo.ForProperty(Object source, XamlMember property, SerializerContext context) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.AddRecordMembers(Object value, SerializerContext context, ParameterInfo[] methodParameters, XamlType xamlType) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.AddRecordMembers(Object value, SerializerContext context, TypeConverter converter) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.ForObjectInternal(Object value, SerializerContext context, TypeConverter converter) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.ForObject(Object value, SerializerContext context, TypeConverter instanceConverter, Boolean isRoot) at System.Xaml.XamlObjectReader.MemberMarkupInfo.GetPropertyValueInfoInternal(Object propertyValue, ValueSerializer propertyValueSerializer, TypeConverter propertyConverter, Boolean isXamlTemplate, XamlMember xamlProperty, SerializerContext context) at System.Xaml.XamlObjectReader.MemberMarkupInfo.GetPropertyValueInfo(Object propertyValue, XamlMember xamlProperty, SerializerContext context) at System.Xaml.XamlObjectReader.MemberMarkupInfo.ForReadWriteProperty(Object source, XamlMember xamlProperty, SerializerContext context) at System.Xaml.XamlObjectReader.MemberMarkupInfo.ForProperty(Object source, XamlMember property, SerializerContext context) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.AddRecordMembers(Object value, SerializerContext context, ParameterInfo[] methodParameters, XamlType xamlType) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.AddRecordMembers(Object value, SerializerContext context, TypeConverter converter) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.ForObjectInternal(Object value, SerializerContext context, TypeConverter converter) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.ForObject(Object value, SerializerContext context, TypeConverter instanceConverter, Boolean isRoot) at System.Xaml.XamlObjectReader.MemberMarkupInfo.GetPropertyValueInfoInternal(Object propertyValue, ValueSerializer propertyValueSerializer, TypeConverter propertyConverter, Boolean isXamlTemplate, XamlMember xamlProperty, SerializerContext context) at System.Xaml.XamlObjectReader.MemberMarkupInfo.GetPropertyValueInfo(Object propertyValue, XamlMember xamlProperty, SerializerContext context) at System.Xaml.XamlObjectReader.MemberMarkupInfo.ForReadWriteProperty(Object source, XamlMember xamlProperty, SerializerContext context) at System.Xaml.XamlObjectReader.MemberMarkupInfo.ForProperty(Object source, XamlMember property, SerializerContext context) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.AddRecordMembers(Object value, SerializerContext context, ParameterInfo[] methodParameters, XamlType xamlType) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.AddRecordMembers(Object value, SerializerContext context, TypeConverter converter) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.ForObjectInternal(Object value, SerializerContext context, TypeConverter converter) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.ForObject(Object value, SerializerContext context, TypeConverter instanceConverter, Boolean isRoot) at System.Xaml.XamlObjectReader.MemberMarkupInfo.GetPropertyValueInfoInternal(Object propertyValue, ValueSerializer propertyValueSerializer, TypeConverter propertyConverter, Boolean isXamlTemplate, XamlMember xamlProperty, SerializerContext context) at System.Xaml.XamlObjectReader.MemberMarkupInfo.GetPropertyValueInfo(Object propertyValue, XamlMember xamlProperty, SerializerContext context) at System.Xaml.XamlObjectReader.MemberMarkupInfo.ForReadWriteProperty(Object source, XamlMember xamlProperty, SerializerContext context) at System.Xaml.XamlObjectReader.MemberMarkupInfo.ForProperty(Object source, XamlMember property, SerializerContext context) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.AddRecordMembers(Object value, SerializerContext context, ParameterInfo[] methodParameters, XamlType xamlType) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.AddRecordMembers(Object value, SerializerContext context, TypeConverter converter) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.ForObjectInternal(Object value, SerializerContext context, TypeConverter converter) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.ForObject(Object value, SerializerContext context, TypeConverter instanceConverter, Boolean isRoot) at System.Xaml.XamlObjectReader.MemberMarkupInfo.ForSequenceItems(Object sourceOrValue, XamlMember property, XamlType xamlType, SerializerContext context, Boolean allowReadOnly) at System.Xaml.XamlObjectReader.MemberMarkupInfo.ForSequence(Object source, XamlMember property, SerializerContext context, Boolean isAttachable) at System.Xaml.XamlObjectReader.MemberMarkupInfo.ForProperty(Object source, XamlMember property, SerializerContext context) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.AddRecordMembers(Object value, SerializerContext context, ParameterInfo[] methodParameters, XamlType xamlType) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.AddRecordMembers(Object value, SerializerContext context, TypeConverter converter) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.ForObjectInternal(Object value, SerializerContext context, TypeConverter converter) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.ForObject(Object value, SerializerContext context, TypeConverter instanceConverter, Boolean isRoot) at System.Xaml.XamlObjectReader.MemberMarkupInfo.GetPropertyValueInfoInternal(Object propertyValue, ValueSerializer propertyValueSerializer, TypeConverter propertyConverter, Boolean isXamlTemplate, XamlMember xamlProperty, SerializerContext context) at System.Xaml.XamlObjectReader.MemberMarkupInfo.GetPropertyValueInfo(Object propertyValue, XamlMember xamlProperty, SerializerContext context) at System.Xaml.XamlObjectReader.MemberMarkupInfo.ForReadWriteProperty(Object source, XamlMember xamlProperty, SerializerContext context) at System.Xaml.XamlObjectReader.MemberMarkupInfo.ForProperty(Object source, XamlMember property, SerializerContext context) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.AddRecordMembers(Object value, SerializerContext context, ParameterInfo[] methodParameters, XamlType xamlType) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.AddRecordMembers(Object value, SerializerContext context, TypeConverter converter) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.ForObjectInternal(Object value, SerializerContext context, TypeConverter converter) at System.Xaml.XamlObjectReader.ObjectMarkupInfo.ForObject(Object value, SerializerContext context, TypeConverter instanceConverter, Boolean isRoot) at System.Xaml.XamlObjectReader..ctor(Object instance, XamlSchemaContext schemaContext, XamlObjectReaderSettings settings) at System.Xaml.XamlServices.Save(XamlWriter writer, Object instance) at Dev2.Utilities.WorkflowHelper.GetXamlDefinition(ActivityBuilder builder) at Dev2.Utilities.WorkflowHelper.SerializeWorkflow(ModelService modelService) at Dev2.Studio.ViewModels.Workflow.WorkflowDesignerViewModel.get_ServiceDefinition() at Dev2.Studio.ViewModels.Workflow.WorkflowDesignerViewModel.BindToModel() at Dev2.Studio.ViewModels.WorkSurface.WorkSurfaceContextViewModel.BindToModel() at Dev2.Studio.ViewModels.WorkSurface.WorkSurfaceContextViewModel.Save(IContextualResourceModel resource, Boolean isLocalSave, Boolean addToTabManager, Boolean isStudioShutdown) at Dev2.Studio.ViewModels.WorkSurface.WorkSurfaceContextViewModel.Debug(IContextualResourceModel resourceModel, Boolean isDebug) at Dev2.Studio.ViewModels.WorkSurface.WorkSurfaceContextViewModel.Debug() at Dev2.Studio.ViewModels.WorkSurface.WorkSurfaceContextViewModel.b__14(Object param) at Dev2.Security.AuthorizeCommand`1.Execute(Object parameter) at Dev2.Studio.ViewModels.MainViewModel.Debug() at Warewolf.Studio.ViewModels.ExplorerItemViewModel.<>c__DisplayClass18.<.ctor>b__5() at Microsoft.Practices.Prism.Commands.DelegateCommand.<>c__DisplayClass6.<.ctor>b__2(Object o) at Microsoft.Practices.Prism.Commands.DelegateCommandBase.<>c__DisplayClass2.<.ctor>b__0(Object arg) at Microsoft.Practices.Prism.Commands.DelegateCommandBase.d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Practices.Prism.Commands.DelegateCommandBase.d__4.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)