28 Commits
Author SHA1 Message Date
Nigusu Solomon Yenework c07a9b951a Replace JObject with object for Message.Payload (#7376) 2026-05-14 00:34:03 +00:00
Andy Zivkovic ba112de7ee Make nullable enabled by default across entire repo (#6960) 2025-11-20 21:13:26 +10:30
Nikolche Kolev b0972c13f4 Stop testing against netcoreapp3.1, which is long deprecated (#6498) 2025-06-12 11:18:04 -07:00
Viktor Hofer a1b403cde8 Update dependencies and remove unused runtime dependencies (#6270)
- Update Microsoft.CSharp to 4.7.0 to avoid transitive netstandard1.x dependencies
- For the same reason, update the Microsoft.Build version when building source-only.
- Remove obsolete dependencies (that aren't necessary to target and which get flagged by NuGet's package pruning feature) from TestablePlugin.csproj and Directory.Packages.props
2025-02-20 22:35:28 +00:00
Jeff Kluge 1501b1a46d Update frameworks for unit and functional tests (#5735) 2024-04-04 09:48:34 -07:00
Drew Noakes 77d0b0f78a Don't allocate as many Task instances (#5242) 2023-06-21 13:00:26 -07:00
Nikolche Kolev 84db165118 Remove NU1505 suppression from projects that don't need it (#5123) 2023-04-03 19:54:52 -07:00
Martin Ruiz 45751f8559 CA2016 Forward CancellationToken to methods that take one (#4944)
* CA2016 forward CancellationToken to methods that take one warning
2022-12-12 10:06:21 -08:00
Nikolche Kolev 5ce62f9774 Remove custom property usage for ProjectReference from all NuGet projects, simplify dependencies where appropriate (#4960) 2022-12-02 13:57:56 -08:00
Jeff Kluge 2407dd2541 Use Directory.Build.props/targets/rsp in NuGet.Client repo (#4880) 2022-11-09 09:37:10 -08:00
Fernando Aguilar f90b3243a2 Removes duplicated Moq PackageReference in test project (#4559)
* Removes duplicated Moq PackageRefernce in N.PM.UI.Test project

* Added NU1505 to NoWarn

* More nowarn
2022-04-13 16:47:42 -07:00
Heng Liu 5436dba7e3 Add embeded readme.md file for NuGet packages. (#4476) 2022-03-22 11:39:00 -07:00
erdem 2924f14b84 Make EnsurePackageReferenceVersions target runs for TestablePlugin.csproj (#4176)
* Fix EnsurePackageReferenceVersions targets are skipped.
2021-08-06 12:14:21 -07:00
Fernando Aguilar b29018f5fb Addresses wording issues from 16.10 assessment (#4069)
Address PoliCheck issues raised during assessment. See https://github.com/NuGet/Client.Engineering/issues/972
2021-05-21 20:15:54 -07:00
Damon Tivel c219b612c2 Update Visual Studio SDK to 16.9.x (#3792)
Resolve https://github.com/nuget/home/issues/10297
2021-01-05 07:11:41 -08: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
Fernando Aguilar e1fb834826 Makes TestablePlugin runtime-independent (#3604)
Fixes https://github.com/NuGet/Home/issues/9931
2020-08-24 16:11:23 -07:00
heng-liu 91084d0734 Refactoring xplat verification changes to address the unfinished comments (#3571)
Refactoring xplat verification changes to address the unfinished comments (#3571)
2020-08-11 09:46:37 -07:00
Fernando Aguilar 90ad7af83a Applies all patches from dotnet/source-build for 5.0 (#3511)
Fixes https://github.com/NuGet/Client.Engineering/issues/384
2020-07-14 18:10:36 -07:00
Theodore Tsirpanis abce9cb2ae Remove unnecessary NuGet package references. (#3449) 2020-07-13 16:22:14 -07:00
784274cc9b Enable cross-platform package signature verification for restore (#3458)
* Signing: Support signature verification on .NET Core

Remove 2nd N.B.T.P package (#2984)

remove WorkaroundNetStandard target, change SDK for build from 3.0 preview to 3.1 stable (#3161)

* remove WorkaroundNetStandard target, change SDK for build from 3.0 preview to 3.1 stable version, fix error; change LockSDKVersion default value from empty string to false; apply Linux workaround in my change

Retarget to netcore5.0 (#3162)

* retarget to netcore5.0;  Linux script workaround need to apply for downloading SDK for build

add pkcs and cng packages

Temporary fix on patching SDK, add System.Security.Cryptography.Pkcs.dll and update deps.json, use dll from .nuget/packages

Address PR comments

implement add cert to store on Mac; display openssl version (#3166)

Implement timestamp integrity verification; Implement an equivalent NativeCms; enable signing APIs and tests (#3168)

* implement timestamp integrity verification; implement ManagedCms; enable signing APIs and tests

fix xplat verification branch after rebase (#3191)

Fixes: https://github.com/NuGet/Home/issues/9012

check different cross-platform error messages for self-signed cert test (#3208)

Fixes: https://github.com/NuGet/Home/issues/8933

Xplat Signing/Verification : Fix broken tests for setting privatekey of a X509Certificate2 (#3195)

use workaround to set private key for X509Certificate2 (netcore), change ToRSA to workaround for netcore(especially for non-windows)

enable PathTooLongException test (#3216)

Fixes: https://github.com/NuGet/Home/issues/8920

enable TrustedSignerActionsProvider on netcore, along with tests (#3213)

Fixes: https://github.com/NuGet/Home/issues/8921

Enable SignedPackageIntegrityVerificationTests for netcore5.0 (#3220)

Enable SignedPackageIntegrityVerificationTests for netcore, remove extra preprocessors

Enable timestamp provider test and fix 3 broken tests (#3210)

enable all unit tests; enable 8 more tests; enable timestampProviderTest; fix 3 broken tests in TimestampProviderTests

Fix 4 tests in SignatureTrustAndValidityVerificationProviderTests (#3242)

fix untrusted msg for different platforms

fixed broken tests using utility methods (#3263)

disable outdated tests (#3274)

enable 4 tests on Mac (#3275)

fix 5 broken tests in SignatureTrustAndValidityVerificationProviderTests, add workaround for Linux (#3252)

fix broken test case ExecuteCommandAsync_WithAmbiguousMatch_ThrowsAsync (#3291)

* Enable test ExecuteCommandAsync_WithMultiplePackagesAndInvalidCertificate_RaisesErrorsOnceAsync (#3342)

* enable a test, change the comments; extend test limitation on Linux

* Updated SDK version and removed the hardcoded version when reading from JSON file (#3372)

* update Pkcs package to the preview3 version (#3382)

* fix 2 warnings in CodeAnalysis (#3388)

* fix 2 warnings in CodeAnalysis

* disable dynamic revoke tests on Mac (#3373)

* fix 1 test (#3371)

* Fix more warnings reported by CodeAnalysis (#3393)

* fix string warnings raised by CodeAnalysis

* Retarget xplat verification to netcoreapp5.0 (#3386)

* retarget netcoreapp5.0 (a workaround for net5.0)

* fix all the rest warnings raised by code analysis (#3401)

* Suppress CA1307 warning for string.GetHashCode() method (#3404)

* Linux test failure due to generic exception (#3405)

* add TFM netcoreapp5.0 to N.B.T.Console and N.P.Core projects (#3419)

* add TFM netcoreapp5.0 to N.B.T.Console and N.P.Core projects

* add PIN prompt for netcore (#3389)

* Run dotnet nuget tests on multiple TFMs (#3387)

* enabled mac assertions

* Revert "enabled mac assertions"

This reverts commit d8a52e20c204720f106eaf116d1895f68b557d56.

* Enable test GetCertificateChain_WithUntrustedRoot_Throws on Mac (#3428)

* run signing integration tests cross plat (#3415)

* added GetNonce() to IRfc3161TimestampRequest interface (#3427)

* disable test for netcore (#3445)

* log Status and StatusInformation, fix 2 tests (#3268)

* Disable verification during extraction for Mono, disable a test on Mono (#3451)

* disable verification during extraction on mono,disable a mono test on Mac

* adapt 2 newly added dotnet integration tests for multiple TFMs (#3460)

* remove useless Sdk2x.targets

* get TimestampTests working again (#3218)

* get TimestampTests working again

Fixes: https://github.com/NuGet/Home/issues/8935

* change GetTimestampAsync into internal

* fix runFuncTests.sh and InstallCLIforBuild.sh

* address feedback

* upgrade dotnet 5 to preview4 as preview5 is broken

* Fix exception thrown in SigningTestFixture during disposing (#3464)

Co-authored-by: Kartheek Penagamuri <52756182+kartheekp-ms@users.noreply.github.com>
Co-authored-by: Andy Zivkovic <zivkan@users.noreply.github.com>
Co-authored-by: Kat Marchán <kzm@zkat.tech>
2020-06-20 12:23:29 -07:00
Nikolche Kolev 71b317e139 Add descriptions for every project (#3289) 2020-03-23 17:03:08 -07:00
Damon Tivel 9ae6dcb23b Plugins: improve error message when plugin start fails (#2907)
Fix https://github.com/NuGet/Home/issues/8271.
2019-07-01 15:57:59 -07:00
Nikolche Kolev 175cc81641 Cleanup dependency graph, remove NU1605 warnings (#2674) 2019-01-11 16:33:51 -08:00
Nikolche Kolev d89d1a12c4 Define target frameworks/project locations in the common props/targets rather than the csproj itself (#2533)
* extract most of the target framework defintions out of the csproj

* remove every target framework mention from the sdk based csproj

* Move old style csprojes to use the projectversion too

* use better variable names

* use the nugetcoresrc and nugetclientssrc variables
2018-11-18 17:33:17 -08:00
Nikolche Kolev 5aaced85e5 Make sure that BaseIntermediateOutputPath/MSbuildProjectExtensionsPath is modified before the SDK.props imports (#2157) 2018-04-12 16:32:20 -07:00
Damon Tivel cd8ce02aa2 Fix request cancellation for plugins (#1440) 2017-06-02 13:02:01 -07:00
Damon Tivel 870340673b Enable plugin package download (#1387)
* Add plugin IPC and discovery

* Update timeout defaults to match spec

* Use PluginUtilities in functional test

* Fix tests for other platforms

* Fix NuGet.Protocol functional tests on non-Windows platforms

* Fix and add functional tests

* Add tests

* Apply review feedback and minor fixes

* Fix test and improve fast path for plugin discovery

* Fix unit test failure

* Remove unused field

* Apply verbal review feedback

* Improve MessageDispatcher tests

* Fix MessageDispatcher tests

* Fix ConnectionOptions test

* Fix ConcurrentDictionary<T,U>.GetOrAdd(...) calls

* Simplify UTF8 handling

* Fix test name

* Enable plugin package download

* Fix issue where a plugin was not queried for operation claims for each package source

* Fix plugin package download in dotnet.exe.

* Fix plugin package install, get credentials in multifeed environment, and add get service index request/response.

* Change AutomaticProgressReporter to accept a connection

* Apply review feedback.
2017-05-27 06:47:29 -07:00