-
Notifications
You must be signed in to change notification settings - Fork 694
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
Target net8.0 for source-build #5193
Conversation
@NikolaMilosavljevic - do you know why the net7.0 related prebuilts were not showing up in #5190? |
I don't know - #5190 has all the prebuilts that were restored as part of source-build. Investigating... |
@MichaelSimons which 7.0 specific prebuilts were we expecting to see in #5190? |
Not certain but I am thinking the following:
|
I'm pretty certain that these are resolved from the restored SDK, using |
Agreed. Ideally we would be able to detect these. The arcade prebuilt infra does. I see this as being outside the scope of this PR regardless. |
I think it would be good to create a source-build patch and PR so that the changes can be validated in the context of the full product build to ensure the prebuilts have been resolved. |
Yes, working on it. |
I'm a bit confused about all the conversation that's been going on here. I think it's orthogonal to this PR and the conversation could have been elsewhere (but something in this PR triggered the question). Or is the conversation about something that should block the PR, so we shouldn't merge it yet? |
The question is why the source-build repo level prebuilt detection didn't report the .NET 7.0 targeting packages. The answer is because NuGet.Client does not utilize Arcade so the prebuilt detection infra is not as good. This is an orthogonal issue that should not block this PR. Please merge when appropriate. |
Let's hold off with merge until we understand if additional change is needed. We are running this same change in full source-build, as part of dotnet/installer#16541. There is an error about obsolete API when compiling with Preview 4 SDK. |
I've created an issue to track this in I am adding a workaround for full source-build: dotnet/installer@3191211 |
f7bcbe5
to
5ed46e7
Compare
Tried to rebase with 'close/reopen' but that doesn't seem to work in this repo. @jeffkl I've pushed the rebased changes. |
Bug
Fixes: NuGet/Home#12620
Regression? No
Description
NuGet.Client needs to target net8.0 for source-build in order to eliminate all prebuilts. Source-build must build the complete dependency graph with no external dependencies. We don't allow targeting net7 or (n-1) as is would require building all of .NET 7.0 from source which would snowball.