Skip to content

Commit 3524dc7

Browse files
authored
Merge pull request #174618 from anthonychu/20211005-update-core-tools-v4
[Functions] Add MSI link for Core Tools v4
2 parents 339afcd + e7ec440 commit 3524dc7

File tree

2 files changed

+13
-39
lines changed

2 files changed

+13
-39
lines changed

articles/azure-functions/functions-bindings-register.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ The following items describe some reasons you might need to install extensions m
6565
* You need to access a specific combination of extensions not available in a single bundle.
6666

6767
> [!NOTE]
68-
> To manually install extensions by using Core Tools, you must have the [.NET Core 2.x SDK](https://dotnet.microsoft.com/download) installed. The .NET Core SDK is used by Azure Functions Core Tools to install extensions from NuGet. You don't need to know .NET to use Azure Functions extensions.
68+
> To manually install extensions by using Core Tools, you must have the [.NET Core 3.1 SDK](https://dotnet.microsoft.com/download) installed. The .NET Core SDK is used by Azure Functions Core Tools to install extensions from NuGet. You don't need to know .NET to use Azure Functions extensions.
6969
7070
When you explicitly install extensions, a .NET project file named extensions.csproj is added to the root of your project. This file defines the set of NuGet packages required by your functions. While you can work with the [NuGet package references](/nuget/consume-packages/package-references-in-project-files) in this file, Core Tools lets you install extensions without having to manually edit the file.
7171

articles/azure-functions/functions-run-local.md

Lines changed: 12 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Work with Azure Functions Core Tools
33
description: Learn how to code and test Azure Functions from the command prompt or terminal on your local computer before you run them on Azure Functions.
44
ms.assetid: 242736be-ec66-4114-924b-31795fd18884
55
ms.topic: conceptual
6-
ms.date: 07/27/2021
6+
ms.date: 10/05/2021
77
ms.custom: "devx-track-csharp, 80e4ff38-5174-43"
88
---
99

@@ -57,37 +57,27 @@ You can only install one version of Core Tools on a given computer. Unless othe
5757

5858
## Install the Azure Functions Core Tools
5959

60-
[Azure Functions Core Tools] includes a version of the same runtime that powers Azure Functions runtime that you can run on your local development computer. It also provides commands to create functions, connect to Azure, and deploy function projects.
60+
[Azure Functions Core Tools](https://github.com/Azure/azure-functions-core-tools) includes a version of the same runtime that powers Azure Functions runtime that you can run on your local development computer. It also provides commands to create functions, connect to Azure, and deploy function projects.
6161

62-
Starting with version 2.x, Core Tools is built on .NET Core. This means that version 2.x and higher versions run on all platforms .NET Core supports, including [Windows](?tabs=windows#v2), [macOS](?tabs=macos#v2), and [Linux](?tabs=linux#v2).
63-
64-
> [!IMPORTANT]
65-
> For non-.NET languages, you can bypass the requirement for installing the .NET Core SDK by using [extension bundles].
62+
Starting with version 2.x, Core Tools runs on [Windows](?tabs=windows#v2), [macOS](?tabs=macos#v2), and [Linux](?tabs=linux#v2).
6663

6764
# [Windows](#tab/windows/v4)
6865

69-
Installing version 4.x of the Core Tools currently requires npm. If you installed a previous version of the Core Tools using a different package manager, uninstall it before installing version 4.x.
70-
71-
1. If you haven't already done so, [install Node.js with npm](https://nodejs.org/en/download/).
66+
The following steps use a Windows installer (MSI) to install Core Tools v4.x. For more information about other package-based installers, see the [Core Tools readme](https://github.com/Azure/azure-functions-core-tools/blob/master/README.md#windows).
7267

73-
1. Run the following npm command to install the Core Tools package:
74-
75-
```
76-
npm i -g azure-functions-core-tools@4 --unsafe-perm true
77-
```
68+
Download and run the Core Tools installer, based on your version of Windows:
7869

79-
1. If you don't plan to use [extension bundles](functions-bindings-register.md#extension-bundles), install the [.NET Core 3.x SDK for Windows](https://dotnet.microsoft.com/download).
70+
- [v4.x - Windows 64-bit](https://go.microsoft.com/fwlink/?linkid=2174087) (Recommended. [Visual Studio Code debugging](functions-develop-vs-code.md#debugging-functions-locally) requires 64-bit.)
71+
- [v4.x - Windows 32-bit](https://go.microsoft.com/fwlink/?linkid=2174159)
8072

8173
# [Windows](#tab/windows/v3)
8274

8375
The following steps use a Windows installer (MSI) to install Core Tools v3.x. For more information about other package-based installers, see the [Core Tools readme](https://github.com/Azure/azure-functions-core-tools/blob/master/README.md#windows).
8476

85-
1. Download and run the Core Tools installer, based on your version of Windows:
77+
Download and run the Core Tools installer, based on your version of Windows:
8678

87-
- [v3.x - Windows 64-bit](https://go.microsoft.com/fwlink/?linkid=2135274) (Recommended. [Visual Studio Code debugging](functions-develop-vs-code.md#debugging-functions-locally) requires 64-bit.)
88-
- [v3.x - Windows 32-bit](https://go.microsoft.com/fwlink/?linkid=2135275)
89-
90-
1. If you don't plan to use [extension bundles](functions-bindings-register.md#extension-bundles), install the [.NET Core 3.x SDK for Windows](https://dotnet.microsoft.com/download).
79+
- [v3.x - Windows 64-bit](https://go.microsoft.com/fwlink/?linkid=2135274) (Recommended. [Visual Studio Code debugging](functions-develop-vs-code.md#debugging-functions-locally) requires 64-bit.)
80+
- [v3.x - Windows 32-bit](https://go.microsoft.com/fwlink/?linkid=2135275)
9181

9282
# [Windows](#tab/windows/v2)
9383

@@ -101,8 +91,6 @@ Installing version 2.x of the Core Tools requires npm. You can also [use Chocola
10191
npm install -g azure-functions-core-tools@2 --unsafe-perm true
10292
```
10393
104-
1. If you don't plan to use [extension bundles](functions-bindings-register.md#extension-bundles), install the [.NET Core 3.x SDK for Windows](https://dotnet.microsoft.com/download).
105-
10694
# [Windows](#tab/windows/v1)
10795
10896
If you need to install version 1.x of the Core Tools, see the [GitHub repository](https://github.com/Azure/azure-functions-core-tools/blob/v1.x/README.md#installing) for more information.
@@ -121,8 +109,6 @@ The following steps use Homebrew to install the Core Tools on macOS.
121109
# if upgrading on a machine that has 2.x or 3.x installed:
122110
brew link --overwrite azure-functions-core-tools@4
123111
```
124-
125-
1. If you don't plan to use [extension bundles](functions-bindings-register.md#extension-bundles), install the [.NET Core 3.x SDK for macOS](https://dotnet.microsoft.com/download).
126112
127113
# [macOS](#tab/macos/v3)
128114
@@ -138,8 +124,6 @@ The following steps use Homebrew to install the Core Tools on macOS.
138124
# if upgrading on a machine that has 2.x installed:
139125
brew link --overwrite azure-functions-core-tools@3
140126
```
141-
142-
1. If you don't plan to use [extension bundles](functions-bindings-register.md#extension-bundles), install the [.NET Core 3.x SDK for macOS](https://dotnet.microsoft.com/download).
143127
144128
# [macOS](#tab/macos/v2)
145129
@@ -153,8 +137,6 @@ The following steps use Homebrew to install the Core Tools on macOS.
153137
brew tap azure/functions
154138
brew install azure-functions-core-tools@2
155139
```
156-
157-
1. If you don't plan to use [extension bundles](functions-bindings-register.md#extension-bundles), install the [.NET Core 3.x SDK for macOS](https://dotnet.microsoft.com/download).
158140
159141
# [macOS](#tab/macos/v1)
160142
@@ -171,9 +153,6 @@ Version 1.x of the Core Tools isn't supported on macOS. Use version 2.x or a lat
171153
sudo apt-get install azure-functions-core-tools-4
172154
```
173155
174-
1. If you don't plan to use [extension bundles](functions-bindings-register.md#extension-bundles), install [.NET Core 3.x SDK for Linux](https://dotnet.microsoft.com/download).
175-
176-
177156
# [Linux](#tab/linux/v3)
178157
179158
[!INCLUDE [functions-core-tools-linux-install](../../includes/functions-core-tools-linux-install.md)]
@@ -185,8 +164,6 @@ Version 1.x of the Core Tools isn't supported on macOS. Use version 2.x or a lat
185164
sudo apt-get install azure-functions-core-tools-3
186165
```
187166
188-
1. If you don't plan to use [extension bundles](functions-bindings-register.md#extension-bundles), install [.NET Core 3.x SDK for Linux](https://dotnet.microsoft.com/download).
189-
190167
# [Linux](#tab/linux/v2)
191168
192169
[!INCLUDE [functions-core-tools-linux-install](../../includes/functions-core-tools-linux-install.md)]
@@ -198,9 +175,6 @@ Version 1.x of the Core Tools isn't supported on macOS. Use version 2.x or a lat
198175
sudo apt-get install azure-functions-core-tools-2
199176
```
200177
201-
1. If you don't plan to use [extension bundles](functions-bindings-register.md#extension-bundles), install [.NET Core 3.x SDK for Linux](https://dotnet.microsoft.com/download).
202-
203-
204178
# [Linux](#tab/linux/v1)
205179
206180
Version 1.x of the Core Tools isn't supported on Linux. Use version 2.x or a later version on Linux.
@@ -280,9 +254,9 @@ There are no additional considerations for PowerShell.
280254

281255
## Register extensions
282256

283-
Starting with runtime version 2.x, Functions bindings are implemented as .NET extension (NuGet) packages. For compiled C# projects, you simply reference the NuGet extension packages for the specific triggers and bindings you are using. HTTP bindings and timer triggers don't require extensions.
257+
Starting with runtime version 2.x, Functions triggers and bindings are implemented as .NET extension (NuGet) packages. For compiled C# projects, you simply reference the NuGet extension packages for the specific triggers and bindings you are using. HTTP bindings and timer triggers don't require extensions.
284258

285-
To improve the development experience for non-C# projects, Functions lets you reference a versioned extension bundle in your host.json project file. [Extension bundles](functions-bindings-register.md#extension-bundles) makes all extensions available to your app and removes the chance of having package compatibility issues between extensions. Extension bundles also removes the requirement of installing the .NET Core 2.x SDK and having to deal with the extensions.csproj file.
259+
To improve the development experience for non-C# projects, Functions lets you reference a versioned extension bundle in your host.json project file. [Extension bundles](functions-bindings-register.md#extension-bundles) makes all extensions available to your app and removes the chance of having package compatibility issues between extensions. Extension bundles also removes the requirement of installing the .NET Core 3.1 SDK and having to deal with the extensions.csproj file.
286260

287261
Extension bundles is the recommended approach for functions projects other than C# complied projects. For these projects, the extension bundle setting is generated in the _host.json_ file during initialization. If this works for you, you can skip this entire section.
288262

0 commit comments

Comments
 (0)