Skip to content

Commit 36fe66a

Browse files
Add explicit reference to newtonsoft, required by BlobTriggerHandler.cs. (#866)
It will be needed for PR #862
1 parent 08b2d1d commit 36fe66a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

dotnet/src/extensions/Azure/Handlers/GeneXus.Deploy.AzureFunctions.Handlers.csproj

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<AzureQueueSupport>true</AzureQueueSupport>
1616
<TimerSupport>true</TimerSupport>
1717
<HttpSupport>true</HttpSupport>
18+
<BlobSupport>true</BlobSupport>
1819
</PropertyGroup>
1920

2021
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
@@ -27,9 +28,12 @@
2728
<ItemGroup>
2829
<Compile Include ="Helpers\*;Program.cs" />
2930
</ItemGroup>
30-
31-
<ItemGroup Condition="'$(BlobSupport)' == 'true'">
31+
32+
<ItemGroup Condition="'$(BlobSupport)' == 'true' OR '$(AzureQueueSupport)' == 'true'">
3233
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Storage" Version="5.0.1" />
34+
</ItemGroup>
35+
36+
<ItemGroup Condition="'$(BlobSupport)' == 'true'">
3337
<Compile Include="BlobHandler\BlobTriggerHandler.cs;Dummies\BlobTriggerDummy.cs" />
3438
</ItemGroup>
3539

@@ -44,7 +48,6 @@
4448
</ItemGroup>
4549

4650
<ItemGroup Condition="'$(AzureQueueSupport)' == 'true'">
47-
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Storage" Version="5.0.1" />
4851
<Compile Include="QueueHandler\QueueTriggerHandler.cs;Dummies\QueueTriggerDummy.cs" />
4952
</ItemGroup>
5053

@@ -62,9 +65,9 @@
6265
<PackageReference Include="log4net" Version="2.0.15" />
6366
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.9.0" OutputItemType="Analyzer" />
6467
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.5.2" />
65-
6668
<PackageReference Include="Microsoft.Data.SqlClient" Version="1.1.4" />
6769
<PackageReference Include="StackExchange.Redis" Version="2.0.593" />
70+
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
6871
</ItemGroup>
6972

7073
<ItemGroup Condition="$(GenStdVersion)==''">

0 commit comments

Comments
 (0)