116 Commits
Author SHA1 Message Date
Andy Zivkovic 76212731a9 Migrate E2E dependency version tests to Apex (#7662) 2026-08-29 11:19:36 +09:30
Nikolche Kolev 7c22394ec1 Test dotnet integration with current and next SDKs (#7423) 2026-06-09 11:39:13 -07:00
Nikolche Kolev c8a073c36c Simplify ProjectFileUtils.AddItem overloads (#7378) 2026-05-11 08:58:08 -07:00
Jan Jones d070eb6666 Add support for file-based apps to the XPlat CLI (#7169) 2026-03-25 12:34:03 -07:00
Nikolche Kolev 9373d6b7fe Add package and update package treat --framework as aliases correctly for aliased projects (#7130) 2026-02-17 13:22:15 -08:00
Jeff Kluge cc8f616db8 Fix false error for transitively pinned dependency with no version (#7004) 2025-12-12 21:35:31 +00:00
Nikolche Kolev af9df1d886 LockFile.GetTarget now uses LockFileTarget aliases to match the target, remove more project.json usage, simplify SpecValidationUtility API (#6992) 2025-12-10 08:09:45 -08:00
Andy Zivkovic ba112de7ee Make nullable enabled by default across entire repo (#6960) 2025-11-20 21:13:26 +10:30
Simon Cropp 451f81e791 Remove un used parameters (#6719) 2025-09-30 16:41:17 -07:00
Simon Cropp 579b09a035 Avoid the perf hit of using linq .Count() (#6716) 2025-09-30 15:56:57 -07:00
M Hickford f6511c9db8 Use audit sources consistently in nuget.exe restore and nuget.exe install commands (#6475) 2025-09-18 16:41:41 -07:00
Nikolche Kolev 544bf8be42 Remove the 3rd framework from all projects, target .NET 9.0 as the only .NET Core framework. (#6703) 2025-08-14 09:47:59 -07:00
Nikolche Kolev 9f2f7f24da Account for project and package reference with the same name when adding a package reference (#6660) 2025-08-01 17:08:53 +00:00
Nikolche Kolev 139771d57f PrunePackageReference improvements - Pack applies PrivateAssets=all to prunable direct references (#6540) 2025-07-10 19:41:07 -07:00
Nikolche Kolev 3323878758 Make PackageSourceMapping key matching case agnostic (#6476) 2025-06-02 08:41:14 -07:00
Nigusu Solomon Yenework 4ca8e7e642 Update dotnet list package to read solutions outside of CWD (#6391) 2025-04-16 17:17:07 -07:00
Nikolche Kolev df6d633da4 Improve build integrated tests (#6378) 2025-04-11 09:12:08 -07:00
Nikolche Kolev ad6033bef7 Consolidate tests to PackageReference (#6335) 2025-03-25 16:09:02 -07:00
Nikolche Kolev 652730141e Migrate RestoreRetryTests, fix up test utilities as well (#6332) 2025-03-20 22:19:15 +00:00
Jeff Kluge 86bcc5fee1 Use .NET SDK 9.0.2xx to build repository and .NET SDK 9.0.3xx for integration tests (#6285) 2025-02-27 10:18:17 -08:00
Chet Husk 20096abd28 Use new serializer library to parse solution files (#6219) 2025-01-24 11:44:05 -08:00
Nikolche KolevandSimon Cropp d762526b40 Simplify Linq expressions and enable the IDE0120 rule (#6214)
Co-authored-by: Simon Cropp <simon.cropp@gmail.com>
2025-01-14 14:23:59 -08:00
Todd Grunke 15691b7351 Attempt to move several data structures to be immutable (#5930) 2024-10-17 12:31:15 -07:00
Andy Zivkovic b8efbf37ba Move signed package testing utils to new package (#6100) 2024-10-17 22:03:36 +10:30
Andy Zivkovic db35f736d6 return counts from RestoreTask for PackageReference projects (#6049) 2024-10-02 07:28:45 +09:30
Nikolche Kolev db124df742 Fix reporting of downgrades for dependencies with VersionRange.All (#6045) 2024-09-23 22:19:38 +00:00
Jonatan GonzalezandAndy Zivkovic c8dccb7126 Enable GenerateDocumentationFile (#6000)
Enable GenerateDocumentationFile, allowing for IDE0005 to be caught during builds. Cleaned up unnecessary using statements. 

Co-authored-by: Andy Zivkovic <zivkan@users.noreply.github.com>
2024-09-09 12:05:32 -07:00
Kartheek Penagamuri 76148aa8c6 remove unused usings and sort existing ones (#5971) 2024-08-20 21:20:27 +00:00
SueSu01 a7d5d020e6 Add different project templates to existing test cases. (#5958)
* add tests

* Change tests name

* change project template

* add tests for website
2024-08-15 10:24:29 +08:00
Nigusu Solomon Yenework 363453e2ad deprecate non https sources: Promote warning to Error (#5899)
deprecate non https sources: Promote warning to Error (#5899)
2024-07-09 10:10:28 -07:00
Nigusu Solomon Yenework 5191db788a Revert "deprecate non https sources: Promote warning to Error (#5858)" (#5864)
This reverts commit 66161fc472.
2024-06-18 17:52:09 -07:00
Nigusu Solomon Yenework 66161fc472 deprecate non https sources: Promote warning to Error (#5858)
* Deprecate http usage: `nuget search` promote warning to error for http sources (#5693)

* Deprecate http usage: `nuget list` promote warning to error for http sources (#5698)

* Deprecate http usage: `nuget push` promote warning to error for http sources (#5705)

* Deprecate http usage: `delete` operations, promote warning to error for http sources (#5703)

* Add `allowinsecureconnections` option (#5742)

* remove integration test for now (#5758)

* Deprecate http: Promote from warning to error in VS Options NuGet Package Manager (#5732)

* Deprecate http usage: `source` commands, promote warning to error for http sources (#5702)

* Deprecate http usage: `restore` scenarios promote warning to error for http sources (#5731)

* use `--allow-insecure-connections` for dotnet nuget add command (#5853)

* tests

* clean up

* clean up

* white space

* tests

* comment
2024-06-18 10:17:52 -07:00
Nigusu Solomon Yenework ca13cf0a28 Allow HTTPS sources that have SSL certificate problems (#5674) 2024-04-04 08:54:48 -07:00
Nigusu Solomon Yenework 5789cc8f9c Revert "Deprecate http usage: nuget list promote warning to error for http …" (#5696) 2024-03-19 10:14:16 -07:00
Nigusu Solomon Yenework 8077c92772 Deprecate http usage: nuget list promote warning to error for http sources (#5694) 2024-03-18 21:25:34 -07:00
Nikolche Kolev 5ecd0be8cb Enable vulnerability checking for packages.config projects during commandline restore (#5639) 2024-02-26 09:49:46 -08:00
CiciLi1 566e2853b8 Add three apex test cases for verify General node in Options window (#5579)
* Add three apex test cases for verify General node in Options window

* Improvement of added test cases

* Fixed Test Failure

* Rmove unnecessary comment and verify the existence of the directory separately.

* Remove unnecessary validation.
2024-01-19 09:44:16 +08:00
Kartheek Penagamuri c13cea4dfd dotnet list package prompts only once for authentication even though there are multiple projects in a solution (#5571) 2024-01-11 11:51:54 -08:00
Donnie Goodson 6af47d6bf6 Transitive dependencies in GPF are automatically source mapped by actions in PM UI (#5459) 2023-10-27 08:20:31 -07:00
Heng Liu 15389cd2f3 Optout http warnings by setting allowInsecureConnections in settings (#5411) 2023-09-12 13:12:32 -07:00
Donnie Goodson 4499a40459 Test architecture improvements, flakiness reduction, and VSSDKTestFx adoption (#4994) 2023-01-17 13:01:16 -08:00
Andy Zivkovic 8477136805 Make ConfigurationDefaults.cs thread safe (#4937) 2022-11-23 11:01:34 +10:30
Jeff Kluge afacc4cfc7 Fix Apex tests running locally (#4930) 2022-11-16 16:41:12 -08:00
Nikolche Kolev aad349b574 Remove NuGet.Core from the NuGet.Commandline.Test (#4577) 2022-04-19 10:06:53 -07:00
Fernando Aguilar a7572c4cec Adds local package source to failing tests in NuGetPackageManagerTests (#4561)
Fixes https://github.com/NuGet/Home/issues/11739 ; added async prefix to tests:
- TestPacManPreviewUpdate_AllowedVersionsConstraint_RestrictHighestVersionAsync
- TestPacManPreviewUpdateWithAllowedVersionsConstraintAsync
2022-04-12 19:49:42 -07:00
Nikolche Kolev 1b3c993538 Cache assets file in the project context(#4525) 2022-03-30 17:58:34 -07:00
Nikolche Kolev 52dd383ae0 Restore errors gracefully when a source is inaccessible - Emit an error with an error code when a source is missing. (#4480) 2022-03-07 11:54:19 -08:00
Jeff Kluge 71424bcf70 Add ability to override centrally defined package version (#4426) 2022-02-28 15:02:11 -08:00
Erick Yondon 0e5d9bd683 Make verify command consider default nuget.config file and nuget.config option (#4396)
* Add nuget.config file option for dotnet nuget verify

* dotnet/nuget verify reads NuGet.Config file >> trusted-signers list
2022-01-26 08:11:18 -08:00
Nikolche Kolev e4ea3cda78 Ensure tests in NUGet.Commandline.Test and MSBuild.Integration.Test don't rely on the repo root configuration. (#4388) 2022-01-10 11:25:23 -08:00