I just moved to Visual Studio 2015 running on Windows 10. During this process I upgraded to PostSharp 4.1.21
I'm getting the following error in some PostSharp SDK. The type in question is exactly the same type.. Anyone come across this? or know how to fix it?
Severity Code Description Project File Line
Error Unhandled exception (4.1.21.0, postsharp.srv.4.0-x86.exe, CLR 4.0.30319.393295, Release): PostSharp.Sdk.CodeModel.BindingException: A field name 'Doc' was found in the type 'MacroView.VSTO.Word.Precedent.Assembler`1<T>', but its type is 'Microsoft.Office.Interop.Word.Document' instead of 'Microsoft.Office.Interop.Word.Document'.
at PostSharp.Sdk.CodeModel.Collections.FieldDefDeclarationCollection.GetField(String name, ITypeSignature type, BindingOptions bindingOptions)
at PostSharp.Sdk.CodeModel.FieldRefDeclaration.GetFieldDefinition(BindingOptions bindingOptions)
at PostSharp.Sdk.Extensibility.Tasks.IndexGenericInstancesTask.Execute()
at PostSharp.Sdk.Extensibility.Project.ExecutePhase(String phase)
at PostSharp.Sdk.Extensibility.Project.Execute()
at PostSharp.Hosting.PostSharpObject.ExecuteProjects()
at PostSharp.Hosting.PostSharpObject.InvokeProject(ProjectInvocation projectInvocation). MacroView.DocumentAssembler.Word C:\Repos\All MacroView Projects\MacroView.DocumentAssembler\MacroView.DocumentAssembler.Word\MacroView.DocumentAssembler.Word.csproj
Fixed in v4.1.24 (Extra sentence to make minimum length post)