Add .NET servicing attribute to all assemblies #2516

Closed
halter73 opened this Issue Sep 5, 2013 · 1 comment

Comments

Projects
None yet
3 participants
@halter73
Member

halter73 commented Sep 5, 2013

For .NET 4.5 assemblies:

[assembly: AssemblyMetadata("Serviceable", "True")]

For .NET 4.0 client:

#if NET40
namespace System.Reflection
{
    [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
    internal sealed class AssemblyMetadataAttribute : Attribute
    {
        public AssemblyMetadataAttribute(string key, string value)
        {
            Key = key;
            Value = value;
        }

        public string Key { get; set; }
        public string Value { get; set; }
    }
}
#endif

#2444

@ghost ghost assigned davidfowl Sep 6, 2013

davidfowl added a commit that referenced this issue Sep 6, 2013

@ghost ghost assigned Xiaohongt Sep 6, 2013

@Xiaohongt

This comment has been minimized.

Show comment
Hide comment
@Xiaohongt

Xiaohongt Sep 12, 2013

Contributor

verified thatall assemblies have attribute AssemblyMetadata("Serviceable", "True")]

Contributor

Xiaohongt commented Sep 12, 2013

verified thatall assemblies have attribute AssemblyMetadata("Serviceable", "True")]

@Xiaohongt Xiaohongt closed this Sep 12, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment