81 Commits
Author SHA1 Message Date
Andy Zivkovic 89e1fe0f53 Fix vsix version on CI builds (#7739) 2026-09-30 07:14:40 +09:30
Andy Zivkovic faffb58afb Use 1ES OutputParentDirectory to reduce scanning tasks (#7023) 2026-01-07 09:10:31 +10:30
12d406ee96 Move NuGet to xliff-tasks (#6539)
Moves NuGet to use Xliff tasks. This is a big change:
- Onboard to use the xliff task package instead of lcl, and generate xliff files
- Update projects to use on-the-fly satellite generation
- Remove the old submodule containing the legacy localization info
- Move NuGet to use signtool. This removes a ton of complexity in the signing infrastructure.

Validation done:
- CI validation
- Comparison of old packages to new packages. The VSIX's and localization package have been trimmed of a few satellite dlls that had no interesting content. There were no resx files for these projects. There are slight differences in translations. This occurred when the same un-localization string and resource identifier was localized in different ways. Possibly, there was only a single resource string, but the resource ended up in multiple dlls. The differences are subtle. e.g.:

```
        Key: "Manifest_ReferencesHasMixedElements"
          Baseline: "<references> ögesi <group> ve <reference> alt ögelerini birlikte içermemelidir."
          Diff:     "<references> ögesi hem <group> hem de <reference> alt ögesini içermemelidir."
``
---------

Co-authored-by: Christopher Costa <chcosta@microsoft.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>

---------

Co-authored-by: Christopher Costa <chcosta@microsoft.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2025-07-29 16:31:43 -07:00
Donnie Goodson 34f185646e Create NuGetVsVersion in config.props (#5301) 2023-07-07 06:33:37 -07:00
Donnie Goodson 4f976ea2b3 Move Version property to config.props & output to buildinfo.json (#5300) 2023-07-06 18:46:30 -07:00
Jeff Kluge ac6b25abc9 Remove bootstrap.proj (#5164) 2023-05-11 11:05:04 -04:00
Jeff Kluge 886d4675d7 Revert "Remove bootstrap.proj (#5142)" (#5162)
This reverts commit 43b0ec5f0a.
2023-05-09 11:24:41 -04:00
Jeff Kluge 43b0ec5f0a Remove bootstrap.proj (#5142) 2023-05-04 16:03:40 -04:00
Jeff Kluge 9ebbe50f56 Update calls to targets in config.props to account for multiple lines of output (#5075) 2023-03-07 12:16:46 -08:00
Jeff Kluge 84d99ce064 Remove Common and FileSystem submodules (#4931) 2022-11-28 09:39:10 -08:00
Jeff Kluge 2407dd2541 Use Directory.Build.props/targets/rsp in NuGet.Client repo (#4880) 2022-11-09 09:37:10 -08:00
Kartheek Penagamuri 9f4941056c use different Visual Studio bootstrappers for apex/e2e tests and optprof pipeline (#4884) 2022-11-02 13:20:22 -07:00
Andy Zivkovic 9c349a023d Improve ci initialization script (#4692) 2022-06-21 15:24:35 -07:00
Andy Zivkovic 4c6778be63 Try localization resources branch without suffix before default branch (#4624) 2022-05-20 06:44:54 -07:00
Erick Yondon 5ac16d75a5 Revert "Stop using FileSystem and Common submodules (#4536)" (#4595)
This reverts commit cebb690363.
2022-04-27 09:46:07 -07:00
Jeff Kluge cebb690363 Stop using FileSystem and Common submodules (#4536) 2022-04-21 09:32:24 -04:00
Andy Zivkovic 5d04164028 Use VS target version for package version of VS extensibility packages (#4332) 2021-11-19 06:46:10 -08:00
Andy Zivkovic 61713994c3 Run VS E2E tests on Dartlab (#4260) 2021-09-20 16:27:25 -07:00
Andy Zivkovic a6ee9888b6 Fix compiled artifact publishing (#4122) 2021-06-23 16:21:00 -07:00
Andy Zivkovic 3dc7b4d3c2 NuGet.Client builds: Don't use Visual Studio version in bin, obj folder paths (#4109) 2021-06-15 14:12:59 -07:00
Erik De Bonte 9f2da3906b Update to dev17 VSSDK 2021-06-05 04:45:14 -07:00
Andy Zivkovic deefc35755 Save all build artifacts that are copied to file share as pipeline artifact (#3972) 2021-04-01 06:31:52 -07:00
Nikolche Kolev 7463c26de6 Remove the custom SDK download on the CI, use a later version of dotnet.exe in our testing (#3924) 2021-03-02 13:01:05 -08:00
Kartheek Penagamuri 0c74f91ac6 remove fileshare dependency for buildinfo.json (#3856) 2021-01-25 16:10:06 -08:00
Andy Zivkovic 8e4392fd2f Publish "nightly" nupkgs to dnceng public feed (#3742) 2020-10-29 13:06:48 -07:00
Rob Relyea e88a5a03a1 net45 support for nuget.packaging.extraction.dll and transitive closure (#3554)
- new dll - nuget.packaging.extraction.csproj - mostly linked to the subset of code files from nuget.packaging that needed to pull in for compilation.
- use #if net45 and #else as necessary to provide alternate techniques that work on net45.
- built ireadonlycollectionutility to abstract HashSet not supporting IReadOnlyCollection in net4.5
- built marshalutility to abstract generic way, vs earlier way
- ifdef for empty array creation. new way has perf optimizations to share instances.
- worked around net45 localization problem in common.targets, bootstrap.proj and buildvalidator.ps1 -- follow up for proper fix: NuGet/Client.Engineering#459
strategy for fixes.
2020-08-11 07:00:50 -07:00
Fernando Aguilar 0548a79d9a Removes Localization Validation dependency from build share (#3569)
Fixes https://github.com/NuGet/Client.Engineering/issues/396
2020-08-10 09:36:54 -07:00
Nikolche Kolev 02bec1463f Add an Online Environment assembly, basic NuGet menu items & ingest required dependencies (#3300) 2020-03-23 12:57:01 -07:00
Nikolche Kolev f3f21d67d4 Fix the localization validator (#3121) 2019-11-13 16:54:48 -08:00
Fernando Aguilar 52ee9a5a94 Removes packages.config file in NuGet.Client (#3073) 2019-11-05 12:31:09 -08:00
Damon Tivel b68ae11a5a Build: enable OptProfV2 release definition to not have a drop share dependency (#2991)
Progress on https://github.com/NuGet/Home/issues/6007.
2019-08-09 12:20:34 -07:00
Damon Tivel 833d177879 Build: disable select strong name verifications during build by default (#2876)
Fix https://github.com/NuGet/Home/issues/8196.
2019-06-07 09:46:02 -07:00
Nikolche Kolev 057f2ed60c Add automation for inserting into toolset. Add custom logic to allow … (#2868)
* Add automation for inserting into toolset. Add custom logic to allow us to specify alternative paths for 3.0 and later SDK/CLI branches
2019-06-04 11:22:03 -07:00
Fernando Aguilar 5c2db09662 Choose localization branch according to NuGet.Client branch (#2821)
Logic for changing loc branch depending on current branch in NuGet.Client repo
2019-05-20 18:24:29 -07:00
Nikolche Kolev e1f57eb093 Upgrade to the VS2019 agent pools (#2832) 2019-04-29 16:36:10 -07:00
Damon Tivel ce405abea0 Don't hard-code test data package directory. (#2813) 2019-04-20 08:58:48 -07:00
Damon Tivel 05c9af86c1 Fail task on error. (#2812)
Resolve https://github.com/NuGet/Home/issues/7998.
2019-04-20 07:02:55 -07:00
Damon Tivel cef58fa833 Test: remove tools folder from EndToEnd.zip (#2793)
Resolve https://github.com/NuGet/Home/issues/7962.
2019-04-19 13:10:46 -07:00
Damon Tivel 13343151e9 Test: add symbols to EndToEnd.zip (#2761)
Resolve https://github.com/NuGet/Home/issues/7885.
2019-03-18 09:23:29 -07:00
Nikolche Kolev b6cd1677ae Fix the vsix version for the build tools package (#2710)
* add a better version for build tool

* fix the msbuild properties
2019-02-04 11:05:07 -08:00
Nikolche Kolev bb13b10e8a Move cross-plat libraries to .NET Standard 2.0 (#2118)
* Move xplat libraries to netstandard2.0 and netcoreapp2.1

* Update dotnet cli to 2.2.200

* Remove CandidateAssemnblyFiles from RAR search paths
Microsoft.Build.Runtime package has an mscorlib.dll content file that
ends up winning over mscorlib.dll in .NET Framework targeting pack
mscorlib.dll if CandidateAssemblyFiles are searched.

Legacy project search paths are left unchanaged because they were not
impacted by this and some of the rely on resolution in GAC or
AssemblyFolders.

* Initialize ILMerge with appropriate reference assemblies

Previously, ILMerge was always default-initialized with current machine's
C:\Windows\Microsoft.NET\Framework\v4.0.30319. Furthermore, in the .NET
Standard case, it was mixed with implementation assemblies on /lib from
a one-off CoreCLR implementation. It was pure luck that the resulting
assembly used to work.

This also removes the one-off CLI that carries the one-off CoreCLR from
the build altogether.

* Disabled failing signing tests on macOS

* Remove explicity reference to system.collections.immutable

* Add the ability to insert to multiple CLI/SDK branches
2018-12-19 16:37:43 -08:00
Nikolche Kolev 4817968109 Upgrade the desktop framework to to net472 (#2544)
* complete net472 move

* add publish artifacts
2018-12-04 10:23:23 -08:00
Ashish Jain e2a9cd92a7 Added multiple CLI/SDK branches to raise NuGet insertion PRs (#2524)
* Added multiple CLI/SDK branches to raise NuGet insertion PRs
2018-11-16 10:16:53 -08:00
Ankit Mishra dadb035f27 Updating Loc validator to 2.0.1 to consume a repository signed package (#2387)
This PR updates the localization validator version to `2.0.1` which is built from this [commit](https://github.com/NuGet/Entropy/commit/2d44f092c59f9b83dc9fb3c22f554cb8c10ce33d). The only changes are newer version to get a repository signed package from nuget.org - 

```
PS> nuget verify -signatures C:\Users\anmishr\Desktop\temp\NuGetValidator.2.0.1.nupkg

Verifying NuGetValidator.2.0.1
C:\Users\anmishr\Desktop\temp\NuGetValidator.2.0.1.nupkg

Signature Hash Algorithm: SHA256
Signature type: Repository
nuget-v3-service-index-url: https://api.nuget.org/v3/index.json
nuget-package-owners: mishra14
Verifying the repository primary signature with certificate:
  Subject Name: CN=NuGet.org Repository by Microsoft, O=NuGet.org Repository by Microsoft, L=Redmond, S=Washington, C=US
  SHA1 hash: 8FB6D7FCF7AD49EB774446EFE778B33365BB7BFB
  SHA256 hash: 0E5F38F57DC1BCC806D8494F4F90FBCEDD988B46760709CBEEC6F4219AA6157D
  Issued by: CN=DigiCert SHA2 Assured ID Code Signing CA, OU=www.digicert.com, O=DigiCert Inc, C=US
  Valid from: 4/9/2018 5:00:00 PM to 4/14/2021 5:00:00 AM

Timestamp: 8/10/2018 11:28:11 AM

Verifying repository primary signature's timestamp with timestamping service certificate:
  Subject Name: CN=Symantec SHA256 TimeStamping Signer - G2, OU=Symantec Trust Network, O=Symantec Corporation, C=US
  SHA1 hash: 625AEC3AE4EDA1D169C4EE909E85B3BBC61076D3
  SHA256 hash: CF7AC17AD047ECD5FDC36822031B12D4EF078B6F2B4C5E6BA41F8FF2CF4BAD67
  Issued by: CN=Symantec SHA256 TimeStamping CA, OU=Symantec Trust Network, O=Symantec Corporation, C=US
  Valid from: 1/1/2017 4:00:00 PM to 4/1/2028 4:59:59 PM


Successfully verified package 'NuGetValidator.2.0.1'.
```

The results are in this [run](https://devdiv.visualstudio.com/DevDiv/DevDiv%20Team/_build?definitionId=8117&_a=summary), same as before.
2018-08-10 15:40:39 -07:00
Rohit Agrawal 3803820961 fix apex and e2e tests on CI (#2315)
* fix e2e tests yaml configs

* temp fix to make apex tests work

* fix errors related to generatetestpackages.exe

* fix e2e ci drop access
2018-06-25 12:16:42 -07:00
Zhi Li 8e9a585d86 Enabled long file path support on nuget.exe 2018-05-30 10:26:01 -07:00
Rohit Agrawal 458267a113 format build number with full version (#2196)
* format build number with full version

* fix vsix update version

* get semantic version dynamically instead of hardcoding

* fix e2e test scripts to use the new format of buildnumber
2018-04-30 14:24:01 -07:00
Ankit Mishra 7eaecd96d8 Updating localization validator to v2.0.0 (#2193)
## Fix
Details: Updating the loc validation tool. The tool has been [updated](https://github.com/NuGet/Entropy/pull/9) in  2 aspects - 

1. Add additional validation step to assert that NuGet dlls in the vsix have all the necessary localized resource dlls in known paths. This will prevent future cases of issue fixed by https://github.com/NuGet/NuGet.Client/commit/1d3aa71b4a437456feb87fb7282c32edb9d882f5
2. Write output files in json format to make them machine parseable


## Testing/Validation
Validation done:  Running validation tool in a separate private branch's [build](https://devdiv.visualstudio.com/DevDiv/NuGet/_build/index?buildId=1628975)
2018-04-30 12:57:13 -07:00
Rohit Agrawal bf8f915cae Speed up build by combining signing requests (#2099)
* group signing of vsix and nupkgs in one call

* change verbosity to diag

* add build tools package to batch sign request

* disable diag verbosity
2018-03-15 10:56:51 -07:00
Rohit Agrawal 32cfc0e06f disable publishing symbols nupkg to myget (#2032) 2018-02-14 16:46:57 -08:00