-
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
Use MSBuild Static Graph to evaluate projects #3109
Conversation
/cc @AndyGerlicher |
8dbe2e1
to
a545ae2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't finished reviewing this but posting comments so far anyway. Some may be outdated.
src/NuGet.Core/NuGet.Build.Tasks.Console/DependencyGraphSpecGenerator.cs
Outdated
Show resolved
Hide resolved
src/NuGet.Core/NuGet.Build.Tasks.Console/DependencyGraphSpecGenerator.cs
Outdated
Show resolved
Hide resolved
src/NuGet.Core/NuGet.Build.Tasks.Console/DependencyGraphSpecGenerator.cs
Outdated
Show resolved
Hide resolved
src/NuGet.Core/NuGet.Build.Tasks.Console/DependencyGraphSpecGenerator.cs
Outdated
Show resolved
Hide resolved
src/NuGet.Core/NuGet.Build.Tasks.Console/DependencyGraphSpecGenerator.cs
Outdated
Show resolved
Hide resolved
src/NuGet.Core/NuGet.Build.Tasks.Console/DependencyGraphSpecGenerator.cs
Outdated
Show resolved
Hide resolved
src/NuGet.Core/NuGet.Build.Tasks.Console/DependencyGraphSpecGenerator.cs
Outdated
Show resolved
Hide resolved
src/NuGet.Core/NuGet.Build.Tasks.Console/DependencyGraphSpecGenerator.cs
Outdated
Show resolved
Hide resolved
src/NuGet.Core/NuGet.Build.Tasks.Console/DependencyGraphSpecGenerator.cs
Outdated
Show resolved
Hide resolved
0ae9091
to
f444d0c
Compare
1aa1be5
to
f40de95
Compare
This is now ready for a more final review. I have merged a few changes to reduce code duplication and have updated setup logic so that the new EXE is distributed in the VSIX. I'll need to rebase this on Kat's change that adds support for packages.config and then I'll have a final review. |
f40de95
to
d1ca51e
Compare
d1ca51e
to
44ec9ba
Compare
@nkolev92 CI appears to be broken again, how can I get a green build? |
#3184 should fix the most common Apex & E2E test failures. It was merged a few hours ago, so please rebase and try again. |
This change adopts Static Graph to speed up command-line based restores. There is a new EXE that does the evaluation and restore out of proc so that server GC can be enabled.
b46ffd3
to
3b45e06
Compare
This is a follow-up to NuGet#3109
@jeffkl I was trying to use RestoreTaskEx but in my sdk (5.0.100-preview.2.20155.14) the
Am I missing something here? cc @nkolev92 |
OK found NuGet/Home#9267. Still we should follow-up why errors aren't propagated. |
@ViktorHofer Hey, can you please file an issue for the error propagation? |
Sure: NuGet/Home#9282 |
Bug
Fixes: NuGet/Home#8791
Regression: No
Fix
Details: This change adopts Static Graph to speed up command-line based restores. There is a new EXE that does the evaluation and restore out of proc so that server GC can be enabled. The feature is off by default and users must set a property to enable it.
Testing/Validation
Tests Added: Yes/No
Reason for not adding tests:
Validation: