Skip to content

Commit d03883c

Browse files
authored
Merge pull request circleci#3628 from circleci/remove-install-.net-win
Remove the reference to installing .NET as it’s already installed in the base image
2 parents 477294d + 307b7fc commit d03883c

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

jekyll/_cci2/hello-world-windows.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,12 @@ The Windows build environment (or `executor`) gives users the tools to build Win
2929
- Uses the Server Core version of Windows Server 2019 Datacenter Edition.
3030
- Has 4 vCPUS and 15 GB of RAM.
3131
- Powershell is the default shell (Bash and cmd are available to be manually selected).
32+
- Docker Engine - Enterprise is available for running Windows containers.
3233

3334
Note: the Windows executor does not have have support for [Docker Layer Caching]({{site.baseurl}}/2.0/docker-layer-caching).
3435

36+
Note: the Windows executor currently only supports Windows containers. Running Linux containers on Windows is not possible for now.
37+
3538
The Windows executor is only available on the CircleCI Performance Plan. Please see the [CircleCI Plans page](https://circleci.com/pricing/usage/) for more details on the cost of Windows compute.
3639

3740
## Windows executor images
@@ -120,15 +123,9 @@ Under the `jobs` key, we set the executor via the orb we are using. We can also
120123
```yaml
121124
steps:
122125
- checkout
123-
- run:
124-
name: "Install dotnet core"
125-
command: |
126-
choco install dotnetcore-sdk
127-
refreshenv
128-
dotnet.exe --info
129126
```
130127

131-
In our first step, we run the [`checkout`]({{ site.baseurl}}/2.0/configuration-reference/#checkout) command to pull our source code from our version control system. Next, we install .NET core via a powershell script included in the [.circleci folder](https://github.com/CircleCI-Public/circleci-demo-windows/blob/master/.circleci/dotnet-install.ps1). As the comment in our config makes note, we have gotten the powershell script to install .NET core from Microsoft’s .NET documentation. While we could pull the script dynamically and run it using curl or powershell, we have vendored it into the project to have one less dependency in the tutorial.
128+
In our first step, we run the [`checkout`]({{ site.baseurl}}/2.0/configuration-reference/#checkout) command to pull our source code from our version control system.
132129

133130
```yaml
134131
- restore_cache:

0 commit comments

Comments
 (0)