Copied to clipboard

Flag this post as spam?

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


  • Sébastien Richer 194 posts 430 karma points
    Nov 06, 2012 @ 17:03
    Sébastien Richer
    0

    Issues reaching uComponents.DataTypes in 5.1 on umb 4.9.1

    I have this fresh installation that I'm setting up and I had this old code that used to work. Now it says (through VS 2012) "Cannot resolve symbol 'Data Types'" :

    var url = uComponents.DataTypes.UrlPicker.Dto.UrlPickerState.Deserialize(item.GetPropertyValue("destination"));

    I tried uComponents.Core, but still can't find data types. Is there a reference in my project I need... I have the following DLLs in my /bin:

    • uComponents.Controls.dll
    • uComponents.Core.dll
    • uComponents.DataTypes.dll
    • uComponents.Installer.dll
    • uComponents.Legacy.dll
    • uComponents.MacroEngines.dll
    • uComponents.Mapping.dll
    • uComponents.NotFoundHandlers.dll
    • uComponents.UI.dll
    • uComponents.XsltExtensions.dll
    Anyone ran into this before? I really can't find the problem :(
    Thanks!

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Nov 06, 2012 @ 17:05
    Lee Kelleher
    0

    Hi Sébastien,

    Try referencing the "uComponents.DataTypes.dll" assembly - that one contains the UrlPickerState class.

    - Lee

  • Sébastien Richer 194 posts 430 karma points
    Nov 06, 2012 @ 17:12
    Sébastien Richer
    0

    Hi Lee,

    Yeah I added that one as a reference, but I get the same behavior. Something else I can give a try?

    Thanks!

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Nov 06, 2012 @ 17:17
    Lee Kelleher
    0

    In your original post, you mentioned this being "old code" - was that from using v5.0? (as the "uComponents.DataTypes" assembly/namespace was new in v5.0).

    Before v5.0 the namespace would have been "uComponents.Core.DataTypes.UrlPicker.Dto" ... just making sure that the ".Core" part still isn't in there?

    - Lee

  • Sébastien Richer 194 posts 430 karma points
    Nov 06, 2012 @ 20:05
    Sébastien Richer
    0

    Yes it's "old" but not very old, it's running on another v4.9.0 umbraco installation, that one has no references, but a different set of DLLs and the same line looks ok. (I think I remember that other installation being started on 4.7.2, then upgraded 4.9.0.)

    In this most recent one, I downloaded the v5.1 of uComponents and installed the package from local, directly on a clean umbraco v4.9.1 installation.

    I double-checked and the .Core part is indeed not there.

    Thanks!

Please Sign in or register to post replies

Write your reply to:

Draft