Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add .NET servicing attribute to all assemblies #2516

Closed
halter73 opened this Issue · 1 comment

3 participants

@halter73
Collaborator

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
@Xiaohongt Xiaohongt was assigned
@Xiaohongt
Collaborator

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

@Xiaohongt Xiaohongt closed this
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.