Ticket T1054273
Visible to All Users
Duplicate

XAF ModelEditor - To run the application please install .NET

created 3 years ago

Hello,

I have a fresh Windows 11 / Visual Studio / Devexpress 21.2.4 installation and would like to try out XAF. I created a new XAF solution with EF Core and Windows Forms. When trying to open den ModelEditor, I get the error, that I have to install .NET. I clicked on the link and installed .NET 5.0 runtime (5.0.13 - Desktop Apps and Console). After the restart of Visual Studio 2022 and opening the solution, the message to install .NET will be displayed once again. Whats missing?

Best regards

Mike

Show previous comments (10)
M M
Michael W. Böckle 3 years ago

    Hello Mahfoud,

    editing the config-file works for me. I have installed .NET 6 runtime, sdk and asp.net core and now I can use the model editor.

    Thank you very much.

    MB MB
    Mahfoud Bouabdallah 3 years ago

      Hello Michael;
      I'm glad I can help

        Thank you Mahfoud.

        Your solution solved my problems too.

        Best regards,
        Ægir

        Answers

        created 3 years ago (modified 3 years ago)

        We just encountered this Model Editor issue as well.

        When we opened the Event Viewer, we noticed the following image:
        Clipboard-File-2.png

        We managed to resolve the issue by installing the x86 version of the .Net 5 SDK.

        https://dotnet.microsoft.com/en-us/download/dotnet/5.0

        Clipboard-File-3.png

        Hopefully this helps others as well.

        For the sake of finding this in the future:
        "to run this application, you must install .net"
        "an exception occurred during model editor initialization"
        "NamedPipeClientStream"

          Comments (1)
          AG AG
          Alex Gn (DevExpress) 3 years ago

            Hello Dave,
            Thank you for the feedback and detailed description. We will also recommend it in other threads.

            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.