5 Commits
Author SHA1 Message Date
Nikolche Kolev 935b1d2f5b Infer the framework using the TargetPlatformMoniker instead of TPI and TPV, GetReferenceNearestTargetFrameworkTask now handles P2P frameworks with platforms, Add a LockFile.GetTarget utility for aliases (#3578) 2020-08-18 11:30:01 -07:00
Nikolche Kolev bdc2790261 Add support for reading the PackageDownload items (#2694)
* the targets now read the package download items similar to the PackageReference items
2019-03-20 12:03:23 -07: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