-
Notifications
You must be signed in to change notification settings - Fork 1
/
MyFunctions.csproj
34 lines (30 loc) · 1.21 KB
/
MyFunctions.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<AzureFunctionsVersion>v4</AzureFunctionsVersion>
</PropertyGroup>
<!--
Azure Functions executing in In-process mode is currently incompatible with
System.Diagnostics.DiagnosticSource 7.0.0.
Adding FunctionsPreservedDependencies is required to ensure that the
Azure Functions runtime uses the version of System.Diagnostics.DiagnosticSource
this function depends on.
-->
<ItemGroup>
<FunctionsPreservedDependencies Include="System.Diagnostics.DiagnosticSource.dll" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Azure.Functions.Extensions" Version="1.1.0" />
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="4.0.1" />
<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="7.0.0" />
</ItemGroup>
<ItemGroup>
<None Update="host.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="local.settings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToPublishDirectory>Never</CopyToPublishDirectory>
</None>
</ItemGroup>
</Project>