Open eugenedent opened 3 years ago
I ran into this issue (on Windows). In the project directory, remove bin and obj folder, then rebuild. It solved the issue for me.
This issue still exists. And as ngamanning said, it also happens with Windows. I updated the core tools this week, and created a new dotnet isolated project with .NET 8 and added one HTTP trigger using the command-line tool. I have to do the delete operation every time I want to start the func start
.
Core Tools Version: 4.0.5530 Commit hash: N/A +c8883e7f3c06e2b424fbac033806c19d8d91418c (64-bit) Function Runtime Version: 4.28.5.21962
I have the same problem. Migrated an in-process functions project with .NET 6 to an isolated functions project with .NET 8.
Searching for all the *.csproj
files, it also finds one in the obj/
folder.:
basilfx:My.Project/ $ find . -type f -name "*.csproj"
./obj/Debug/net8.0/WorkerExtensions/WorkerExtensions.csproj
./My.Project.csproj
Running 4.0.5530 on macOS.
Visual Studio 2019 for MAC, all latest updates. I have 3 projects in Function solution. Everything was running fine until an update today. It still runs fine, but when run the it I get an error: "Can't determine Project to build. Expected 1 .csproj or .fsproj but found 3" Function was V2, I upgraded to V3. .NET Core 3.1. References seem to be set correctly. Any suggestions?