Andrew Arnott
cb405d2001
Merge remote-tracking branch 'libtemplate/microbuild' into libtemplateUpdate
2024-10-29 18:09:15 -06:00
Andrew Arnott
7a2cd46779
Notice errors from invocation of `git rev-parse HEAD`
2024-10-09 16:13:12 -06:00
Andrew Arnott
b45a287d29
Add AzDO pipeline to help keep repos up-to-date
2024-10-03 19:50:41 -06:00
Andrew Arnott
d6ad7d6a22
Merge remote-tracking branch 'libtemplate/microbuild' into libtemplateUpdate
2023-05-01 09:39:28 -06:00
Andrew Arnott
2381c72767
Fix ARM64 detection on Windows Powershell
2023-04-14 20:54:34 -06:00
Andrew Arnott
e080f0df0d
Merge remote-tracking branch 'libtemplate/microbuild' into libtemplateUpdate
2023-04-06 09:01:40 -06:00
Andrew Arnott
ea48c8eaa1
Updated SDK installer script to be able to find 7.0.200
2023-03-13 15:28:28 -06:00
Andrew Arnott
5132c2206f
Add ASP.NET Core runtime installation support
2023-03-11 16:30:55 -07:00
Andrew Arnott
647da4751a
Merge remote-tracking branch 'libtemplate/microbuild' into libTemplateUpdate
2023-03-01 13:09:18 -07:00
Andrew Arnott
c01126d8e9
Simplify Version cast in ps1 script
2023-02-13 16:19:46 -07:00
Andrew Arnott
d19033347c
Add -SdkOnly switch
2023-02-09 17:07:26 -07:00
Andrew Arnott
8381192a53
Remove references to "Core" in .NET Core
2023-02-09 17:00:31 -07:00
Andrew Arnott
551183c1e9
Improve error message for unsupported versions
2023-02-09 16:52:41 -07:00
Andrew Arnott
f17518be33
Update the dotnet-install.ps1 script
...
This enables downloading newer SDK versions.
2023-02-09 16:46:32 -07:00
Andrew Arnott
aabe7798d2
Merge remote-tracking branch 'libtemplate/microbuild' into libtemplateUpdate
2022-11-04 11:35:10 -06:00
Andrew Arnott
f678dd36be
Install the nuget cred provider for .NET 6 and .NET Framework
...
Recently we've only been getting the .NET Core 3.1 plugin, which leaves .NET Framework-based nuget tools un-authenticated.
2022-06-08 12:20:42 -06:00
Andrew Arnott
c268a9e8d9
Fix several Install-DotNetSdk issues
...
* Stop popping Windows Explorer dialogs
* Stop installing the same .NET runtime versions multiple times.
* Install WindowsDesktop too.
2022-05-18 16:35:45 -06:00
Andrew Arnott
e0d4ad51a3
Add support for running 32-bit tests
2022-05-01 21:35:19 -06:00
Andrew Arnott
f9425685d7
Apply latest Library.Template
2022-04-11 14:06:04 -06:00
Andrew Arnott
df0a3fa03c
Merge pull request #147 from AArnott/fixSdkInstallScript
...
Fix Install-DotNetSdk.ps1 for Windows machine-wide installations
2022-03-30 10:11:12 -06:00
Andrew Arnott
7e34288f4c
Fix Install-DotNetSdk.ps1 for Windows machine-wide installations
2022-03-30 07:20:08 -06:00
Andrew Arnott
e92074087c
Improve TargetFramework detection
2022-03-25 09:22:48 -06:00
Andrew Arnott
1be4fa9788
Fix regression in platform detection in Windows Powershell
2021-12-02 16:50:33 -07:00
Andrew Arnott
c5db1efad8
Fix ARM detection on Linux
...
The `$env:PROCESSOR_ARCHITECTURE` environment variable simply isn't set on linux.
2021-11-25 23:16:45 -07:00
Andrew Arnott
346548ac0d
Search for .NET 5+ runtime requirements
2021-10-26 07:31:30 -06:00
Andrew Arnott
67f91702c2
Search for .NET 5+ runtime requirements
2021-10-26 07:31:09 -06:00
Andrew Arnott
4438c0718d
Update to latest dotnet-install script
2021-09-14 14:27:58 -06:00
Andrew Arnott
9ac560c10f
Fix SDK installation on ARM64
2021-09-01 23:00:13 -06:00
Steve Bush
3a49199ce9
Add support for TargetFrameworks of the form netXX
...
Add support for TargetFrameworks of the form netXX to Dotnet SDK installer script
2021-07-25 11:11:45 -07:00
Andrew Arnott
7a23e0daa9
Fixes the Install-DotNetSdk.ps1 script when the path to the repo contains spaces ( #100 )
2021-05-29 19:05:50 -06:00
Andrew Arnott
d3d35b668d
Add support for windowsdesktop runtimes to Install-DotNetSdk.ps1 script
2021-05-15 17:45:08 -06:00
Andrew Arnott
a64ebcc0e9
Update .NET installer script
...
This may help with curl failures, as described in https://github.com/dotnet/install-scripts/issues/139
2021-02-08 08:29:48 -07:00
Andrew Arnott
b94346d503
Propagate failure to install .NET SDK
...
Also use pinned dotnet installer script
2021-02-05 09:29:36 -07:00
Andrew Arnott
5355f205ce
Use pinned dotnet installer script
...
This unblocks builds by working around https://github.com/dotnet/install-scripts/issues/136
2021-02-04 21:58:02 -07:00
Andrew Arnott
18b5902d5e
Propagate failure to install .NET SDK
2021-02-04 21:55:31 -07:00
Andrew Arnott
d8b3fc060b
Adapt to GitHub's new env and path operations
...
Fixes #79
2020-11-16 09:48:54 -07:00
Andrew Arnott
b4ccb93818
Apply latest repo pattern from Library.Template
...
https://github.com/aarnott/Library.Template/tree/microbuild , in particular. With some extra flavor added from vs-streamjsonrpc.
2020-09-14 13:42:18 -06:00
Andrew Arnott
69a74f8c05
Revert incremental install of SDKs/Runtimes
...
The 0c212b6459
commit brought this optimization in, but it is buggy because an SDK or runtime might not be installed because it's at the machine level, but if another runtime is missing and installed, it sets env vars which hide the machine level ones already found, so now they need to also be installed. But they weren't, so the build would just fail.
Similarly, if the script is supposed to install to the machine location and the SDK is already installed at the user location, the recent optimization would skip installing it at the machine location.
2020-09-14 11:48:30 -06:00
Andrew Arnott
8377c641a8
Catch exception thrown on some machines
2020-09-13 07:45:10 -06:00
Andrew Arnott
0c212b6459
Skip .NET SDK and runtime install when unneeded
2020-09-12 21:32:08 -06:00
Andrew Arnott
b79b08af1a
Add warning that non-machine installs must run within same environment
2020-08-23 13:15:57 -06:00
Andrew Arnott
5439be7fde
Move Set-EnvVars.ps1 to tools
2020-08-19 12:14:19 -06:00
Andrew Arnott
9469bdf8c4
Fix up init.cmd to set env vars from .ps1 child process
2020-08-19 12:13:49 -06:00
Andrew Arnott
bc3f88d11b
Avoid unannounced system restart
...
When installing the .NET SDK or runtime, if the installer wants a system restart, it would do so quietly. This avoids the restart but adds a prompt at the end of the script to inform the user of a restart being required when necessary.
Fixes #57
2020-06-15 09:36:29 -06:00
Andrew Arnott
860402b0b5
Fix Install-DotNetSdk.ps1 script on Windows PowerShell
...
It misinterpreted it as a Mac/Linux environment under Windows Powershell. It only worked as-is under PowerShell Core, where `$IsWindows` is defined.
2020-06-08 15:23:03 -06:00
Andrew Arnott
498b5e6a34
Authorize feeds in all nuget.config files throughout the repo
2020-04-20 12:19:03 -06:00
Andrew Arnott
3c0c7dae0f
Use top-level test folder
2020-04-09 23:33:39 -06:00
Andrew Arnott
234e1da8eb
Fix Install-DotNetSdk script under -WhatIf
2020-04-09 23:06:03 -06:00
Andrew Arnott
cbb60159af
Add machine-wide .NET install support off Windows
2020-03-30 10:16:19 -06:00
Andrew Arnott
c2c2ec1858
Use more portable #! for ps1
2020-03-29 20:26:44 -06:00