Open ciwchris opened 3 days ago
I have the same Issue while running on Windows 11.
Same version of Rider, Azure Toolkit and Azure Function Core Tools.
I tried downgrading but the issue persisted on: Rider: 2024.1.6 Build 233.15026.35 Azure Toolkit: 3.50.01784-2024.1
I have the same issue. Not sure if upgrading Rider caused the issue, but it persisted after a downgrade.
For me, it looks like this workaround resolved the issue for now: Rider -> Settings -> Tools -> Azure -> Functions -- and then set Azure Function Version from 'Managed by Rider' to 'From environment PATH'.
Hi! Unfortunately, there is a possible bug in the Azure core tools feed https://github.com/Azure/azure-functions-tooling-feed/issues/587. We'll try to fix it on our side.
I have the same issue. Not sure if upgrading Rider caused the issue, but it persisted after a downgrade.
For me, it looks like this workaround resolved the issue for now: Rider -> Settings -> Tools -> Azure -> Functions -- and then set Azure Function Version from 'Managed by Rider' to 'From environment PATH'.
When switching away from the 'Managed By Rider' option, my function host fails to start with the following message
Azure Functions host did not return isolated worker process id. Could not attach the debugger. Check the process output for more information.
What arguments are you passing to the func cli?
Hello! The issue should be fixed in the 4.2.3 version. Please remove the v4
folder inside the {HOME FOLDER}/.AzureToolsForIntelliJ/AzureFunctionsCoreTools/
, the plugin should redownload core tools.
Nice work @rafaelldi - Can confirm it works after deleting V4 folder with the new version.
Thanks for checking!
Worked for me as well, @rafaelldi, thanks!
@rafaelldi Ive updated the plugin & deleted the v4 folder. The folder returns, but remains empty:
I've tried re-installing the plugin - any ideas?
@TheAxeDude Do you have <AzureFunctionsVersion>V3</AzureFunctionsVersion>
property in your project?
@rafaelldi no, in this project all are set to
<AzureFunctionsVersion>V4</AzureFunctionsVersion>
I'm investigating this
I use v4, removed the folder and still have the issue. I have removed the v4 folder and it appear back again, but I get the same error (Azure Functions host did not return isolated worker process id. Could not attach the debugger. Check the process output for more information.
).
I have also made sure no other Azure Core Tools were installed on my computer
For some reason it can no longer download, unzip and copy the Core Tools to ~/.AzureToolsForIntelliJ/AzureFunctionsCoreTools/v4. I see this error:
Can't unzip /tmp/AzureFunctions-v4-4.100.0.zip
Looking in my tmp
directory I see a AzureFunctions-v4-4.100.0.temp folder which contains the Core Tools. After manually copying the contents to ~/.AzureToolsForIntelliJ/AzureFunctionsCoreTools/v4 then Rider sees the Core Tools.
Although the "Create" button is still disabled
Looks like the fix only works on Windows. I'll make another fix. Really sorry for the inconvenience.
The workaround of using ENV PATH for Azure Functions works in Mac OS ARM64 using the latest versions of the IDE and the plugin. I hope it's possible to find a proper solution for this soon :)
I'm using: JetBrains Rider 2024.1.6
Azure Toolkit for Rider: 3.50.0.1784-2024.1
Hardware: Macbook Pro (Apple M2 Max) OS: macOS Sequoia Version 15.0 (24A335)
I'm still getting the issue. Changing ENV PATH dosn't work for me either as others are suggesting.
I'm using: JetBrains Rider 2024.1.6
Azure Toolkit for Rider: 3.50.0.1784-2024.1
Hardware: Macbook Pro (Apple M2 Max) OS: macOS Sequoia Version 15.0 (24A335)
I'm still getting the issue. Changing ENV PATH dosn't work for me either as others are suggesting.
Before finding this issue - I downloaded locally via Homebrew Azure functions toolkit. It was downloaded by default to opt folder. In the rider I gave that path and it worked
I'm using: JetBrains Rider 2024.1.6 Azure Toolkit for Rider: 3.50.0.1784-2024.1 Hardware: Macbook Pro (Apple M2 Max) OS: macOS Sequoia Version 15.0 (24A335) I'm still getting the issue. Changing ENV PATH dosn't work for me either as others are suggesting.
Before finding this issue - I downloaded locally via Homebrew Azure functions toolkit. It was downloaded by default to opt folder. In the rider I gave that path and it worked
Do you mind sharing the path?
I'm using: JetBrains Rider 2024.1.6
Azure Toolkit for Rider: 3.50.0.1784-2024.1
Hardware: Macbook Pro (Apple M2 Max) OS: macOS Sequoia Version 15.0 (24A335)
I'm still getting the issue. Changing ENV PATH dosn't work for me either as others are suggesting.
Not sure if you are running into the same issue as me, but in order to use ENV PATH you need to install Azure Functions Toolkit yourself. If you use Homebrew you can run this:
brew tap azure/functions
brew install azure-functions-core-tools@4
This should update your Environment Path which Rider can then use.
I'm using: JetBrains Rider 2024.1.6 Azure Toolkit for Rider: 3.50.0.1784-2024.1 Hardware: Macbook Pro (Apple M2 Max) OS: macOS Sequoia Version 15.0 (24A335) I'm still getting the issue. Changing ENV PATH dosn't work for me either as others are suggesting.
Not sure if you are running into the same issue as me, but in order to use ENV PATH you need to install Azure Functions Toolkit yourself. If you use Homebrew you can run this:
brew tap azure/functions brew install azure-functions-core-tools@4
This should update your Environment Path which Rider can then use.
Thanks. Yeah i have tried that already but doesn't seem to work for me. Changing from Managed by Rider to ENV doesn't seem to have any impact. Tried restarting the IDE after the change as well.
Thanks. Yeah i have tried that already but doesn't seem to work for me. Changing from Managed by Rider to ENV doesn't seem to have any impact. Tried restarting the IDE after the change as well.
For what it's worth, after selecing "From Environment PATH" and Saving, the path was changed to /opt/homebrew/Cellar/azure-functions-core-tools@4/4.0.6280/func
.
Thanks. Yeah i have tried that already but doesn't seem to work for me. Changing from Managed by Rider to ENV doesn't seem to have any impact. Tried restarting the IDE after the change as well.
For what it's worth, after selecing "From Environment PATH" and Saving, the path was changed to
/opt/homebrew/Cellar/azure-functions-core-tools@4/4.0.6280/func
.
Thanks for your help @PoyaManouchehri.
Didn't help for some reason, it's not setting the correct path for me when I do apply this change.
Alright got it to work. Got a new update for Rider, after upgrading. It still didn't work for me. After the update, I deleted v4 folder for Rider's path and after that, it didn't download it.
Eventually, I uninstalled the function tools, installed them again. change the setting to read from ENV in Rider and it started working for me.
I just downloaded Rider. When starting up Rider for the first time when prompted for plugins I selected the Azure Toolkit for Rider. Rider finished starting up.
I click the "New Solution" icon and selected "Azure Functions. I'm presented with a window prompting me to "Download Azure Function Core Tools". I click the link. It downloads the tools. I click "Configure Azure Function Core Tools". A window pops up showing me the Core Tools Paths for each version of the tools, which are set to "Managed by Rider". I confirm the "Tool download path" contains a downloaded version of the Core Tools. I click "Save", even though I made no changes. I'm still presented with the page prompting me to download the Core Tools.
I've also tried to manually download the Core Tools through npm as well as from the releases page in GitHub. I then update the v4 path in Rider to either of these versions of the Core Tools. Yet the page still prompts me to download the Core Tools. Outside of Rider in the terminal I can run
func
just fine.Rider: Build #RD-242.23726.100, built on October 22, 2024 Azure Toolkit for Rider: 4.2.2 Azure Function Core Tools: 4.0.6280 Fedora Linux 41 Any ideas on why Rider does not detect the Core Tools?