Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Michael Nielsen 99 posts 619 karma points
    Jun 30, 2015 @ 13:05
    Michael Nielsen
    0

    Can this not be used with System.Globalization?

    When adding

    @using System.Globalization
    

    to your scripts, you will get this error

    'Calendar' is an ambiguous reference between 'System.Globalization.Calendar' and 'KS.Umbraco7.Calendar.Core.Calendar'
    

    Is there a workaround for this?

  • Ole Martin Bakke 108 posts 619 karma points
    Jun 30, 2015 @ 14:06
    Ole Martin Bakke
    100

    The work around is to use to full name for one of the collections. Eg. System.Globalization.CultureInfo, then you don't need the using.

  • Michael Nielsen 99 posts 619 karma points
    Jul 01, 2015 @ 09:38
    Michael Nielsen
    0

    Of course... Thanks... :-)

Please Sign in or register to post replies

Write your reply to:

Draft