Files
Terminal.Gui/nuget.config
BDisp 9c6a3058d4 Fixes #3784. SelfContained and NativeAot projects should use the local package in the release mode. (#3785)
* 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.
2024-10-10 19:31:55 -06:00

23 lines
694 B
XML

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<config>
<add key="defaultPushSource" value="https://api.nuget.org/v3/index.json" />
</config>
<packageSources>
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
<clear />
<add key="nuget" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="LocalPackages" value="./local_packages" />
</packageSources>
<packageSourceMapping>
<packageSource key="nuget">
<package pattern="*" />
</packageSource>
<packageSource key="LocalPackages">
<package pattern="Terminal.Gui*" />
</packageSource>
</packageSourceMapping>
</configuration>