John Beisner
8a150f89a3
Miscellaneous script fixes...
2017-08-31 13:18:42 -07:00
Nick Guerrera
4f6a2ae0a2
Merge pull request #7515 from natemcmaster/non-versioned-files
...
Add -SkipNonVersionedFiles to dotnet-install.{sh,ps1}
2017-08-28 21:50:12 -07:00
John Beisner
9af126356b
Merge pull request #6981 from dotnet/namc/output
...
Change usages of Write-Output to Write-Host
2017-08-28 11:55:37 -07:00
Nate McMaster
7586ad844d
Add -SkipNonVersionedFiles to dotnet-install.{sh,ps1}
2017-08-24 14:06:38 -07:00
Daniel Plaisted
83f9a374d3
Fix dotnet-install script when latest version file for channel is returned as application/octet-stream
2017-08-14 18:05:30 -07:00
Nate McMaster
be47c19b43
Remove line that only writes "C:" to console output
2017-06-28 17:25:57 -07:00
Nate McMaster
38f8f5b548
Correct usages of Write-Output with Write-Host
2017-06-21 16:20:51 -07:00
John Beisner
c497bf498f
Write a 'latest.coherent.version' file at blob storage so users have a 'coherent' option to SDK installations.
2017-06-13 16:45:29 -07:00
John Beisner
5eae1a3a31
Fixing logic; variable name.
2017-06-12 09:31:09 -07:00
John Beisner
cd753db228
Default channel=LTS
...
Clarify nomenclature from "alternate" to "legacy"
Skip construction of legacy URL if it's flawed.
2017-06-09 12:00:29 -07:00
John Beisner
ce61070a69
Updates to install scripts to consume the renaming packages at blob storage. Unpinning the CLI build from a specific version.
2017-06-07 10:18:05 -07:00
John Beisner
b48b7d2ea0
.NET Core 2+ Naming and Versioning
...
New file name structure for the runtime and the CLI
per: https://github.com/dotnet/designs/issues/2
The renaming of assets, therefore the dotnet installation scripts must change to accommodate.
Trivial:
"Write-Host" should be "Write-Output"
2017-05-26 15:46:56 -07:00
jbeisner
911236d964
Merge pull request #6664 from johnbeisner/InstallScripts
...
Linux distro update for dotnet-install.sh; et al.
2017-05-23 17:28:29 -07:00
John Beisner
d3373d9459
Removing unused parameters.; ".StartsWith" method for strings is not always present.
2017-05-23 16:41:46 -07:00
John Beisner
229518b486
Default channel in the install scripts; dotnet-install.ps1 and dotnet-install.sh = “release/1.0.0”
...
For the Runtime: resolves to: 1.0.5
For the SDK: resolves to: 1.0.4
2017-05-23 15:09:31 -07:00
John Beisner
6222e66a07
Changes per code review - stronger download failure logic.
2017-05-23 10:45:15 -07:00
John Beisner
283bff55ce
Changes per manual testing on Windows-x64
2017-05-22 16:17:31 -07:00
John Beisner
3db157aba6
First draft changes for install script for the SDK and Runtime.
2017-05-22 12:53:52 -07:00
James Lanng
497d048b1c
Support corporate proxy servers
2017-05-10 10:44:40 +01:00
Axel Heer
05d2b4d266
Add UseDefaultCredentials to dotnet-install.ps1
...
When working behind a corporate proxy it may be necessary to authenticate properly.
2017-02-28 08:02:51 +01:00
Alex Barney
58b0566d9a
Add InstallDir to path if SDK version is already installed ( #4843 )
...
* Add InstallDir to path if SDK version is already installed
* Make changes based on feedback
* Rename "Append" to "Prepend"
* Remove check if directory is already in path
2016-11-30 20:36:24 -08:00
Livar Cunha
91e24d886b
Just moved the file check to after we have created the item.
2016-11-15 12:19:12 -08:00
Falco
b2a83e0072
check for free disk space upfront ( #4647 )
...
* check for free disk space upfront
* driveletter now derives from $InstallRoot
* whitespace corrected
* one space added
2016-11-11 17:54:46 -08:00
Matt Galbraith
9855dc0088
Increase HttpClient Timeout in bootstrap script ( #4659 )
...
* Increase HttpClient Timeout in bootstrap script
* Update dotnet-install.ps1
Fix comment
2016-11-08 23:23:46 -08:00
mendhak
ee239e54cf
Using HttpClientHandler only if ProxyAddress argument specified
2016-10-10 22:34:30 +01:00
mendhak
047eb4f732
Corrected proxy in synopsis for installer
2016-10-10 17:49:28 +01:00
mendhak
47a4b44f1f
HttpClient to use ProxyAddress argument if passed in
2016-10-08 20:10:56 +01:00
Piotr Puszkiewicz
1ce482a8d1
Merge remote-tracking branch 'refs/remotes/origin/rel/1.0.0'
...
Conflicts:
scripts/obtain/dotnet-install.ps1
src/dotnet/commands/dotnet-new/CSharp_xunittest/project.json.template
2016-08-26 22:39:14 -07:00
Michael Simons (VISUAL STUDIO)
7914b63474
Modified logic that downloads content to provide better diagnostic information upon failure.
2016-08-25 11:47:45 -05:00
Piotr Puszkiewicz
2db1997bc0
Merge remote-tracking branch 'refs/remotes/origin/feature/msbuild'
...
Conflicts:
Microsoft.DotNet.Cli.sln
build_projects/dotnet-cli-build/DebTargets.cs
build_projects/dotnet-cli-build/TestTargets.cs
scripts/package/package-debian.sh
src/Microsoft.Extensions.DependencyModel/DependencyContextJsonReader.cs
src/dotnet/commands/dotnet-new/Program.cs
src/dotnet/commands/dotnet-pack/PackageGenerator.cs
test/Microsoft.Extensions.DependencyModel.Tests/DependencyContextJsonReaderTest.cs
2016-08-16 18:30:52 -07:00
Eric Erhardt
38d18eab4d
Fix dotnet-install.ps1.
...
Allow directories named "publish" in .gitignore.
Add files to the .sln.
2016-08-09 08:28:53 -05:00
Piotr Puszkiewicz
16692fc75c
Remove CDN caching from version files
2016-08-09 02:41:12 -07:00
Michael Simons (VISUAL STUDIO)
b53e254fbd
Updated Add-Type logic to account for Powershell Core Edition
2016-08-08 15:03:36 -05:00
Michael Simons (VISUAL STUDIO)
a34e93c340
Modified dotnet-install.ps1 to support Nano Server
2016-08-04 15:04:26 -05:00
Piotr Puszkiewicz
89e127b8ac
Move downloads to CDN ( #3873 )
2016-07-15 15:36:01 -04:00
Eric Erhardt
ba1715b8a6
Fix dotnet-install for the new Azure Publish layout.
2016-06-22 22:46:13 -05:00
Krzysztof Wicher
f4ceb1f213
Merge pull request #3272 from krwq/add_shared_runtime_switch
...
add -SharedRuntime switch support
2016-05-27 15:23:45 -07:00
Krzysztof Wicher
2a84c13817
add -SharedRuntime switch support
2016-05-27 12:19:53 -07:00
Krzysztof Wicher
5a77b03f36
add path to the front of the variable instead of the back
2016-05-23 12:48:53 -07:00
Eric Erhardt
bf9b5a9288
Change the default channel in dotnet-install
scripts to "preview".
2016-05-19 13:36:24 -05:00
Bryan
f0cc32e1ee
move all return statements to exit 0
2016-05-13 11:39:28 -07:00
PiotrP
d906524dec
Fix install scripts to deal with content type change.
2016-05-12 10:25:49 -05:00
Sridhar Periyasamy
2d435ac880
Update the install scripts to use the preview channel.
...
Also the default now is the beta channel which has the latest 'preview1'
builds.
2016-05-10 15:35:10 -07:00
Krzysztof Wicher
11e3fa36af
rename install.ps1/sh to dotnet-install.ps1/sh to match documentation
2016-04-08 10:51:16 -07:00