From 97f6926148d127f9a2ba340cbb2a5817c925d597 Mon Sep 17 00:00:00 2001 From: Jacob Viau Date: Fri, 26 Jan 2024 11:55:58 -0800 Subject: [PATCH 1/2] Update v4 csproj template --- .../.template.config/template.json | 12 ------- .../Company.FunctionApp.csproj | 33 ++++++------------- 2 files changed, 10 insertions(+), 35 deletions(-) diff --git a/Functions.Templates/ProjectTemplate_v4.x/CSharp-Isolated/.template.config/template.json b/Functions.Templates/ProjectTemplate_v4.x/CSharp-Isolated/.template.config/template.json index c2b8b15b8..b4bf49011 100644 --- a/Functions.Templates/ProjectTemplate_v4.x/CSharp-Isolated/.template.config/template.json +++ b/Functions.Templates/ProjectTemplate_v4.x/CSharp-Isolated/.template.config/template.json @@ -116,18 +116,6 @@ "projectFileExtensions": ".csproj" } }, - { - "condition": "(NetCore)", - "Description": "Adding Reference to Microsoft.Azure.Functions.Worker.Extensions.Http Nuget package", - "ActionId": "B17581D1-C5C9-4489-8F0A-004BE667B814", - "ContinueOnError": "true", - "ManualInstructions": [], - "args": { - "referenceType": "package", - "reference": "Microsoft.Azure.Functions.Worker.Extensions.Http", "version": "3.1.0", - "projectFileExtensions": ".csproj" - } - }, { "description": "Restore NuGet packages required by this project.", "manualInstructions": [], diff --git a/Functions.Templates/ProjectTemplate_v4.x/CSharp-Isolated/Company.FunctionApp.csproj b/Functions.Templates/ProjectTemplate_v4.x/CSharp-Isolated/Company.FunctionApp.csproj index 313d33514..3ea18e6bf 100644 --- a/Functions.Templates/ProjectTemplate_v4.x/CSharp-Isolated/Company.FunctionApp.csproj +++ b/Functions.Templates/ProjectTemplate_v4.x/CSharp-Isolated/Company.FunctionApp.csproj @@ -1,4 +1,5 @@  + TargetFrameworkValue AzureFunctionsVersionValue @@ -9,32 +10,18 @@ Company.FunctionApp - - - - - - - - - - - - PreserveNewest - - - PreserveNewest - Never - - + - + + - - + + + + - - \ No newline at end of file + + From 4b8509d1d836ad8f51a40e1cadd3eb8d5be64e1e Mon Sep 17 00:00:00 2001 From: Jacob Viau Date: Wed, 1 May 2024 14:29:38 -0700 Subject: [PATCH 2/2] Update fsproj template --- .../Company.FunctionApp.fsproj | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/Functions.Templates/ProjectTemplate_v4.x/FSharp-Isolated/Company.FunctionApp.fsproj b/Functions.Templates/ProjectTemplate_v4.x/FSharp-Isolated/Company.FunctionApp.fsproj index 88970fb7a..47005ce47 100644 --- a/Functions.Templates/ProjectTemplate_v4.x/FSharp-Isolated/Company.FunctionApp.fsproj +++ b/Functions.Templates/ProjectTemplate_v4.x/FSharp-Isolated/Company.FunctionApp.fsproj @@ -1,30 +1,31 @@ + TargetFrameworkValue AzureFunctionsVersionValue Exe + enable enable + Company.FunctionApp - + + + + + - + - - - PreserveNewest - - - PreserveNewest - - + +