From 493c4b9840339b0a911f0b88f0826a0f2ce3931d Mon Sep 17 00:00:00 2001 From: Matthew Henderson Date: Wed, 28 Aug 2024 09:41:17 -0700 Subject: [PATCH] Allowing version validation to include qualities for testing purposes --- sdk/Sdk/Targets/Microsoft.Azure.Functions.Worker.Sdk.targets | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/Sdk/Targets/Microsoft.Azure.Functions.Worker.Sdk.targets b/sdk/Sdk/Targets/Microsoft.Azure.Functions.Worker.Sdk.targets index 5d3bbd8b..a5389f5c 100644 --- a/sdk/Sdk/Targets/Microsoft.Azure.Functions.Worker.Sdk.targets +++ b/sdk/Sdk/Targets/Microsoft.Azure.Functions.Worker.Sdk.targets @@ -63,7 +63,8 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and - <_AzureFunctionsVersionStandardized>$(AzureFunctionsVersion.ToLowerInvariant()) + + <_AzureFunctionsVersionStandardized>$(AzureFunctionsVersion.ToLowerInvariant().Split('-')[0]) true