-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Add property to disable building all libs packages #46092
Conversation
Tagging subscribers to this area: @safern, @ViktorHofer Issue DetailsContributes towards: dotnet/runtimelab#465 There are certain experiments in cc: @jkotas
|
Why would this project then even be invoked if it doesn't do anything? |
It is the simplest way to flip the switch, other than removing |
Removing libs.packages from the default subsets would be the right thing to avoid the unnecessary restore, evaluation and build of libraries-packages.proj. That should just be a one line change in Subsets.props. |
Especially the restore can be significant because of the project restoring the to be harvested packages as well. |
That complicates things. There are experiments that want to build 1 OOB package, but not other packages. There are some experiments that want to build, framework packages but not OOB packages. There are experiments that want to build no libraries packages at all. These are just experiments, so I think the simplest for all kind of experiments the better, having both switches in the same place is in my opinion the easiest way to communicate, rather than having to change different files and things based on the needs of the experiment. I was going to go with removing the |
We could disable the harvesting if we're not building packages at all. |
With @Anipik's change #45564 you can specify In regards to experiments:
|
Ok, then I'll wait for @Anipik's change to go in. In the meantime I'll just merge this in runtimelab in the experiments that are building extra packages and causing the publish issue to unblock the official build. |
Sounds good 👍 thanks for fixing this so promptly |
Contributes towards: dotnet/runtimelab#465
There are certain experiments in
dotnet/runtimelab
that don't need to build any libraries packages, we currently only offered a hook to disabled OOB packages.cc: @jkotas