-
Notifications
You must be signed in to change notification settings - Fork 689
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
Build NuGet from the VMR #5749
Build NuGet from the VMR #5749
Conversation
A bit more verification to do here. |
@@ -6,6 +6,7 @@ | |||
<Description>Implementation of the NuGet.VisualStudio extensibility APIs.</Description> | |||
<Guid>9623cf30-192c-4864-b419-29649169ae30</Guid> | |||
<ImportedFromTypeLib>NuGet.VisualStudio.Implementation</ImportedFromTypeLib> |
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'm confused as to why we need all these.
Aren't the projects scoped down differently?
I think we can probably solve this in a different file where it affects all projects in the src/NuGet.Clients subfolder.
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 can probably make that change myself, if you prefer not add more complications in this PR.
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.
The issue is that these projects don't build properly in the VMR in non-source-only modes. I think typically in non-Windows cases. The goal is to exclude as little as possible from the default repo build in VMR modes. This is the only case of this. The rest of the Exclude* are just changing the source-only exclusion property to match the new name.
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 noticed the prop change, I was more thinking that we shouldn't have to mark each individual project, since source build only cares about nuget.core projects with the exception of NuGet.PackageManagement, so there should be easier ways to do this (example, directory.build.props).
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.
Generally, we've tried to avoid proactively trimming down the set of projects to build, especially in non-source-only modes. My view is that the repo should mostly work 'stock', and we should avoid removing extras if not necessary.
If you want to stop building more projects, that's fine, but I think it's probably good that we only exclude 3 projects.
@nkolev92 It looks like the test failures are unrelated |
retriggered again. |
Bug
N/A
Description
Changes to enable building of NuGet in the VMR in the windows and Linux builds (in non-source-only modes). Highlights:
PR Checklist
PR has a meaningful title
PR has a linked issue.
Described changes
Tests
Documentation