Sins I upgraded a Website to Version 4.10.0 I get the error:
"The project currently contains references to more than one version of interfaces, a direct reference to version 1.0.4695.30695 and an indirect reference (through 'umbraco.MacroEngines.DynamicNode.GetProperty') to version 1.0.4695.30701"
In a class file in the App_Code folder I try to use the DynamicNodeList - but even within visual studio I see these error.
Imports System.Xml Imports DigibizTree Imports TheFarm.Umbraco.EmbeddedContent Imports uComponents.DataTypes.UrlPicker.Dto Imports umbraco.cms.businesslogic.media Imports Umbraco.MacroEngines Imports umbraco.NodeFactory Public Class BannerZone Public Property ZoneID As String Public Property Zone As Node Public Property PositionCount As Integer Public Property Size As PositionSize Sub New(ByVal _ZoneID As String) ... End Sub Public Function GetPositions() As List(Of Position) Dim positions As New List(Of Position) If IsNothing(Zone) Then Return positions Dim BookedBanners As New DynamicNodeList(GetDisplayedBannerNodes()) Dim _banner As Banner For i As Integer = 0 To PositionCount - 1 Dim position As New Position position.Size = Me.Size If i <= BookedBanners.Items.Count - 1 Then _banner = New Banner(BookedBanners(i), position.Size, Zone) position.Banner = _banner Else _banner = New Banner(New DynamicNode(), position.Size, Zone) position.Banner = _banner End If positions.Add(position) Next Return positions End Function
Cannot use umbraco.MacroEngine.DynamicNodeList
Sins I upgraded a Website to Version 4.10.0 I get the error:
"The project currently contains references to more than one version of interfaces, a direct reference to version 1.0.4695.30695 and an indirect reference (through 'umbraco.MacroEngines.DynamicNode.GetProperty') to version 1.0.4695.30701"
In a class file in the App_Code folder I try to use the DynamicNodeList - but even within visual studio I see these error.
I had the same problem last time I upgraded from version 4.7.1.1 to version 4.8. See: http://our.umbraco.org/forum/getting-started/installing-umbraco/33769-Upgrade-from-4711-to-48-Reference-to-more-than-one-version-of-interfaces
This is my code:
Does anybody have an idea what the problem is?
is working on a reply...