Created
May 19, 2016 02:18
-
-
Save valerysntx/76ec136e90be6188a13cd136e6d87e2a to your computer and use it in GitHub Desktop.
automate dotnet CLI deployment // DotNetCore.1.0.0.RC2-SDK.Preview1-x64 // DotNetCore.1.0.0.RC2-VS2015Tools.Preview1.exe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin | |
@cinst DotNetCLI | |
@powershell -NoProfile -ExecutionPolicy None -Command "Invoke-Expression \""((New-Object Net.WebClient).DownloadFile('https://download.microsoft.com/download/4/6/1/46116DFF-29F9-4FF8-94BF-F9BE05BE263B/DotNetCore.1.0.0.RC2-VS2015Tools.Preview1.exe','DotNetCore.1.0.0.RC2-VS2015Tools.Preview1.exe'))\"" | |
@DotNetCore.1.0.0.RC2-VS2015Tools.Preview1.exe | |
@powershell -NoProfile -ExecutionPolicy None -Command "Invoke-Expression \""((New-Object Net.WebClient).DownloadFile('https://download.microsoft.com/download/4/6/1/46116DFF-29F9-4FF8-94BF-F9BE05BE263B/packages/DotNetCore.1.0.0.RC2-SDK.Preview1-x64.exe','DotNetCore.1.0.0.RC2-SDK.Preview1-x64.exe'))\"" | |
@DotNetCore.1.0.0.RC2-SDK.Preview1-x64.exe | |
@pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment