5,381 questions
Try this code:
var ca = (GuidAttribute)Attribute.GetCustomAttribute( Assembly.GetEntryAssembly( ), typeof( GuidAttribute ) );
string guid = ca.Value;
and this:
internal readonly string AppOneID = ( (GuidAttribute)Attribute.GetCustomAttribute( Assembly.GetEntryAssembly( ), typeof( GuidAttribute ) ) ).Value;