Closed AdaTheDev closed 2 years ago
I have the same issue with .Net6 :(
Hello, we have the same issue, and now our project stopped working as well. Any help is much appreciated.
As well here, please fix it.
Same issue here. Linux plan and unable to deploy with below error: Unexpected character encountered while parsing value: {. Path '[0].build_summary', line 1, position 645.
I'm having exactly the same problem.
Same problem even using simple command prompt
Same goes for DOTNET|6.0 linux function with V4 runtime
I'm also having an issue deploying. .NET 6.0 azure function v4.
2>System.AggregateException: One or more errors occurred. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: {. Path 'build_summary', line 1, position 505. 2> at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType) 2> at Newtonsoft.Json.JsonTextReader.ReadAsString() 2> at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter) 2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id) 2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) 2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) 2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) 2> at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) 2> at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) 2> at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) 2> at Microsoft.NET.Sdk.Functions.MSBuild.Tasks.ZipDeploymentStatus.<InvokeGetRequestWithRetryAsync>d__11
1.MoveNext() in /_/src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeploymentStatus.cs:line 100
2>--- End of stack trace from previous location where exception was thrown ---
2> at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2> at Microsoft.NET.Sdk.Functions.MSBuild.Tasks.ZipDeploymentStatus.
Is there any update on this? Still Same issue, hours spent on the internet, no possible solution so far. Other than updating the linux server for a windows one :) what is crazy. Thoughts
I was able to deploy using VS Code.
my project Net Core 3.1 can publish on windows but on Linux it gives the following error:
(LINUX)
2>The "ZipDeployTask" task failed unexpectedly.
2>System.AggregateException: One or more errors occurred. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: {. Path 'build_summary', line 1, position 481.
2> at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)
2> at Newtonsoft.Json.JsonTextReader.ReadAsString()
2> at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id)
2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
2> at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
2> at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
2> at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
2> at Microsoft.NET.Sdk.Functions.MSBuild.Tasks.ZipDeploymentStatus.
same issue here, publishing even a template azure function project produces this error
The only solution I found was publishing with VS code interface
On Thu, 12 May 2022, 04:00 lucasmaj, @.***> wrote:
same issue here, publishing even a template azure function project produces this error
— Reply to this email directly, view it on GitHub <Azure/azure-functions-vs-build-sdk#556>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMEMI2KJ7PW5DGFH2KMUHP3VJRQ2NANCNFSM5VRJBSLA . You are receiving this because you commented.Message ID: @.***>
Same problem, dotnet 6.0, Visual Studio 2022 17.2.0, publishing to Linux.
The "ZipDeployTask" task failed unexpectedly. 2>System.AggregateException: One or more errors occurred. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: {. Path 'build_summary', line 1, position 486. 2> at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType) 2> at Newtonsoft.Json.JsonTextReader.ReadAsString() 2> at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter) 2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id) 2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) 2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) 2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) 2> at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) 2> at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) 2> at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) 2> at Microsoft.NET.Sdk.Functions.MSBuild.Tasks.ZipDeploymentStatus.
d11`1.MoveNext() in /_/src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeploymentStatus.cs:line 100 2>--- End of stack trace from previous location where exception was thrown --- 2> at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 2> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2> at Microsoft.NET.Sdk.Functions.MSBuild.Tasks.ZipDeploymentStatus. d_10.MoveNext() in //src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeploymentStatus.cs:line 68 2>--- End of stack trace from previous location where exception was thrown --- 2> at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 2> at Microsoft.NET.Sdk.Functions.MSBuild.Tasks.ZipDeploymentStatus. 9.MoveNext() in /_/src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeploymentStatus.cs:line 49 2>--- End of stack trace from previous location where exception was thrown --- 2> at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 2> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2> at Microsoft.NET.Sdk.Functions.Tasks.ZipDeployTask.d d26.MoveNext() in //src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeployTask.cs:line 111 2> --- End of inner exception stack trace --- 2> at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) 2> at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) 2> at Microsoft.NET.Sdk.Functions.Tasks.ZipDeployTask.Execute() in //src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeployTask.cs:line 42 2> at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() 2> at Microsoft.Build.BackEnd.TaskBuilder. d 26.MoveNext() 2>---> (Inner Exception #0) Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: {. Path 'build_summary', line 1, position 486. 2> at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType) 2> at Newtonsoft.Json.JsonTextReader.ReadAsString() 2> at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter) 2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id) 2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) 2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) 2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) 2> at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) 2> at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) 2> at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) 2> at Microsoft.NET.Sdk.Functions.MSBuild.Tasks.ZipDeploymentStatus.d11`1.MoveNext() in /_/src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeploymentStatus.cs:line 100 2>--- End of stack trace from previous location where exception was thrown --- 2> at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 2> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2> at Microsoft.NET.Sdk.Functions.MSBuild.Tasks.ZipDeploymentStatus. d_10.MoveNext() in //src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeploymentStatus.cs:line 68 2>--- End of stack trace from previous location where exception was thrown --- 2> at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 2> at Microsoft.NET.Sdk.Functions.MSBuild.Tasks.ZipDeploymentStatus. 9.MoveNext() in /_/src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeploymentStatus.cs:line 49 2>--- End of stack trace from previous location where exception was thrown --- 2> at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 2> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2> at Microsoft.NET.Sdk.Functions.Tasks.ZipDeployTask.d d_26.MoveNext() in //src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeployTask.cs:line 111<--- 2> ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== ========== Publish: 0 succeeded, 1 failed, 0 skipped ==========
I was able to deploy using VS Code.
Can confirm currently this seems to be the best solution. It looks like the ZipDeployTask
class when reading the zip name, may currently have an issue parsing fullstops in the solution name. Just a hunch really, not sure if anyone else is using fullstops in their solution name.
Seems to affect whether you have full stops in the solution name or not.
My original real-world scenario, does has fullstops in the solution names. My repro above, I did without fullstops in the name - same issue
I'm seeing the same issue with a very basic HTTP-triggered .NET 6 Function App when deploying from VS 2022 v17.1.6 to Linux plan.
SCM (https://
{
"id": "<guid>",
"status": 3,
"status_text": "",
"author_email": "N/A",
"author": "N/A",
"deployer": "Push-Deployer",
"message": "Created via a push deployment",
"progress": "",
"received_time": "2022-05-12T18:44:33.1323085Z",
"start_time": "2022-05-12T18:44:34.162638Z",
"end_time": "2022-05-12T18:44:36.3219081Z",
"last_success_end_time": null,
"complete": true,
"active": false,
"is_temp": false,
"is_readonly": true,
"url": "https://<sitename>.scm.azurewebsites.net/api/deployments/<guid>",
"log_url": "https://<sitename>.scm.azurewebsites.net/api/deployments/<guid>/log",
"site_name": "<sitename>",
"build_summary": {
"errors": [],
"warnings": []
}
}
The log from log_url
has the following interesting items (others redacted):
{
"log_time": "2022-05-12T18:44:34.2142393Z",
"id": "3fc67ff9-fe5c-49b6-80c1-5da13bd437cd",
"message": "Running oryx build...",
"type": 2,
"details_url": "https://<sitename>.scm.azurewebsites.net/api/deployments/<guid>/log/3fc67ff9-fe5c-49b6-80c1-5da13bd437cd"
},
{
"log_time": "2022-05-12T18:44:36.29989Z",
"id": "65ffec58-0228-4152-9257-6342469dade8",
"message": "Generating summary of Oryx build",
"type": 0,
"details_url": null
},
{
"log_time": "2022-05-12T18:44:36.3088707Z",
"id": "a7ed94bb-d019-470f-a98c-1a42670d9fa7",
"message": "Deployment Log file does not exist in /tmp/oryx-build.log",
"type": 0,
"details_url": null
},
{
"log_time": "2022-05-12T18:44:36.3216774Z",
"id": "207b4686-3f99-44bd-994b-49162a799399",
"message": "The logfile at /tmp/oryx-build.log is empty. Unable to fetch the summary of build",
"type": 0,
"details_url": null
},
{
"log_time": "2022-05-12T18:44:36.3654357Z",
"id": "1fd69e9c-5cdf-4e6f-956c-7965f43bafe5",
"message": "Deployment Failed.",
"type": 0,
"details_url": null
}
In the Oryx details_url
log, you can find the following interesting messages:
"Command: oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform dotnet --platform-version ~4"
"Oryx Version: 0.2.20210120.1, Commit: 66c7820d7df527aaffabd2563a49ad57930999c9, ReleaseTagName: 20210120.1"
"Detecting platforms..."
"Could not detect any platform in the source directory."
"Error: Couldn't detect a version for the platform 'dotnet' in the repo."
"Error: Couldn't detect a version for the platform 'dotnet' in the repo.\\n/opt/Kudu/Scripts/starter.sh oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform dotnet --platform-version ~4"
Compared to a successful deployment to Windows plan (note the missing build_summary):
[
{
"id": "<guid>",
"status": 4,
"status_text": "",
"author_email": "N/A",
"author": "N/A",
"deployer": "ZipDeploy",
"message": "Created via a push deployment",
"progress": "",
"received_time": "2022-05-12T19:15:44.3605918Z",
"start_time": "2022-05-12T19:15:45.1261907Z",
"end_time": "2022-05-12T19:15:46.4403793Z",
"last_success_end_time": "2022-05-12T19:15:46.4403793Z",
"complete": true,
"active": true,
"is_temp": false,
"is_readonly": true,
"url": "https://<sitename>.scm.azurewebsites.net/api/deployments/<guid>",
"log_url": "https://<sitename>.scm.azurewebsites.net/api/deployments/<guid>/log",
"site_name": "<sitename>",
"provisioningState": "Succeeded"
}
]
Hope this helps debugging the issue.
Can't confirm that the problem only occurs with a full stop in the path. I moved my solution to "C:\Temp" and got the same error
2>Unerwarteter Fehler bei der ZipDeployTask-Aufgabe.
2>System.AggregateException: Mindestens ein Fehler ist aufgetreten. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: {. Path 'build_summary', line 1, position 484.
2> bei Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)
2> bei Newtonsoft.Json.JsonTextReader.ReadAsString()
2> bei Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
2> bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id)
2> bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
2> bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
2> bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
2> bei Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
2> bei Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
2> bei Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
2> bei Microsoft.NET.Sdk.Functions.MSBuild.Tasks.ZipDeploymentStatus.<InvokeGetRequestWithRetryAsync>d__11`1.MoveNext() in /_/src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeploymentStatus.cs:Zeile 100.
2>--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
2> bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2> bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2> bei Microsoft.NET.Sdk.Functions.MSBuild.Tasks.ZipDeploymentStatus.<GetDeploymentStatusAsync>d__10.MoveNext() in /_/src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeploymentStatus.cs:Zeile 68.
2>--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
2> bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2> bei Microsoft.NET.Sdk.Functions.MSBuild.Tasks.ZipDeploymentStatus.<PollDeploymentStatusAsync>d__9.MoveNext() in /_/src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeploymentStatus.cs:Zeile 49.
2>--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
2> bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2> bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2> bei Microsoft.NET.Sdk.Functions.Tasks.ZipDeployTask.<ZipDeployAsync>d__26.MoveNext() in /_/src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeployTask.cs:Zeile 111.
2> --- Ende der internen Ausnahmestapelüberwachung ---
2> bei System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2> bei System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2> bei Microsoft.NET.Sdk.Functions.Tasks.ZipDeployTask.Execute() in /_/src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeployTask.cs:Zeile 42.
2> bei Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
2> bei Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()
2>---> (Interne Ausnahme #0) Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: {. Path 'build_summary', line 1, position 484.
2> bei Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)
2> bei Newtonsoft.Json.JsonTextReader.ReadAsString()
2> bei Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
2> bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id)
2> bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
2> bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
2> bei Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
2> bei Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
2> bei Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
2> bei Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
2> bei Microsoft.NET.Sdk.Functions.MSBuild.Tasks.ZipDeploymentStatus.<InvokeGetRequestWithRetryAsync>d__11`1.MoveNext() in /_/src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeploymentStatus.cs:Zeile 100.
2>--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
2> bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2> bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2> bei Microsoft.NET.Sdk.Functions.MSBuild.Tasks.ZipDeploymentStatus.<GetDeploymentStatusAsync>d__10.MoveNext() in /_/src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeploymentStatus.cs:Zeile 68.
2>--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
2> bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2> bei Microsoft.NET.Sdk.Functions.MSBuild.Tasks.ZipDeploymentStatus.<PollDeploymentStatusAsync>d__9.MoveNext() in /_/src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeploymentStatus.cs:Zeile 49.
2>--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
2> bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2> bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2> bei Microsoft.NET.Sdk.Functions.Tasks.ZipDeployTask.<ZipDeployAsync>d__26.MoveNext() in /_/src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeployTask.cs:Zeile 111.<---
2>
========== Erstellen: 1 erfolgreich, 0 fehlerhaft, 0 aktuell, 0 übersprungen ==========
========== Veröffentlichung: 0 erfolgreich, 1 Fehler, 0 übersprungen ==========
The issue seems to be with Linux Consumption's KuduLite and a fix is currently being worked on. In the meantime, you can use Visual Studio Code, Azure Functions Core Tools, Azure DevOps, or GitHub Actions to deploy your apps. Visual Studio 2022 should have an option to create a GitHub Action and commit it.
Publish works for me again with that latest func version: 3.0.4502 After installation, you just need to unlink: [brew unlink azure-functions-core-tools] And link the new version: [brew link --overwrite azure-functions-core-tools@3]
Hi @pragnagopa Could you please help with redirecting it to correct person?
Upgraded azure-functions-core-tools-4 to v4.0.4483 on the build agent today and it resolved the problem for me.
Same issue, and I get an Invalid URI: The URI scheme is not valid if using func azure functionapp publish
. But both workarounds work fine.
Build started...
1>------ Build started: Project: func, Configuration: Release Any CPU ------
1>func -> D:\source\repos\Azure\19. Labs\07\Starter\func\bin\Release\netcoreapp3.1\func.dll
2>------ Publish started: Project: func, Configuration: Release Any CPU ------
2>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\Roslyn\csc.exe /noconfig /unsafe- /checked- /nowarn:1701,1702,1701,1702,2008 /fullpaths /nostdlib+ /errorreport:prompt /warn:4 /define:TRACE;RELEASE;NETCOREAPP;NETCOREAPP3_1;NETCOREAPP1_0_OR_GREATER;NETCOREAPP1_1_OR_GREATER;NETCOREAPP2_0_OR_GREATER;NETCOREAPP2_1_OR_GREATER;NETCOREAPP2_2_OR_GREATER;NETCOREAPP3_0_OR_GREATER;NETCOREAPP3_1_OR_GREATER /errorendlocation /preferreduilang:en-US /highentropyva+ /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.antiforgery\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Antiforgery.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.authentication.abstractions\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Authentication.Abstractions.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.authentication.core\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Authentication.Core.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.authorization\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Authorization.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.authorization.policy\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Authorization.Policy.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.cors\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Cors.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.cryptography.internal\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Cryptography.Internal.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.dataprotection.abstractions\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.DataProtection.Abstractions.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.dataprotection\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.DataProtection.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.diagnostics.abstractions\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Diagnostics.Abstractions.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.hosting.abstractions\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Hosting.Abstractions.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.hosting.server.abstractions\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Hosting.Server.Abstractions.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.html.abstractions\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Html.Abstractions.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.http.abstractions\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Http.Abstractions.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.http\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Http.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.http.extensions\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Http.Extensions.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.http.features\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Http.Features.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.jsonpatch\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.JsonPatch.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.localization\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Localization.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.mvc.abstractions\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Mvc.Abstractions.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.mvc.apiexplorer\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Mvc.ApiExplorer.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.mvc.core\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Mvc.Core.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.mvc.cors\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Mvc.Cors.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.mvc.dataannotations\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Mvc.DataAnnotations.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.mvc\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Mvc.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.mvc.formatters.json\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Mvc.Formatters.Json.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.mvc.localization\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Mvc.Localization.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.mvc.razor\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Mvc.Razor.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.mvc.razor.extensions\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Mvc.Razor.Extensions.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.mvc.razorpages\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Mvc.RazorPages.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.mvc.taghelpers\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Mvc.TagHelpers.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.mvc.viewfeatures\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Mvc.ViewFeatures.dll" /reference:C:\Users\Zdravko\.nuget\packages\microsoft.aspnetcore.mvc.webapicompatshim\2.1.0\lib\netstandard2.0\Microsoft.AspNetCore.Mvc.WebApiCompatShim.dll /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.razor\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Razor.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.razor.language\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Razor.Language.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.razor.runtime\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Razor.Runtime.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.responsecaching.abstractions\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.ResponseCaching.Abstractions.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.routing.abstractions\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.Routing.Abstractions.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.routing\2.2.0\lib\netcoreapp2.2\Microsoft.AspNetCore.Routing.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.webutilities\2.2.0\lib\netstandard2.0\Microsoft.AspNetCore.WebUtilities.dll" /reference:C:\Users\Zdravko\.nuget\packages\microsoft.azure.webjobs.core\3.0.33\lib\netstandard2.0\Microsoft.Azure.WebJobs.dll /reference:C:\Users\Zdravko\.nuget\packages\microsoft.azure.webjobs.extensions.http\3.0.12\lib\netstandard2.0\Microsoft.Azure.WebJobs.Extensions.Http.dll /reference:C:\Users\Zdravko\.nuget\packages\microsoft.azure.webjobs\3.0.33\lib\netstandard2.0\Microsoft.Azure.WebJobs.Host.dll /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.codeanalysis.csharp\2.8.0\lib\netstandard1.3\Microsoft.CodeAnalysis.CSharp.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.codeanalysis.common\2.8.0\lib\netstandard1.3\Microsoft.CodeAnalysis.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.codeanalysis.razor\2.2.0\lib\netstandard2.0\Microsoft.CodeAnalysis.Razor.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\Microsoft.CSharp.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.dotnet.platformabstractions\2.1.0\lib\netstandard1.3\Microsoft.DotNet.PlatformAbstractions.dll" /reference:C:\Users\Zdravko\.nuget\packages\microsoft.extensions.caching.abstractions\2.2.0\lib\netstandard2.0\Microsoft.Extensions.Caching.Abstractions.dll /reference:C:\Users\Zdravko\.nuget\packages\microsoft.extensions.caching.memory\2.2.0\lib\netstandard2.0\Microsoft.Extensions.Caching.Memory.dll /reference:C:\Users\Zdravko\.nuget\packages\microsoft.extensions.configuration.abstractions\2.2.0\lib\netstandard2.0\Microsoft.Extensions.Configuration.Abstractions.dll /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.configuration.binder\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Configuration.Binder.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.configuration\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Configuration.dll" /reference:C:\Users\Zdravko\.nuget\packages\microsoft.extensions.configuration.environmentvariables\2.1.0\lib\netstandard2.0\Microsoft.Extensions.Configuration.EnvironmentVariables.dll /reference:C:\Users\Zdravko\.nuget\packages\microsoft.extensions.configuration.fileextensions\2.1.0\lib\netstandard2.0\Microsoft.Extensions.Configuration.FileExtensions.dll /reference:C:\Users\Zdravko\.nuget\packages\microsoft.extensions.configuration.json\2.1.0\lib\netstandard2.0\Microsoft.Extensions.Configuration.Json.dll /reference:C:\Users\Zdravko\.nuget\packages\microsoft.extensions.dependencyinjection.abstractions\2.2.0\lib\netstandard2.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll /reference:C:\Users\Zdravko\.nuget\packages\microsoft.extensions.dependencyinjection\2.2.0\lib\netcoreapp2.0\Microsoft.Extensions.DependencyInjection.dll /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.dependencymodel\2.1.0\lib\netstandard1.6\Microsoft.Extensions.DependencyModel.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.fileproviders.abstractions\2.2.0\lib\netstandard2.0\Microsoft.Extensions.FileProviders.Abstractions.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.fileproviders.composite\2.2.0\lib\netstandard2.0\Microsoft.Extensions.FileProviders.Composite.dll" /reference:C:\Users\Zdravko\.nuget\packages\microsoft.extensions.fileproviders.physical\2.1.0\lib\netstandard2.0\Microsoft.Extensions.FileProviders.Physical.dll /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.filesystemglobbing\2.2.0\lib\netstandard2.0\Microsoft.Extensions.FileSystemGlobbing.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.hosting.abstractions\2.2.0\lib\netstandard2.0\Microsoft.Extensions.Hosting.Abstractions.dll" /reference:C:\Users\Zdravko\.nuget\packages\microsoft.extensions.hosting\2.1.0\lib\netstandard2.0\Microsoft.Extensions.Hosting.dll /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.localization.abstractions\2.2.0\lib\netstandard2.0\Microsoft.Extensions.Localization.Abstractions.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.localization\2.2.0\lib\netstandard2.0\Microsoft.Extensions.Localization.dll" /reference:C:\Users\Zdravko\.nuget\packages\microsoft.extensions.logging.abstractions\2.2.0\lib\netstandard2.0\Microsoft.Extensions.Logging.Abstractions.dll /reference:C:\Users\Zdravko\.nuget\packages\microsoft.extensions.logging.configuration\2.1.0\lib\netstandard2.0\Microsoft.Extensions.Logging.Configuration.dll /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.logging\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Logging.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.objectpool\2.2.0\lib\netstandard2.0\Microsoft.Extensions.ObjectPool.dll" /reference:C:\Users\Zdravko\.nuget\packages\microsoft.extensions.options.configurationextensions\2.1.0\lib\netstandard2.0\Microsoft.Extensions.Options.ConfigurationExtensions.dll /reference:C:\Users\Zdravko\.nuget\packages\microsoft.extensions.options\2.2.0\lib\netstandard2.0\Microsoft.Extensions.Options.dll /reference:C:\Users\Zdravko\.nuget\packages\microsoft.extensions.primitives\2.2.0\lib\netstandard2.0\Microsoft.Extensions.Primitives.dll /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.webencoders\2.2.0\lib\netstandard2.0\Microsoft.Extensions.WebEncoders.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.net.http.headers\2.2.0\lib\netstandard2.0\Microsoft.Net.Http.Headers.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\Microsoft.VisualBasic.Core.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\Microsoft.VisualBasic.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\Microsoft.Win32.Primitives.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.win32.registry\4.5.0\ref\netstandard2.0\Microsoft.Win32.Registry.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\mscorlib.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\netstandard.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\newtonsoft.json.bson\1.0.1\lib\netstandard1.3\Newtonsoft.Json.Bson.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\newtonsoft.json\11.0.2\lib\netstandard2.0\Newtonsoft.Json.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.AppContext.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Buffers.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Collections.Concurrent.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Collections.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Collections.Immutable.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Collections.NonGeneric.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Collections.Specialized.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.ComponentModel.Annotations.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.ComponentModel.DataAnnotations.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.ComponentModel.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.ComponentModel.EventBasedAsync.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.ComponentModel.Primitives.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.ComponentModel.TypeConverter.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Configuration.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Console.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Core.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Data.Common.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Data.DataSetExtensions.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Data.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Diagnostics.Contracts.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Diagnostics.Debug.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Diagnostics.DiagnosticSource.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Diagnostics.FileVersionInfo.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Diagnostics.Process.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Diagnostics.StackTrace.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Diagnostics.TextWriterTraceListener.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Diagnostics.Tools.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Diagnostics.TraceSource.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Diagnostics.Tracing.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Drawing.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Drawing.Primitives.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Dynamic.Runtime.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Globalization.Calendars.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Globalization.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Globalization.Extensions.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.IO.Compression.Brotli.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.IO.Compression.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.IO.Compression.FileSystem.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.IO.Compression.ZipFile.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.IO.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.IO.FileSystem.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.IO.FileSystem.DriveInfo.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.IO.FileSystem.Primitives.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.IO.FileSystem.Watcher.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.IO.IsolatedStorage.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.IO.MemoryMappedFiles.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.IO.Pipes.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.IO.UnmanagedMemoryStream.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Linq.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Linq.Expressions.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Linq.Parallel.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Linq.Queryable.dll" /reference:C:\Users\Zdravko\.nuget\packages\system.memory.data\1.0.1\lib\netstandard2.0\System.Memory.Data.dll /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Memory.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Net.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Net.Http.dll" /reference:C:\Users\Zdravko\.nuget\packages\microsoft.aspnet.webapi.client\5.2.4\lib\netstandard2.0\System.Net.Http.Formatting.dll /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Net.HttpListener.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Net.Mail.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Net.NameResolution.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Net.NetworkInformation.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Net.Ping.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Net.Primitives.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Net.Requests.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Net.Security.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Net.ServicePoint.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Net.Sockets.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Net.WebClient.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Net.WebHeaderCollection.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Net.WebProxy.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Net.WebSockets.Client.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Net.WebSockets.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Numerics.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Numerics.Vectors.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.ObjectModel.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Reflection.DispatchProxy.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Reflection.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Reflection.Emit.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Reflection.Emit.ILGeneration.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Reflection.Emit.Lightweight.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Reflection.Extensions.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Reflection.Metadata.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Reflection.Primitives.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Reflection.TypeExtensions.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Resources.Reader.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Resources.ResourceManager.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Resources.Writer.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Runtime.CompilerServices.Unsafe.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Runtime.CompilerServices.VisualC.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Runtime.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Runtime.Extensions.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Runtime.Handles.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Runtime.InteropServices.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Runtime.InteropServices.RuntimeInformation.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Runtime.InteropServices.WindowsRuntime.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Runtime.Intrinsics.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Runtime.Loader.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Runtime.Numerics.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Runtime.Serialization.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Runtime.Serialization.Formatters.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Runtime.Serialization.Json.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Runtime.Serialization.Primitives.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Runtime.Serialization.Xml.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\system.security.accesscontrol\4.5.0\ref\netstandard2.0\System.Security.AccessControl.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Security.Claims.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Security.Cryptography.Algorithms.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Security.Cryptography.Csp.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Security.Cryptography.Encoding.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Security.Cryptography.Primitives.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Security.Cryptography.X509Certificates.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\system.security.cryptography.xml\4.5.0\ref\netstandard2.0\System.Security.Cryptography.Xml.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Security.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\system.security.permissions\4.5.0\ref\netstandard2.0\System.Security.Permissions.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Security.Principal.dll" /reference:"c:\program files\dotnet\sdk\NuGetFallbackFolder\system.security.principal.windows\4.5.0\ref\netstandard2.0\System.Security.Principal.Windows.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Security.SecureString.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.ServiceModel.Web.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.ServiceProcess.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Text.Encoding.CodePages.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Text.Encoding.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Text.Encoding.Extensions.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Text.Encodings.Web.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Text.Json.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Text.RegularExpressions.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Threading.Channels.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Threading.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Threading.Overlapped.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Threading.Tasks.Dataflow.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Threading.Tasks.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Threading.Tasks.Extensions.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Threading.Tasks.Parallel.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Threading.Thread.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Threading.ThreadPool.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Threading.Timer.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Transactions.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Transactions.Local.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.ValueTuple.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Web.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Web.HttpUtility.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Windows.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Xml.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Xml.Linq.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Xml.ReaderWriter.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Xml.Serialization.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Xml.XDocument.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Xml.XmlDocument.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Xml.XmlSerializer.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Xml.XPath.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.Xml.XPath.XDocument.dll" /reference:"c:\program files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\WindowsBase.dll" /debug- /debug:portable /filealign:512 /optimize+ /out:obj\Release\netcoreapp3.1\func.dll /target:library /warnaserror- /utf8output /deterministic+ /langversion:8.0 /analyzerconfig:obj\Release\netcoreapp3.1\func.GeneratedMSBuildEditorConfig.editorconfig /analyzer:"c:\program files\dotnet\sdk\NuGetFallbackFolder\microsoft.aspnetcore.mvc.analyzers\2.2.0\analyzers\dotnet\cs\Microsoft.AspNetCore.Mvc.Analyzers.dll" /analyzer:C:\Users\Zdravko\.nuget\packages\microsoft.codeanalysis.analyzers\1.1.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.Analyzers.dll /analyzer:C:\Users\Zdravko\.nuget\packages\microsoft.codeanalysis.analyzers\1.1.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Analyzers.dll FileParser.cs "obj\Release\netcoreapp3.1\.NETCoreApp,Version=v3.1.AssemblyAttributes.cs" obj\Release\netcoreapp3.1\func.AssemblyInfo.cs /warnaserror+:NU1605
2>func -> D:\source\repos\Azure\19. Labs\07\Starter\func\bin\Release\netcoreapp3.1\func.dll
2>func -> D:\source\repos\Azure\19. Labs\07\Starter\func\obj\Release\netcoreapp3.1\PubTmp\Out\
2>Publishing D:\source\repos\Azure\19. Labs\07\Starter\func\obj\Release\netcoreapp3.1\PubTmp\func - 20220518123227977.zip to https://securefunczrz.scm.azurewebsites.net/api/zipdeploy...
2>The "ZipDeployTask" task failed unexpectedly.
2>System.AggregateException: One or more errors occurred. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: {. Path 'build_summary', line 1, position 479.
2> at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)
2> at Newtonsoft.Json.JsonTextReader.ReadAsString()
2> at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id)
2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
2> at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
2> at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
2> at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
2> at Microsoft.NET.Sdk.Functions.MSBuild.Tasks.ZipDeploymentStatus.<InvokeGetRequestWithRetryAsync>d__11`1.MoveNext() in /_/src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeploymentStatus.cs:line 100
2>--- End of stack trace from previous location where exception was thrown ---
2> at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2> at Microsoft.NET.Sdk.Functions.MSBuild.Tasks.ZipDeploymentStatus.<GetDeploymentStatusAsync>d__10.MoveNext() in /_/src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeploymentStatus.cs:line 68
2>--- End of stack trace from previous location where exception was thrown ---
2> at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2> at Microsoft.NET.Sdk.Functions.MSBuild.Tasks.ZipDeploymentStatus.<PollDeploymentStatusAsync>d__9.MoveNext() in /_/src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeploymentStatus.cs:line 49
2>--- End of stack trace from previous location where exception was thrown ---
2> at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2> at Microsoft.NET.Sdk.Functions.Tasks.ZipDeployTask.<ZipDeployAsync>d__26.MoveNext() in /_/src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeployTask.cs:line 111
2> --- End of inner exception stack trace ---
2> at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2> at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2> at Microsoft.NET.Sdk.Functions.Tasks.ZipDeployTask.Execute() in /_/src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeployTask.cs:line 42
2> at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
2> at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()
2>---> (Inner Exception #0) Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: {. Path 'build_summary', line 1, position 479.
2> at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)
2> at Newtonsoft.Json.JsonTextReader.ReadAsString()
2> at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id)
2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
2> at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
2> at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
2> at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
2> at Microsoft.NET.Sdk.Functions.MSBuild.Tasks.ZipDeploymentStatus.<InvokeGetRequestWithRetryAsync>d__11`1.MoveNext() in /_/src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeploymentStatus.cs:line 100
2>--- End of stack trace from previous location where exception was thrown ---
2> at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2> at Microsoft.NET.Sdk.Functions.MSBuild.Tasks.ZipDeploymentStatus.<GetDeploymentStatusAsync>d__10.MoveNext() in /_/src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeploymentStatus.cs:line 68
2>--- End of stack trace from previous location where exception was thrown ---
2> at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2> at Microsoft.NET.Sdk.Functions.MSBuild.Tasks.ZipDeploymentStatus.<PollDeploymentStatusAsync>d__9.MoveNext() in /_/src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeploymentStatus.cs:line 49
2>--- End of stack trace from previous location where exception was thrown ---
2> at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2> at Microsoft.NET.Sdk.Functions.Tasks.ZipDeployTask.<ZipDeployAsync>d__26.MoveNext() in /_/src/Microsoft.NET.Sdk.Functions.MSBuild/Tasks/ZipDeployTask.cs:line 111<---
2>
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========
2>FunctionApp -> C:\Users\srinivas.j\source\repos\FunctionApp\bin\Release\netcoreapp3.1\FunctionApp.dll
2>FunctionApp -> C:\Users\srinivas.j\source\repos\FunctionApp\obj\Release\netcoreapp3.1\PubTmp\Out\
2>Publishing C:\Users\srinivas.j\source\repos\FunctionApp\obj\Release\netcoreapp3.1\PubTmp\FunctionApp - 20220518230557.zip to https://a159.scm.azurewebsites.net/api/zipdeploy...
2>The "ZipDeployTask" task failed unexpectedly.
2>System.AggregateException: One or more errors occurred. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: {. Path 'build_summary', line 1, position 478.
2> at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)
2> at Newtonsoft.Json.JsonTextReader.ReadAsString()
2> at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id)
2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
2> at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
2> at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
2> at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
2> at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
2> at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
2> at Microsoft.NET.Sdk.Functions.MSBuild.Tasks.ZipDeploymentStatus.
I'm having exactly the same problem to publish.
Had the same issue suddenly today, but seems to now be resolved by updating Microsoft.NET.Sdk.Functions
from v4.0.0
to v4.1.1
:
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="4.1.1" />
@cajuncoding that worked for me thanks
Indeed, the latest packages have been published with the fix for this issue. Please upgrade to version 4.1.1 to address the problem.
Thank you all for the patience and for reporting this!
Closing as resolved, but please let us know if you have any issues with this. Thanks!
Thank you! The package update fixed my issues as well
Will update packages shortly, but want to say thanks for resolving this! 👍
Cool , 4.1.1 worked. !! Thank you
Same problem with 4.1.1 today, I landed this issue and updated Microsoft.NET.Sdk.Functions
from 4.1.1
to 4.1.3
and problem solved.
had this same issue , restarted the internet , worked fine
And this problem is back for .NET 8.
Summary:
I have a number of Azure Functions (V3, .NET 3.1) that I've previously deployed via VS2022 with no issues, to Linux consumption plan. They've all now started failing to publish with the same error (full stack trace further down in repro steps):
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: {. Path 'build_summary', line 1, position 489
I've tried:
Known Workarounds:
Related Info
My last successful deployment from VS was around 27th April - yesterday (9th May) was the first time I've needed to deploy since. I found someone else also hitting this issue after a quick Google - they raised this Q on StackOverflow about it yesterday: https://stackoverflow.com/questions/72166646/azure-functions-v3-vs2019-22-publish-failing-on-linux-app-with-a-newtonsoft-erro
Repro:
1) Create a new Function App in VS2022 with standard templated HTTP trigger - .NET 3.1 2) Create a new Function App in Azure Portal, Linux Consumption Plan hosting model 3) In VS2022 - right click Function App -> Publish -> Choose Azure target -> Choose "Azure Function App (Linux)" -> Select the app to deploy to 4) OK all that, now shows "Ready to publish" (Zip Deploy profile is selected) 5) Click Publish 6) "An error has occured" dialog appears, directing to a log file which contains:
7) The Output window in VS shows this stack trace: