Skip to content

Commit 221295a

Browse files
authored
Merge pull request #187211 from ggailey777/patch-11
Remove the build output workaround as requested..
2 parents 95561f4 + f2fe449 commit 221295a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

articles/azure-functions/functions-develop-vs.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -82,18 +82,6 @@ Visual Studio doesn't automatically upload the settings in local.settings.json w
8282

8383
Your code can also read the function app settings values as environment variables. For more information, see [Environment variables](functions-dotnet-class-library.md#environment-variables).
8484

85-
## Configure your build output settings
86-
87-
When building an Azure Functions project, the build tools optimize the output so that only one copy of any assemblies that are shared with the functions runtime are preserved. The result is an optimized build that saves as much space as possible. However, when you move to a more recent version of any of your project assemblies, the build tools might not know that these assemblies must be preserved. To make sure that these assemblies are preserved during the optimization process, you can specify them using `FunctionsPreservedDependencies` elements in the project (.csproj) file:
88-
89-
```xml
90-
<ItemGroup>
91-
<FunctionsPreservedDependencies Include="Microsoft.AspNetCore.Http.dll" />
92-
<FunctionsPreservedDependencies Include="Microsoft.AspNetCore.Http.Extensions.dll" />
93-
<FunctionsPreservedDependencies Include="Microsoft.AspNetCore.Http.Features.dll" />
94-
</ItemGroup>
95-
```
96-
9785
## Configure the project for local development
9886

9987
The Functions runtime uses an Azure Storage account internally. For all trigger types other than HTTP and webhooks, set the `Values.AzureWebJobsStorage` key to a valid Azure Storage account connection string. Your function app can also use the [Azure Storage Emulator](../storage/common/storage-use-emulator.md) for the `AzureWebJobsStorage` connection setting that's required by the project. To use the emulator, set the value of `AzureWebJobsStorage` to `UseDevelopmentStorage=true`. Change this setting to an actual storage account connection string before deployment.

0 commit comments

Comments
 (0)