question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NuGet based Logic App (Standard) does not build in Visual Studio

See original GitHub issue

I created a new single-tenant Logic App (Standard) using the Logic Apps (Standard) extension in Visual Studio Code. After that, I followed the documentation to migrate to a NuGet package-based (.NET) project.

When I try to build the project with the .NET CLI: dotnet build -c Debug and dotnet build -c Release, it builds fine.

However, when I try to build the project within Visual Studio 2019 with the Debug configuration, I’m getting the following error:

The "DebugSymbolGenerator" task failed unexpectedly.
System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
   at Microsoft.Azure.Workflows.BuildTasks.DebugSymbolGenerator.DebugSymbolGenerator.LogMessage(String message)
   at Microsoft.Azure.Workflows.BuildTasks.DebugSymbolGenerator.DebugSymbolGenerator.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()

When I try the same with the Release configuration in Visual Studio, the project builds just fine.

I attached an example solution as a .zip file that generates the above error:

TestLogicApp.zip

  • Visual Studio 2019 16.10.3
  • Microsoft.Azure.Workflows.WebJobs.Extension 1.1.3
  • Microsoft.NET.Sdk.Functions 3.0.9

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
hongzlicommented, Sep 20, 2021

Thanks for the feedback. Unfortunately we aren’t currently supporting VS development, but it is on the horizon and we will be adding support for it.

2reactions
gastonmuijtjenscommented, Jul 12, 2021

@hongzli @kaylumah I would like to add that since our Logic App is part of a solution (.sln) together with other related non-Logic App projects we currently have to unload the Logic App project within Visual Studio in order to build. Also the Visual Studio build task within a Windows-agent based build pipeline in Azure DevOps would not work and requires a separate build with the dotnet cli instead.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create Standard workflows with Visual Studio Code
Create Standard logic app workflows that run in single-tenant Azure Logic Apps using Visual Studio Code.
Read more >
Unable to deploy logic app from vs code. · Issue #453
Hi @Kalyan-Modak , when I deploy Logic app standard to Azure( right click), VScode will pop-up to let you choose a subscription, target...
Read more >
Not able to create Azure Logic App workflow using Visual ...
i had the same issue. In my case the solution was to go under Control Panel and uninstall Azure Function Core Tool (4.x)...
Read more >
Azure Logic Apps (Standard)
In Visual Studio Code, you can use the Azure Logic Apps (Standard) extension to quickly create, debug, manage, and deploy logic apps ......
Read more >
What is new in Logic Apps v2
Azure Logic Apps are a no-code/low-code way of building workflows that ... Logic Apps V2 can be edited in Visual Studio Code using...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found