mixerp / MixERP.Net.VCards

vCard Serializer and Parser for C#
Apache License 2.0
71 stars 42 forks source link

VCards aren't able to handle multiple types on Telephone #9

Open dgwaldo opened 5 years ago

dgwaldo commented 5 years ago

Other libraries allow you to do something like this...

            var phoneFax = new vCard.vTelephone();
            phoneFax.Location = vCard.vLocations.WORK;
            phoneFax.Type = vCard.vPhoneTypes.FAX;
            phoneFax.TelephoneNumber = contact.FaxNumber;
            vc.Telephones.Add(phoneFax);

Producing output like TEL;WORK;FAX:555-555-5555

This library doesn't allow for that without doing something custom...

Bip901 commented 1 month ago

This library seems unmaintained, but I've found another (unmaintained) fork that attempts to fix this: https://github.com/hali4831/MixERP.Net.VCards

Bip901 commented 1 month ago

Workaround: Use an actively maintained library like https://github.com/FolkerKinzel/VCards that doesn't suffer from the telephone types issue

(It's surprising that MixERP.Net.VCards is the most popular result on NuGet, when there are better alternatives)