cjbhaines / Log4Net.Async

Asynchronous Log4Net appenders and forwarder
http://www.nuget.org/packages/Log4Net.Async/
MIT License
121 stars 37 forks source link

Suggestion for "CopyLocal" issue #17

Closed th3ragex closed 8 years ago

th3ragex commented 8 years ago

This problem also exists for WPF "only" referenced libraries.

A simple solution for this would be to add a simple attribue to the library and refernence it, for exampel in the AssemblyInfo.cs

The attribute:

using System; namespace MyNamespace { [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)] public class ReferencedLibraryAttribute : Attribute { } }

in AssemblyInfo of the using project: [assembly: ReferencedLibrary]

cjbhaines commented 8 years ago

I like this because you can hide it out the way in the AssemblyInfo. Fancy sending a PR?

cjbhaines commented 8 years ago

Fixed by b235183170904ba1070999ecf7e829d9754fb51a . Packages pushed to NuGet as 2.0.1.0