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.

Multiple Functions projects in multi-root workspace

See original GitHub issue

Hello!

I got that the extension now uses VSCode new workspace feature rather than plain old .sln files.

The problem is, VSCode settings are now embedded on a per project basis on its own .vscode directory making things harder to maintain.

I’m trying to have the following workspace to work:

image

The idea is to have multiple Functions apps under the same workspace using a single .code-workspace file and start/build everything when I press F5 (yeah, I’ve changed the Host port on each one and also added the compounds section as the picture show).

The problem is that if I do that, build fail miserably since it tried to build the same project multiple times and the files are in use. I guess MSBuild is not seeing each one of those projects as different ones.

I’m trying to make the same behaviour for both the developers who have VS2017 on Windows using the .sln as the ones on Mac OSX using VSCode and its workspace files.

Can someone shed a light on how can I achieve that?

Thanks!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
ejizbacommented, Mar 12, 2019

Interesting… I looked into this and couldn’t get it working with the existing extension. We’ll have to make changes on our side

1reaction
galvesribeirocommented, Mar 25, 2019

Nvm. After some changes on the files similar to what you did on the C# ones I was able to make it work.

I think it should be documented somewhere that we require those changes.

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multi-root Workspaces in Visual Studio Code
You can open and work on multiple project folders in Visual Studio Code ... a multi-root workspace, a "workspace" is just your project's...
Read more >
Work with multiple AL project folders within one workspace
Visual Studio Code offers the multi-root workspace feature, which enables grouping different project folders into one workspace.
Read more >
VS Code multi-root workspace with one top level git repo
You could simply define two workspaces, one for each projects, each one checked out in their own Git working tree using git sparse-checkout ......
Read more >
VS Code tips — Multi-root workspaces - YouTube
Today's VS Code tip: Multi-root workspacesMulti-root workspaces let you work with multiple folders in the same VS Code window.
Read more >
Multi-root workspace with a non-GitLab project doesn't work ...
Multi-root workspace with a non-GitLab project doesn't work: Error: 404 ... I get an error popup that says, e.filter is not a function...
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