-
Notifications
You must be signed in to change notification settings - Fork 728
Fixes #3784. SelfContained and NativeAot projects should use the local package in the release mode. #3785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #3784. SelfContained and NativeAot projects should use the local package in the release mode. #3785
Conversation
…e local package in the release mode.
|
@tig I already fixed this issue locally but not yet in the github actions. Can you help me on this please. I don't have experience on this. |
|
Looks like it is currently failing on the windows style local packages?
If this source should only be used locally when checked out? you can remove it in the CI with: What is the goal of this PR? To build a nuget package of Terminal.Gui in Release configuration to a directory and have the other two projects reference it? |
Yes, only for the two projects that use the nuget package. It's to prevent, when the latest nuget version has significant changes, like now, to avoid the fail of these two projects at compile time, locally and in the github CI. |
|
Was this already merged in another PR? it looks quite broken... I would: Firstly move the You may need to change the paths e.g. to Pack only Terminal.Gui: Remove the reference in the csproj files and add a new one to the Terminal.Gui in the local packages dir Or since at the moment its a project reference you might need |
|
The main problem is that the nuget restore is always run first. See NuGet/Home#6746, it seems that it's not possible to use nuget.config per project which respect his configuration, only the one of the solution will be used. |
|
The closest one to the code is used I think so if you move it to subdirectory it will be used. Basically when you are |
Yes I know, but normally Note: I did a cherry-pick of this commit d77b899 in this PR. |
|
Here is a first pass https://github.com/BDisp/Terminal.Gui/pull/200/files |
I can't merge it. When you have sure it work mark as ready for review, please. Thanks. |
|
I think I found a simpler solution for this. We cannot avoid the |
|
Is this ready or not? |
Yes it's. |
|
If you don't mind it will useful to merge this to avoid all the CI errors. Thanks. |
|
@BDisp Release build is still failing |
Solution here #3790 (comment). |

Fixes
Proposed Changes/Todos
Pull Request checklist:
CTRL-K-Dto automatically reformat your files before committing.dotnet testbefore commit///style comments)