9 Commits
Author SHA1 Message Date
Nikolche Kolev c8a073c36c Simplify ProjectFileUtils.AddItem overloads (#7378) 2026-05-11 08:58:08 -07:00
Andy Zivkovic ba112de7ee Make nullable enabled by default across entire repo (#6960) 2025-11-20 21:13:26 +10:30
Kartheek Penagamuri 76148aa8c6 remove unused usings and sort existing ones (#5971) 2024-08-20 21:20:27 +00:00
Kat Marchán 65abcc61f7 automatic formatting (#3587)
Fixes: https://github.com/NuGet/Client.Engineering/issues/487
2020-08-26 15:08:11 -07:00
AbdallahAbuHashem 7ca842c438 list package tests (#2413) 2018-11-12 15:10:46 -08:00
Rohit Agrawal e6ae38cd1f add warning codes with nowarn support for pack (#2013)
* move package analysis rules to nuget.packaging

* add a empty pack collector logger

* refactor code  for warning properties and getnugetlogcodes

* allow warning properties to be read in all code paths

* implement pack collector logger

* convert all package issues to log messages and add warning codes

* add error/warning codes to nuget.exe code path and fix msbuildlogger to handle packlogmessage

* fix dotnet.exe and nuspec codepaths

* fix test failures

* update validate api to use packagearchivereader instead of packagebuilder

* fix unit tests by not doing package analysis

* add tests and a warning fix
2018-02-13 16:59:19 -08:00
Justin Emgarten 1b521c2bb9 Add RestoreAdditionalProjectFallbackFoldersExcludes project property support
Additional sources and fallback folders are added conditionally on TargetFramework, to collect those values the following properties will now be read from the inner build
* RestoreAdditionalProjectSources
* RestoreAdditionalProjectFallbackFolders
* RestoreAdditionalProjectFallbackFoldersExcludes

RestoreAdditionalProjectFallbackFoldersExcludes is a new property added in this change, it will remove values from RestoreAdditionalProjectFallbackFolders.

Fixes https://github.com/NuGet/Home/issues/5596
2017-07-21 17:48:58 -07:00
Justin Emgarten c282092fc5 De-duplicate strings for v2 and v3 feed parsers
Merging into the migrated 4.3.0 branch, original changes are from @scottbommarito

Creates a `MetadataReferenceCache` class. It caches references to `string`s and `NuGetVersion`s and can be used to replace duplicate values in our metadata models. The cache only lives for a short amount of time--a single request--so it does not take up significant amounts of memory itself.

Also added a couple fields to particular models.
- `V2FeedPackageInfo` and `PackageSearchMetadataV2Feed` now have `Created` and `LastEdited`, which are exposed in the feed.
- `PackageSearchMetadataRegistration` is a subclass of `PackageSearchMetadata` that contains a `CatalogUri` and is returned by `PackageMetadataResourceV3`.
2017-04-10 18:20:43 -07:00
Justin Emgarten 7c5404ba65 Merging test utilities into Test.Utility
Merging all test utilities together. Test.Utility is now a common layer that all tests can use that sits between the product projects and test projects.
2017-03-30 18:03:12 -07:00