none
Visual Studio Application Deployment - Command Prompt stays open when running an executable RRS feed

  • Question

  • I am developing a simple Hello World UI using Avalonia (WPF and XAML based) and .Net Core. The purpose is to deploy the app to both Windows and Linux OS.

    I've used both Self-Contained and Framework Dependent deployment using .Net Core 2.2 framework. The problem occurs when I deploy it for Windows runtime. When the executable is run, command prompt is opened to run it, which is fine. The problem is that the command prompt stays open and must remain open for the application to stay running (UI to stay up).

    It isn't ideal for the user of the application to have the command prompt open at all times if they want to run the app. Is there any way to allow the executable to be run without command prompt opening?

    If there is any additional information I need to provide please let me know.

    Friday, June 7, 2019 5:47 PM

All replies

  • Since Avalona is still in beta I would open an issue on the GitHub project

    https://github.com/AvaloniaUI/Avalonia/issues

    Saturday, June 8, 2019 11:38 PM
  • Hi ColinParks,

    Welcome to the MSDN forum.

    According to the description, this issue more relates to the Avalonia and our forum is to discuss the VS IDE. I agreed with Ken's suggestion, please redirect to this appropriate forum: https://github.com/AvaloniaUI/Avalonia/issues to seek for better support, thanks for your understanding.

    Best regards,

    Sara


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Monday, June 10, 2019 2:41 AM