You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-develop-vs.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -219,6 +219,13 @@ For a full list of the bindings supported by Functions, see [Supported bindings]
219
219
220
220
Azure Functions Core Tools lets you run Azure Functions project on your local development computer. When you press F5 to debug a Functions project, the local Functions host (func.exe) starts to listen on a local port (usually 7071). Any callable function endpoints are written to the output, and you can use these endpoints for testing your functions. For more information, see [Work with Azure Functions Core Tools](functions-run-local.md). You're prompted to install these tools the first time you start a function from Visual Studio.
221
221
222
+
::: zone pivot="in-proc"
223
+
224
+
> [!IMPORTANT]
225
+
> Starting with version 4.0.6517 of the Core Tools, in-process model projects must reference [version 4.5.0 or later of `Microsoft.NET.Sdk.Functions`](https://www.nuget.org/packages/Microsoft.NET.Sdk.Functions/4.5.0). If an earlier version is used, the `func start` command will error.
226
+
227
+
::: zone-end
228
+
222
229
To start your function in Visual Studio in debug mode:
223
230
224
231
1. Press F5. If prompted, accept the request from Visual Studio to download and install Azure Functions Core (CLI) tools. You might also need to enable a firewall exception so that the tools can handle HTTP requests.
> Starting with version 4.0.6517 of the Core Tools, in-process model projects must reference [version 4.5.0 or later of `Microsoft.NET.Sdk.Functions`](https://www.nuget.org/packages/Microsoft.NET.Sdk.Functions/4.5.0). If an earlier version is used, the `func start` command will error.
By default this command creates a project that runs in-process with the Functions host on the current [Long-Term Support (LTS) version of .NET Core]. You can use the `--target-framework` option to target a specific supported version of .NET, including .NET Framework. For more information, see the [`func init`](functions-core-tools-reference.md#func-init) reference.
65
65
66
-
### [In-process](#tab/in-process)
66
+
### [In-process model](#tab/in-process)
67
67
68
68
```console
69
69
func init MyProjFolder --worker-runtime dotnet
@@ -199,7 +199,27 @@ mvn clean package
199
199
mvn azure-functions:run
200
200
```
201
201
::: zone-end
202
-
::: zone pivot="programming-language-csharp,programming-language-javascript,programming-language-powershell,programming-language-python"
> Starting with version 4.0.6517 of the Core Tools, in-process model projects must reference [version 4.5.0 or later of `Microsoft.NET.Sdk.Functions`](https://www.nuget.org/packages/Microsoft.NET.Sdk.Functions/4.5.0). If an earlier version is used, the `func start` command will error.
218
+
219
+
---
220
+
221
+
::: zone-end
222
+
::: zone pivot="programming-language-javascript,programming-language-powershell,programming-language-python"
203
223
```
204
224
func start
205
225
```
@@ -513,6 +533,11 @@ If you must use a binding extension or an extension version not in a supported b
513
533
514
534
Major versions of Azure Functions Core Tools are linked to specific major versions of the Azure Functions runtime. For example, version 4.x of Core Tools supports version 4.x of the Functions runtime. This version is the recommended major version of both the Functions runtime and Core Tools. You can determine the latest release version of Core Tools in the [Azure Functions Core Tools repository](https://github.com/Azure/azure-functions-core-tools/releases/latest).
515
535
536
+
::: zone pivot="programming-language-csharp"
537
+
<aname="in-process-minimum-version"></a>
538
+
Starting with version 4.0.6517 of the Core Tools, in-process model projects must reference [version 4.5.0 or later of `Microsoft.NET.Sdk.Functions`](https://www.nuget.org/packages/Microsoft.NET.Sdk.Functions/4.5.0). If an earlier version is used, the `func start` command will error.
539
+
::: zone-end
540
+
516
541
Run the following command to determine the version of your current Core Tools installation:
0 commit comments