BDisp 8f1954f16c Fixes #3790. Can't build v2_develop RELEASE - "The local source 'C:\Users\Tig\s\gui-cs\Terminal.Gui\local_packages' doesn't exist." (#3794) 9 months ago
..
Properties 82ba4af51a Fixed bdisp feedback 10 months ago
NativeAot.csproj 9c6a3058d4 Fixes #3784. SelfContained and NativeAot projects should use the local package in the release mode. (#3785) 10 months ago
Program.cs 78d0a8fc3b Accepted->Accepting 10 months ago
Publish_linux-x64_Debug.sh 63e75b7413 Fixes #3109. AOT support with .Net 8. (#3638) 1 year ago
Publish_linux-x64_Release.sh 63e75b7413 Fixes #3109. AOT support with .Net 8. (#3638) 1 year ago
Publish_osx-x64_Debug.sh 63e75b7413 Fixes #3109. AOT support with .Net 8. (#3638) 1 year ago
Publish_osx-x64_Release.sh 63e75b7413 Fixes #3109. AOT support with .Net 8. (#3638) 1 year ago
README.md 63e75b7413 Fixes #3109. AOT support with .Net 8. (#3638) 1 year ago

README.md

Terminal.Gui C# SelfContained

This project aims to test the Terminal.Gui library to create a simple native AOT self-container GUI application in C#, ensuring that all its features are available.

With Debug the .csproj is used and with Release the latest nuget package is used, either in Solution Configurations or in Profile Publish or in the Publish_linux-x64 or in the Publish_osx-x64 files. Unlike self-contained single-file publishing, native AOT publishing must be generated on the same platform as the target execution version. Therefore, if the target execution is Linux, then the publishing must be generated on a Linux operating system. Attempting to generate on Windows for the Linux target will throw an exception.

To publish the native AOT file in Debug or Release mode, it is not necessary to select it in the Solution Configurations, just choose the Debug or Release configuration in the Publish Profile or the *.sh files.

When executing the file directly from the native AOT file and needing to debug it, it will be necessary to attach it to the debugger, just like any other standalone application and selecting Native Code.