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.

Errors when trying to create a function in a sub folder

See original GitHub issue

Does this occur consistently? Yes Repro steps:

I am using a using multi-root workspace

In the last version of the extension, when creating a new function there was a browse button which allowed me to navigate to the scr folder in my workspace folder, this has been removed in the current version, so i looked in the settings and have added ‘/src’ Project Subfolder setting

I then click add azure function, when i has a popup asking to initial project to work with vs code (which seems odd since thats exactly what the button is supposed to do) so i click yes, and the error Failed to find csproj file in folder “src” is displayed in the bottom right.

If i add my own csproj it on adds the Function.css file none of the other stuff

Action: azureFunctions.createFunction Error type: Error Error Message: Failed to find csproj file in folder “src”.

Version: 1.7.2 OS: win32 OS Release: 10.0.22000 Product: Visual Studio Code Product Version: 1.62.3 Language: en

Call Stack
DotnetInitVSCodeStep.<anonymous> extension.bundle.js:2:4227981
fulfilled extension.bundle.js:2:4226731
processTicksAndRejections task_queues.js:93:5

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
EnenDaveyBoycommented, Aug 8, 2022

i am using the pallete option so alls good, but its hidden so less user friendly IMO

0reactions
EnenDaveyBoycommented, Aug 8, 2022

on the azure panel > workspace area > create function > then in the drop down add a browse option at present it on offers the workspace folders (multiple folder project) (its where it was before although it wasn’t called the workspace area at the time)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting error when trying to navigate folder, subfolders and files
It seems that somehow the object folder is converted into just a string with the folder's name. I get the error, which is...
Read more >
The resource cannot be found when i try to access subfolder ...
I think I understand what the error message is talking about: in IIS, I need to create new application for the rootfolder and...
Read more >
Trying to create function to create folders (and sub folders)
I'm using sp_OACreate in a scalar function to create a folder if it doesn't exist, and it works fine if you're asking it...
Read more >
Create subfolder and FileGeodatabase? - Esri Community
Solved: Hi, I have been trying to figure out why I keep running into this strange issue. ... the subfolder doesn't exist, so...
Read more >
Request contained some validation errors" Error in Content ...
This error occurs due to the limit of sub-folders that can be created. Per our system configuration, no more than 100 folders can...
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