43 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 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 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
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 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
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
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 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
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
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
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
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 1d51d469cd add logic to figure out target vs branch for insertion (#1998)
* add logic to map nuget branches to vs branches

* trim vs target branch name

* add support for cli and sdk branch as well
2018-02-01 17:28:37 -08:00
Rohit Agrawal ecdf6fc533 simplify logic for update of build number (#1957)
* update build number in initialize_build phase

* update build number before print env variables
2018-01-17 18:08:34 -08:00
Rohit Agrawal 7537e3a59c enable yaml based builds and other engineering improvements (#1872)
* enable yaml based builds and testing for nuget

* add retry logic to installation and downgrading of vsix

* fix delay signing on apex DLLs

* add admin switch for vsix installation

* install nuget vsix should not fail on standard error

* fix publishing of e2e result step

* disable v2feedparser third party server tests by not downloading config files

* add initial build number format

* fix e2e publishing for real

* keep running tests on unix if unit or func tests fail
2017-12-14 14:12:56 -08:00
Rohit Agrawal 79a745606a Improve E2E infra and adapt to VSTS (#1714)
* remove clearing recycle bin

* add logging for vso

* kill running instances of vs regardless

* do not fail if a test times out

* fix logging typo

* more powershell fixes

* re-enable uwp specific tests

* fix termination condition of tests

* change how test result file gets copied to CI machine

* breaking out of while loop and more logging

* fix path issue for results.html

* more fixes in termination condition

* diagnosing parsing errors for first two tests

* log currently running test and fix log.txt logging

* log to console from log.txt using currentTestId

* trying to fix initial logging issue with one line in realtimeresults

* remove unnecesary diag logging

* fix log formatting and add back write-error in case of failure

* fix count of tests and logging

* fix numbering of test and re-enable commented code

* count tests after all assemblies have been loaded

* adding try catch block

*  fix try-catch

* fix numbering for test case factory scenario

* changes to parsing realtimeresults

* first pass at junit xml results

* write out junit test result file

* implement missing API in InternalApiTestHook for project.json migrator

* fix logging test results duration to junit

* start copying log and results file to nuget drop share

* update UwpPackageRefClassLibrary template

* fix project.json migrator uwp e2e test

* fix uwp package ref test

* fix new-item cmdlet to create directory instead of file

* change where to output full log in build drop

* change name of uwpclasslibrary project template

* get screenshot if test times out

* get screenshot only iff running on CI

* fix uwp migrator project json test

* fix nit

* don't queue functional tests via rest api

* fix screen capture type not found exception

* add mono to path explicitly

* echo path in mono and mac and output version

* no need to add mono to path
2017-09-26 14:27:28 -07:00
Nikolche Kolev 44c8188f64 Remove the experimental VSIX (#1713) 2017-09-22 16:30:05 -07:00
Rohit Agrawal f70827a676 engineering fix setting env variable on CI (#1643)
* don't copy vsix symbols on ci

* set VsixPublishDir on CI as env variable
2017-08-11 15:13:34 -07:00
Rohit Agrawal c7698c571f Move windows functional tests over to VSTS (#1586) 2017-07-28 11:18:53 -07:00
Rohit Agrawal b56c2583a4 remove printing git log as github repo is now linked to our build definition (#1551) 2017-07-14 15:29:32 -07:00
Rohit Agrawal 572a8d75e1 add localization repo in the output buildinfo.json (#1527) 2017-06-30 16:20:34 -07:00
Rohit Agrawal 00f61dbd03 print git log to vsts as markdown (#1428) 2017-05-31 15:02:33 -08:00
Zhi Li 47b29f661b localized all assemblies and produce lcg files 2017-05-12 16:30:49 -07:00
Rohit Agrawal 711eb9d86c skip strong name validation for public keys to unblock ci (#1365) 2017-05-05 11:17:32 -07:00
Rohit Agrawal 7cc929718c udpate build number (#1356) 2017-05-02 15:10:17 -07:00
Rohit Agrawal b71dda1273 set vsix build number to the insertable version (#1333) 2017-04-25 16:59:00 -07:00
Rohit Agrawal 6d042c8652 add powershell script to set build numbers correctly (#1331) 2017-04-25 11:51:41 -07:00