-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Labels
VSCodeIssues or PRs specific to VS Code extensionIssues or PRs specific to VS Code extensionbugSomething isn't workingSomething isn't working
Description
Severity
P3 - Medium (Minor functionality affected)
Describe the Bug with repro steps
Expected behaviour:
- If no changes have been made to the custom code project, the designer should not rebuild it when opening a new designer tab
Actual behaviour:
- Custom code project gets rebuilt every time. This means I have to wait approx. 20 seconds for every workflow I open.
- Sometimes the project cannot be built and deployed to the lib folder because some process holds a lock on it. I have to manually kill processes - this adds another 20 - 25 seconds because I have to rebuild again otherwise my function definitions will be broken in my workflow.
Notes:
- The issue with builds not completing due to processes not being killed after debugging was resolved at one point, and has now become an issue again
- I have migrated this
.csprojfile from a project that was initialized with an old version of the extension so there may be issues with how I copied over settings from a new project. - There seems to be 4-5 places that settings are checked. It would be really nice to have 1 document where I can see which settings are set in which place. I'd like to know how these are used:
LogicApp/local.settings.jsonLogicApp/workflow-designtime/*LogicApp/.vscode/*Functions/.vscode/*(assuming you call your custom code project "Functions")Functions/Functions.csproj
This is my .csproj
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<IsPackable>false</IsPackable>
<TargetFramework>net8</TargetFramework>
<AzureFunctionsVersion>v4</AzureFunctionsVersion>
<OutputType>Library</OutputType>
<PlatformTarget>AnyCPU</PlatformTarget>
<LogicAppFolderToPublish>$(MSBuildProjectDirectory)\..\LogicApp</LogicAppFolderToPublish>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<SelfContained>false</SelfContained>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Abstractions" Version="1.3.0" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.15.1" />
<PackageReference Include="Microsoft.Azure.Workflows.Webjobs.Sdk" Version="1.2.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="../../Shared/Shared.csproj" />
<ProjectReference Include="../../../../Core/Core.csproj" />
</ItemGroup>
<Target Name="TriggerPublishOnBuild" AfterTargets="Build">
<CallTarget Targets="Publish" />
</Target>
</Project>I have also tried <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> but I think the issue is that it attempts to build when it doesn't need to.
What type of Logic App Is this happening in?
Standard (VSCode)
Are you experiencing a regression?
No response
Which operating system are you using?
Windows
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
Screenshots or Videos
No response
Environment
vscode info:
Version: 1.107.1 (system setup)
Commit: 994fd12f8d3a5aa16f17d42c041e5809167e845a
Date: 2025-12-17T14:15:14.850Z
Electron: 39.2.3
ElectronBuildId: 12895514
Chromium: 142.0.7444.175
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Windows_NT x64 10.0.26200
Extension version: 5.230.15
Additional context
No response
Metadata
Metadata
Assignees
Labels
VSCodeIssues or PRs specific to VS Code extensionIssues or PRs specific to VS Code extensionbugSomething isn't workingSomething isn't working