From 67954520a30491c7836b63b015fbdbe33b4331e1 Mon Sep 17 00:00:00 2001 From: Cesar De la Torre Date: Mon, 20 Feb 2017 19:59:49 -0800 Subject: [PATCH] CLI Windows updated --- .vs/slnx.sqlite | Bin 69632 -> 69632 bytes ...nt-(dotnet-CLI,-Docker-CLI-and-VS-Code).md | 8 +++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite index c9b8cea5832f34783cdfc6418a396fa368d54d09..1d1065f0d965e3e0054c1df8ca1ed0e18cc627aa 100644 GIT binary patch delta 68 zcmZozz|ydQWr8$g;6xc`#=wmU!TO9Xo44ru3o@~=Prl>a%F25@+v(Then&f2J{HxD Xk2g=Lzsm|#QqRY!TO9%o44ru3oa%F2DgsNP|5zoQ*1ug0`! W{>@YB@3I1w6ty<-1F5f5xT^sUIv6nk diff --git a/03.-Setting-the-eShopOnContainers-solution-up-in-a-Windows-CLI-environment-(dotnet-CLI,-Docker-CLI-and-VS-Code).md b/03.-Setting-the-eShopOnContainers-solution-up-in-a-Windows-CLI-environment-(dotnet-CLI,-Docker-CLI-and-VS-Code).md index 4141093..7a0ba54 100644 --- a/03.-Setting-the-eShopOnContainers-solution-up-in-a-Windows-CLI-environment-(dotnet-CLI,-Docker-CLI-and-VS-Code).md +++ b/03.-Setting-the-eShopOnContainers-solution-up-in-a-Windows-CLI-environment-(dotnet-CLI,-Docker-CLI-and-VS-Code).md @@ -49,12 +49,14 @@ The drive you'll need to share depends on where you place your source code. ### .NET Core SDK setup +You need the .NET Core SDK so you can run the .NET Core CLI with commands like "dotnet build", "dotnet publish", etc. + Install the .NET Core SDK from here https://www.microsoft.com/net/download/core#/current (Current/x64 .NET Core 1.1 SDK Installer, usually) Run the setup like in the following screenshot: - + ### Node, Bower and Gulp installation (These steps about installing bower and gulp might not be needed anymore as these are being triggered from the .csproj file in the MVC project at the "PrepublishScript" section).

@@ -87,8 +89,8 @@ https://github.com/dotnet/eShopOnContainers/wiki/06.-Setting-the-Web-SPA-applica These steps are easily performed by running a convenient script already created for you. As mentioned, it is internally using the .NET Core CLI (dotnet). - Open a PowerShell window in Windows. Make sure that you have permission to run scripts by running the following command: - - **Set-ExecutionPolicy Unrestricted -Scope LocalMachine** - + `Set-ExecutionPolicy Unrestricted -Scope LocalMachine` + - There is a Power-Shell script that you will find in the root directory of the solution named build-bits.ps1 which is responsible for building the .NET applications and copy the binaries into multiple publish folder.