Skip to content

Add .NET servicing attribute to all assemblies #2516

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

3 participants

@halter73
SignalR 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

@davidfowl davidfowl was assigned Sep 6, 2013
@davidfowl davidfowl added a commit that referenced this issue Sep 6, 2013
@davidfowl davidfowl Added servicing attribute. 53ffb08
@Xiaohongt Xiaohongt was assigned Sep 6, 2013
@Xiaohongt
SignalR member

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
Something went wrong with that request. Please try again.