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 :(
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?
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.
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'" :
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:
Hi Sébastien,
Try referencing the "uComponents.DataTypes.dll" assembly - that one contains the UrlPickerState class.
- Lee
Hi Lee,
Yeah I added that one as a reference, but I get the same behavior. Something else I can give a try?
Thanks!
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
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!
is working on a reply...