Copilot b9f55a5a96 Fixes #4410, #4413, #4414, #4415 - `MessageBox` nullable, `Clipboard` refactor, fence for legacy/modern App, and makes internal classes thread safe. (#4411) 2 nedēļas atpakaļ
..
Properties 7fe6fd9453 Fixes #4046 - Moves examples into `./Examples` and fixes `./Tests` (#4047) 6 mēneši atpakaļ
NativeAot.csproj 4bf19dda7b Fixed release builds 5 6 mēneši atpakaļ
Program.cs b9f55a5a96 Fixes #4410, #4413, #4414, #4415 - `MessageBox` nullable, `Clipboard` refactor, fence for legacy/modern App, and makes internal classes thread safe. (#4411) 2 nedēļas atpakaļ
Publish_linux-x64_Debug.sh da9286d3f4 Fixes #4231. NativeAot project throws when running the published executable (#4232) 3 mēneši atpakaļ
Publish_linux-x64_Release.sh da9286d3f4 Fixes #4231. NativeAot project throws when running the published executable (#4232) 3 mēneši atpakaļ
Publish_osx-x64_Debug.sh da9286d3f4 Fixes #4231. NativeAot project throws when running the published executable (#4232) 3 mēneši atpakaļ
Publish_osx-x64_Release.sh da9286d3f4 Fixes #4231. NativeAot project throws when running the published executable (#4232) 3 mēneši atpakaļ
README.md 7fe6fd9453 Fixes #4046 - Moves examples into `./Examples` and fixes `./Tests` (#4047) 6 mēneši atpakaļ

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.