feat(vscode): Add function to create and update solution file with Logic App .csproj #6721
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Work Item Links
Type of Change
Current Behavior
Feature Context:
Currently, there is no automated way to create a solution file (
.sln
) and add the Logic App.csproj
file within the test directory. Users have to manually create a solution file and register the project.Bug Context:
When a user creates a unit test in a multi-project setup, the incorrect project may be selected, leading to invalid workflow creation.
New Behavior & Fixes
Feature Enhancement:
This PR introduces the
updateSolutionWithProject
function, which automates the following steps:Tests.sln
) if one does not already exist in the test directory..csproj
file from the test directory..csproj
file to the solution usingdotnet sln add
.This enhancement ensures seamless project setup for Logic App solutions.
Bug Fix:
Expected Behavior:
Actual Behavior:
Repro Steps:
Proposed Fix:
Acceptance Criteria:
Impact of Change
(No breaking changes; this is a feature addition and bug fix.)
Test Plan
Screenshots or Videos (if applicable)
*(Attach any relevant screenshots or recordings showing the fix in action.)