pamidur / aspect-injector

AOP framework for .NET (c#, vb, etc)
Apache License 2.0
745 stars 112 forks source link

Build is failed if project has COM reference #131

Closed 777AvEnGeR777 closed 4 years ago

777AvEnGeR777 commented 4 years ago

I have a project that references NetFwTypeLib COM reference.

When I try to build the project, AspectInjector failes with the following error: "Reference not found: 'obj\Debug\Interop.NetFwTypeLib.dll'. Please submit an issue to https://github.com/pamidur/aspect-injector"

The dll exists in obj\Debug folder. If I will remove the reference, the project will be built successfully.

I've also tried to reference another COM libraries like Accessibility and NetCon1.0 Type Library, and they give the same result

pamidur commented 4 years ago

Thanks for report! I'll take a look shortly

pamidur commented 4 years ago

should be fixed in 2.4.1