Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dgwaldo opened this issue Dec 5, 2018 · 2 comments
Open

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

dgwaldo opened this issue Dec 5, 2018 · 2 comments

Comments

@dgwaldo
Copy link
Contributor

dgwaldo commented Dec 5, 2018

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
Copy link

Bip901 commented Sep 7, 2024

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

@Bip901
Copy link

Bip901 commented Sep 7, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants