0
Vote

Can't build with v2 Microsoft.Build.Framework

description

Error 1 Unhandled exception: PostSharp.CodeModel.BindingException: Cannot find the type 'Microsoft.Build.Framework.RequiredAttribute, Microsoft.Build.Framework, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' in assembly 'Microsoft.Build.Framework, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
   at PostSharp.CodeModel.AssemblyEnvelope.GetTypeDefinition(String typeName, BindingOptions bindingOptions)
   at PostSharp.CodeModel.TypeRefDeclaration.GetTypeDefinition(BindingOptions bindingOptions)
   at PostSharp.CodeModel.TypeRefDeclaration.GetTypeDefinition()
   at PostSharp.Extensibility.Tasks.CustomAttributeDictionaryTask.InternalAddAttribute(ICustomAttributeInstance attribute)
   at PostSharp.Extensibility.Tasks.CustomAttributeDictionaryTask.Execute()
   at PostSharp.Extensibility.Project.ExecutePhase(String phase)
   at PostSharp.Extensibility.Project.Execute()
   at PostSharp.Extensibility.PostSharpObject.ExecuteProjects()
   at PostSharp.Extensibility.PostSharpObject.InvokeProjects(ProjectInvocation[] projectInvocations)
   at PostSharp.MSBuild.PostSharpRemoteTask.Execute(PostSharpTaskParameters parameters, TaskLoggingHelper log) CriticalSystems.Instrumentation

comments