44 Commits
Author SHA1 Message Date
Travis Plunk adac4c7117 Add a way to use only NuGet feed sources (#24528)
* Update build.psm1

* update default feeds

* fix issue with cgmanifest having duplicate existing entries

* update pattern
2024-10-31 20:13:04 +00:00
Dongbo Wang 5bcda5d060 Update the URLs used in nuget.config files (#24203) 2024-08-23 22:25:23 +00:00
Travis Plunk 5919a249a1 Fixes to Azure Public feed usage (#24149)
* Fix code PATs

* Fix feed PATs

* remove gallery commit

* update feed url

* Update to new variable groups

* Fix Variable name

* Fix credential template

* Disable Signing setup in prep stage

* Capture nuget source list

* lock down the firewall

* Add creds to feed switch to allow single switch location

* Use switch from build.psm1

* Use switch template instead of commands

* update to test feed

* disable codeql in jobs where we don't compile

* disable code sign validation for prep

* move capture steps to restore phase to see if it speeds things up

* remove duplicate capture of nuget config

* update test service

* Only build windows test service on windows

* warn when no config is generated

* try to fix test service

* fix web listener refs

* try removing dotnet tool

* update feedname with user info

* update package version that is not found

* try moving failing jobs to restore phase

* allow nuget inset in either phase

* update package ref

* use the right reporoot

* Move everything to restore

* Try adding build phase

* put nuget files in the right place

* move bootstrap into yaml

* remove onebranch agent items from macos build

* switch to environment variable

* bump a couple of packages

* fix formatting

* Fix static analysis issue

* update feed url to test restoring everything

* install the AzFeed cred provider

* fix binlog issues
2024-08-15 09:06:29 -07:00
Travis Plunk 8a8f2d4b23 Make Microsoft feeds the default (#24098) 2024-07-31 19:41:15 +00:00
Aditya Patwardhan a145f47787 Bump to .NET 9 Preview 1 (#21229) 2024-02-16 03:15:11 +00:00
Aditya Patwardhan ebe0b54340 Update to .NET 8 Preview 4 (#19696) 2023-06-21 15:17:22 -07:00
Aditya Patwardhan b58db8b8f7 Bump .NET to Preview 2 version (#19305) 2023-03-09 15:06:36 -08:00
Aditya Patwardhan 2d15e0c5b6 Update to .NET 8 preview 1 build (#19194) 2023-02-22 16:12:16 -08:00
Aditya Patwardhan 1268a0a04f Update .NET to 7.0.0-preview.2 build (#16930) 2022-03-18 09:10:53 -07:00
Aditya Patwardhan 77caf718cd Update projects and scripts to use .NET 7 preview 1 pre-release builds (#16856)
* Update script to consume .NET 7 builds

* Update target framework

* Add dotnet metadata override value

* Update dependencies

* Update analyzer

* Conditionally add output argument

* Update files.wxs

* Fix tests

* Update Microsoft.PowerShell.Native to 7.3.0-preview.1

* Disable psget tests

* Update to latest build for .NET 7 preview 1

* Disable ready to run

* Update version of `Microsoft.AspNetCore.Mvc.NewtonsoftJson` package

* Update cgmanifest and startup test
2022-02-16 09:56:41 -08:00
Aditya Patwardhan 9cb33d48a8 Remove pre-release .NET 6 build sources (#16418)
* Remove pre-release .NET 6 build sources

* Update nuget.config
2021-11-10 13:00:18 -08:00
Aditya Patwardhan 52b6d89407 Update to latest .NET 6 GA build 6.0.100-rtm.21527.11 (#16309) 2021-10-28 11:40:52 -07:00
Aditya Patwardhan 45b80a555a Update .NET 6 to version 6.0.100-rc.2.21505.57 (#16249) 2021-10-15 13:51:26 -07:00
github-actions[bot] 1e823e6677 Update .NET SDK version from 6.0.100-rc.1.21430.44 to 6.0.100-rc.1.21455.2 (#16041) 2021-09-07 14:11:13 -07:00
Aditya Patwardhan 7fc60d1d5f Bump .NET to 6.0.100-rc.1.21430.44 (#16028) 2021-09-01 10:35:27 -07:00
Aditya Patwardhan fdc9a91d20 Update script to use .NET 6 build resources (#14705) 2021-02-05 10:29:48 -08:00
Travis PlunkandRobert Holt 7c03ad61c1 Use one feed in each nuget.config in official builds (#14363)
Co-authored-by: Robert Holt <rjmholt@gmail.com>
2020-12-14 14:16:55 -08:00
Aditya Patwardhan f4ac0935c5 Remove workarounds for .NET 5 RTM builds (#14038) 2020-11-11 14:53:33 -08:00
Aditya Patwardhan 7e145ef2da Update script to use .NET RTM feeds (#13927) 2020-10-29 17:35:34 -07:00
Aditya Patwardhan f91e78ad69 Add default help content to the assets folder (#13257)
* Add default help content to the assets folder
* Reformatted and removed TechNet reference
2020-07-26 11:53:56 -07:00
Aditya Patwardhan 60f28bcd3f Scripts to update to .NET prerelease version (#12284) 2020-04-15 11:40:56 -07:00
Amit Saraf 7bce46bc5b Download latest version (6.2.0) of PSDesiredStateConfiguration nuget package. (#9932) 2019-06-27 10:22:32 -07:00
Dongbo Wang 76526c6f1d Restore modules from the NuGet package cache by using dotnet restore (#6111) 2018-02-27 13:36:54 -08:00
Aditya Patwardhan 5b5168d72e Revert "Pull PSReadLine from PSGallery" (#5986)
This reverts commit beffdcf94d.
2018-01-22 16:09:35 -08:00
Jason Shirk beffdcf94d Pull PSReadLine from PSGallery (#5759)
Instead of building PSReadLine from this repo, pull it from the gallery using nuget cache.

This pulls v2.0 of PSReadLine which does have documented breaking changes from v1.2, but the risk is small - the features that have changed are typically only used in a profile and aren't used all that often anyway.

Fix #996

Hardcodes version of modules pulled from PSGallery
2018-01-19 18:15:09 -08:00
Jason Shirk 8c08c7b382 use global nuget package cache (#2987) 2017-01-17 13:00:52 -08:00
Dongbo Wang 2e402cfef1 Update powershell to depend on latest dotnet core packages (preview1-24530-04 from 9/30/2016) 2016-10-14 10:02:44 -07:00
Dongbo Wang c093817983 update nuget.config to point to powershell.myget.org (#1867) 2016-08-18 08:10:49 -07:00
Andrew Schwartzmeyer db60a859cf Remove MyGet feeds 2016-06-27 15:30:47 -07:00
Sergei Vorobev 2856103fa5 Get packages from psl-windows-build online nuget feed 2016-06-20 14:35:57 -07:00
dantraMSFT 2ae8f5c3a0 Switch to MMI.Native package instead of stub
Update build to use a custom Package directory (`dotnet restore`
installs package assemblies to this location).
2016-05-05 13:49:39 -07:00
Andrew Schwartzmeyer 9ec57aaf08 Add canonical CLI, NuGet, and xUnit feeds 2016-05-04 13:42:08 -07:00
Andrew Schwartzmeyer 234752cd90 Remove aspnetvnext and dotnet-cli feeds
The dotnet-core and aspnetcidev feeds provide all our required packages.
The aspnetvnext causes `dotnet restore` to take an inordinate amount of
time, which terminates our CI builds.

Reducing the number of feeds brings restore time from scratch down to 3
seconds on my machine.

The aspnetvnext feed was originally added for the CoreCLR xUnit runner
packages; but is no longer necessary.

Resolves #896.
2016-04-22 13:50:17 -07:00
Andrew Schwartzmeyer dc9b4c595d Fix xUnit tests for Linux
The latest xUnit packages fix the "could not resolve coreclr path"
problem we were having. To resolve all dependencies, the cli-deps feed
was replaced with the aspnet feeds.

However, the latest xUnit packages do not allow us to set the default
AssemblyLoadContext.
2016-04-14 18:06:57 -07:00
Andrew Schwartzmeyer e19777103f Add cli-deps feed for dotnet-test-xunit
Although there is a dedicated `coreclr-xunit` feed for this package, it
is missing some needed dependencies. Rather than add yet another feed
(`aspnetvnext`), we'll use the `cli-deps` feed as it has all the
packages that `dotnet-test-xunit` needs, and is likely to stick around.
2016-02-17 16:20:17 -08:00
Sergei Vorobev 3322d7af1c Add missed files to Microsoft.PowerShell.Commands.Management
Add almost all files to Microsoft.PowerShell.Commands.Management
One of them is Computer.cs that was listed in known issues.
We start to use a nuget packages generated for assemlbies that
cannot be listed in framework assemlbies, but exist in a GAC
on all windows machine and not a PowerShell assemblies
The first one is Microsoft.WSMan.Management
2016-02-11 20:44:21 -08:00
Andrew Schwartzmeyer 9c0ee7072e Use NuGet instead of aspnetvnext for CodeAnalysis
The aspnetvnext MyGet feed was unreliable, and we should prefer NuGet
anyway. This should make automated builds fail less often.
2016-02-09 12:50:24 -08:00
Andrew Schwartzmeyer 363c0ccfd1 Modernize our nuget.config
Use the V3 api, and use the clear directive instead of
`activePackageSources`.
2016-02-05 16:04:06 -08:00
Andrew Schwartzmeyer 71f670f86c Add packages required for updated sources
Commands.Utility now needs Microsoft.CodeAnalysis.CSharp, which doesn't
explicitly target `dnxcore50`, so now Commands.Utility and the packages
which depend on it now much `import` the Portable Windows framework.
This also required adding the aspnetvnext feed.

System.Management.Automation now requires System.Diagnostics.StackTrace.
2016-01-26 16:49:28 -08:00
Andrew Schwartzmeyer 31962e214d Remove aspnetrelease NuGet repo
No longer required with removal of Microsft.Extensions.Platform.Abstractions
2015-12-08 14:34:24 -08:00
Andrew Schwartzmeyer bcc844d678 Add dotnetcore NuGet repo back 2015-12-07 14:27:06 -08:00
Andrew Schwartzmeyer 5004839f63 Pin NuGet packages
Using new ASP.NET Release feed and pinned package versions.

Thanks Garret!
2015-12-01 10:56:56 -08:00
Andrew Schwartzmeyer a86bc387b9 Fix NuGet feeds 2015-11-23 17:54:30 -08:00
Andrew Schwartzmeyer fed949af2e Build PowerShell using DNX 2015-11-23 17:54:30 -08:00