This project is read-only.
1

Closed

Cannot remove unused references for Workflow project.

description

Error appears when trying to remove unused references for workflow project.
 
Target .NET framework is 4.0
Project template is Workflow Console Application
 
Error stack trace:
An error has occurred while deleting unused references. Lardite.RefAssistant.ObjectModel.CheckTypeException: The exception occurs during checking of referenced methods of type 'System.Activities.WorkflowInvoker, System.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. ---> Lardite.RefAssistant.ObjectModel.CheckTypeException: The exception occurs during checking overloaded methods 'System.Activities.WorkflowInvoker.Invoke' (having 1 parameter(s)) from a module 'System.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Lardite.RefAssistant.Extensions.MonoCecilTypesExtension.GetAssemblyResolver(ModuleDefinition module) at Lardite.RefAssistant.Extensions.MonoCecilTypesExtension.Resolve(TypeReference typeRef, IMetadataScope& forwardedFrom) at Lardite.RefAssistant.ObjectModel.Checkers.Helpers.MemberParametersCheckHelper.ResolveTypeReference(TypeReference typeRef, CheckerSharedData sharedData) at Lardite.RefAssistant.ObjectModel.Checkers.Helpers.MemberParametersCheckHelper.CheckMethodParameters(MethodReference methodRef, CheckerSharedData sharedData) at Lardite.RefAssistant.ObjectModel.Checkers.Helpers.MemberReferencesCheckHelper.CheckOverloadedMethods(IEnumerable1 methods, CheckerSharedData sharedData) --- End of inner exception stack trace --- at Lardite.RefAssistant.ObjectModel.Checkers.Helpers.MemberReferencesCheckHelper.CheckOverloadedMethods(IEnumerable1 methods, CheckerSharedData sharedData) at Lardite.RefAssistant.ObjectModel.Checkers.Helpers.MemberReferencesCheckHelper.EvaluateMemberReference(MemberReference memberRef, CheckerSharedData sharedData) at Lardite.RefAssistant.ObjectModel.Checkers.Helpers.MemberReferencesCheckHelper.Check(TypeReference typeRef, CheckerSharedData sharedData, IProjectEvaluator evaluator) --- End of inner exception stack trace --- at Lardite.RefAssistant.ObjectModel.Checkers.Helpers.MemberReferencesCheckHelper.Check(TypeReference typeRef, CheckerSharedData sharedData, IProjectEvaluator evaluator) at Lardite.RefAssistant.ObjectModel.Checkers.DependentAssembliesTypesChecker.CheckAssemblyTypes(AssemblyDefinition assemblyDefinition, CheckerSharedData checkerData, IProjectEvaluator evaluator) at Lardite.RefAssistant.ObjectModel.Checkers.DependentAssembliesTypesChecker.Check(CheckerSharedData sharedData, IProjectEvaluator evaluator) at Lardite.RefAssistant.ObjectModel.Checkers.ProjectChecker.Check() at Lardite.RefAssistant.ObjectModel.CheckExecutor.Execute(IProjectEvaluator evaluator) at Lardite.RefAssistant.ObjectModel.CheckExecutor.Execute(IProjectEvaluator evaluator) at Lardite.RefAssistant.ObjectModel.ReferenceInspector.Inspect(IProjectEvaluator evaluator) at Lardite.RefAssistant.ExtensionManager.GetUnusedReferences(ProjectInfo projectInfo) at Lardite.RefAssistant.ExtensionManager.StartCleanup() at Lardite.RefAssistant.RefAssistantPackage.RemoveUnusedReferencesCommand_Exec(Object sender, EventArgs e) Exception Data: AssemblyDefinition:System.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35

file attachments

Closed Oct 11, 2011 at 8:03 PM by vchistov

comments

wrote Oct 11, 2011 at 8:03 PM

Resolved with changeset 5397.

wrote Feb 14, 2013 at 12:04 AM

wrote May 16, 2013 at 5:29 AM

wrote Thu at 10:43 PM