C1.Win.editor beta installation Fail

Posted by: kbj on 3 October 2023, 4:44 pm EST

  • Posted 3 October 2023, 4:44 pm EST - Updated 3 October 2023, 5:02 pm EST

    I am trying to install the C1.Win.editor beta and I get the following error.:



    Solved by installing prerelease version

    I used the olde C1Editor to perform conversions with the following code:

    Public Class classRtfHtml
        Private editor As New C1.Win.Editor.C1Editor
        Public Function toRtf(xhtml As String) As String
            Dim result As String = Nothing
            editor.LoadXml(xhtml, New Uri("C:\\"))
            Using ms As New MemoryStream
                If editor.SaveRtf(ms) Then
                    result = Encoding.Default.GetString(ms.GetBuffer(), 0, CInt(ms.Length))
                End If
            End Using
            Return result
        End Function
        Public Function toXhtml(rtf As String) As String
            Dim result As String = Nothing
            Using ms = New MemoryStream(Encoding.UTF8.GetBytes(rtf))
                editor.LoadRtf(ms, New Uri("C:\\"))
            End Using
            result = editor.SaveXml
            Return result
        End Function
    End Class

    Is there a way to do this with the new editor?

    -Kingman

  • Posted 4 October 2023, 6:28 am EST

    Hi Kingman,

    This error is usually observed when the package you are trying to install requires a more recent version of a sub-dependency than you have already included in your project.

    For example, if you have installed C1.Win.Ribbon (6.0.20232.611) in your project and you try to install C1.Win.Editor (6.0.20232.620), you will get this error because the C1Editor has a sub-dependency on C1.Win.Ribbon ( >= 6.0.20232.620).

    The solution is to update or delete the existing dependency in your project prior to installing the package.


    We have shared your requirement with the development team to get their insights on it. We will let you know the updates as soon as possible.

    [Internal Tracking ID: C1WIN-31147]

    Best Regards,

    Kartik

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels