-
Notifications
You must be signed in to change notification settings - Fork 701
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
Onboard to central package management in NuGet.Client repo #4899
Conversation
10df9ec
to
306c062
Compare
306c062
to
470ccc1
Compare
470ccc1
to
0f03c55
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 don't like the "enumerate every dependency of package X and add a <PackageReference Inlcude="x" ExcludeAssets="all" />
as an alternative to <PackageDownload
. But everything else is opinionated, so if others approve I won't complain if it gets merged as is.
...Get.Clients/NuGet.PackageManagement.VisualStudio/NuGet.PackageManagement.VisualStudio.csproj
Outdated
Show resolved
Hide resolved
src/NuGet.Clients/NuGet.VisualStudio.Implementation/NuGet.VisualStudio.Implementation.csproj
Show resolved
Hide resolved
test/NuGet.Core.FuncTests/NuGet.XPlat.FuncTest/NuGet.XPlat.FuncTest.csproj
Show resolved
Hide resolved
test/TestExtensions/GenerateLicenseList/GenerateLicenseList.csproj
Outdated
Show resolved
Hide resolved
</ItemGroup> | ||
|
||
<ItemGroup Condition=" '$(UsePublicApiAnalyzer)' == 'true' "> | ||
<GlobalPackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="$(MicrosoftCodeAnalysisPublicApiAnalyzersVersion)" /> |
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.
We probably need to wait to merge this until we know 100% all the CIs have 17.4.
We should also update our requirements section for building the repo.
0f03c55
to
3da1776
Compare
I forgot about the comment about changing the repo readme.md or contribution.md to mention minimum VS version numbers required to build the repo
3da1776
to
08bbf09
Compare
Good idea, I have updated the |
Bug
Fixes: https://github.com/NuGet/Client.Engineering/issues/1969
Regression? Last working version:
Description
git mv
onpackages.targets
but I changed too much of the contents so it looks like a delete/add 😢Directory.Packages.props
GlobalPackageReference
items forPackageReference
items that were in common imports<PackageReference />
instead of<PackageDownload />
since CPM doesn't support PackageDownload. This brought in new dependencies which weren't being pulled in before so I had to resolve all of the conflicts with a few new package versions and/orPrivateAssets
/ExcludeAssets
.GeneratePathProperty
in a few placesproject.json
inTest.Utility
since I think they were removed from newer versions ofMicrosoft.VisualStudio.ProjectSystem.Managed
. They are just usingComImport
so it should be okay.Directory.Packages.props
to the.test
folderPR Checklist
PR has a meaningful title
PR has a linked issue.
Described changes
Tests
Documentation