Ticket T1279651
Visible to All Users

Custom skin is not loaded after Upgrade to .NET9

created 3 days ago

Hi team,

are there any known issues about custom skin registration under .NET9? I've updated form .NET8 to .NET9 and the app isn't loading my custom skin anymore. I've already recompiled the custom skin. Nothing else has changed.

Visual Basic
'Custom Skin DevExpress.UserSkins.BonusSkins.Register() Dim asm As Reflection.Assembly = GetType(DevExpress.UserSkins.nerdzSkin).Assembly DevExpress.Skins.SkinManager.Default.RegisterAssembly(asm)

Thx.

Comments (1)
TD TD
Thorsten Dreiner 3 days ago

    It seems that I have to recompile it AND set it with

    Visual Basic
    UserLookAndFeel.Default.SkinName = "nerdz Skin 2024"

    This line I have commented out for testing and forget to reactivate it.

    Answers approved by DevExpress Support

    created 2 days ago

    Hello,

    Because of .NET 9, we no longer support custom skins with embedded binary resources. As a result, our custom skin assembly format has been modified. Information previously serialized into resource files utilizing BinaryFormatter is now serialized in a secure manner, eliminating the need for BinaryFormatter. These changes affect custom skins created with the DevExpress Skin Editor and custom skins in assemblies are no longer loaded. To update your project, please refer to the following Breaking Change ticket: Custom skin assembly format has been modified.

    I hope this helps.

      Comments (2)
      TD TD
      Thorsten Dreiner 2 days ago

        So, I did instinctively the right and just recompiled it. Thx.

        Jesper Tiongson (DevExpress Support) a day ago

          I am happy to hear that the issue is resolved.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.