* Fixes#3784. SelfContained and NativeAot projects should use the local package in the release mode.
* Run dotnet restore before build.
* Using local_packages folder for CI.
* Add build_release_consumer.
* Remove build_release_consumer.
* Fix folder for CI.
* Fix System.Text.Json vulnerability.
* Fix local_packageslocation.
* Add package sources to the packageSourceMapping tag.
* Using the original configuration.
* Only add the Terminal.Gui pattern in the LocalPackages.
* Fix the path folder separator with unit style.
* Using pack instead of build.
* Create LocalPackages Directory
* Add local_packages source.
* Using scripts to build release for NativeAot and SelfContained.
* Trying to fix path.
* Again.
* Fix the path for the package,
* Need to build before pack.
* Needs also build before pack locally.
* Fix build path.
* Add a native AOT project.
* Fixes Text.Json to work with native AOT.
* Fix silent errors on unit tests when testing the Red color which has a length of 3.
* Allowing test custom configuration without the config.json file match the unit tests configurations.
* Fix unit test if tested alone.
* Add native project into solution.
* Fix merge errors.
* Setting ConfigurationManager.ThrowOnJsonErrors as true to throw any serialization issue when published file runs.
* Remove unnecessary using's.
* Added unit test to ensure all serialization is properly configured.
* Fix warnings.
* Remove ThrowOnJsonErrors.
* Fix warnings.
---------
Co-authored-by: Tig <tig@users.noreply.github.com>