Problems with naming(lowercase/uppercase) when exporting COM component from C#
问题 I have a C# COM DLL that defines some interfaces/types that I use from a C++ ATL/COM server. From time to time, be it on my machine, or randomly on other machines where I build the same projects (the ATL *.exe and the C# DLL) I get different compile errors related to exported C# struct members that are part of the COM interface. Here is an example: public enum TemporaryPolicyType { UntilTime = 0, ForNextMinutes } [Guid("6F8CD968-DA76-44CA-B4E1-C495AB5003BD")] public struct TemporaryPolicyData