I'm having trouble building a v3-preview project in my DevOps Git repo CI pipeline. Despite applying all of the upgrade steps you gave it's still looking for a Microsoft.NETCore.App 2.1.0 framework. dotnet build works locally. Deployment also works locally, and I have my function app running just fine, but not having CI/CD is a bottleneck.
Hi John I'm encountering the same issue. Did you find a solution?
It is compiling and running in my dev environment using .NET Core 3.0 but behind my Azure build Pipeline I get the following error
It was not possible to find any compatible framework version [/home/vsts/work/1/s/blah.csproj]
error : The specified framework 'Microsoft.NETCore.App', version '2.1.0' was not found.
error : - The following frameworks were found: [/home/vsts/work/1/s/blah.csproj]
error : 3.0.0 at [/opt/hostedtoolcache/dotnet/shared/Microsoft.NETCore.App]
error : [/home/vsts/work/1/s/blah.csproj]
I'm having trouble building a v3-preview project in my DevOps Git repo CI pipeline. Despite applying all of the upgrade steps you gave it's still looking for a Microsoft.NETCore.App 2.1.0 framework.
dotnet build
works locally. Deployment also works locally, and I have my function app running just fine, but not having CI/CD is a bottleneck.Hi John I'm encountering the same issue. Did you find a solution?
It is compiling and running in my dev environment using .NET Core 3.0 but behind my Azure build Pipeline I get the following error
It was not possible to find any compatible framework version [/home/vsts/work/1/s/blah.csproj]
error : The specified framework 'Microsoft.NETCore.App', version '2.1.0' was not found.
error : - The following frameworks were found: [/home/vsts/work/1/s/blah.csproj]
error : 3.0.0 at [/opt/hostedtoolcache/dotnet/shared/Microsoft.NETCore.App]
error : [/home/vsts/work/1/s/blah.csproj]
Was able to repro. Found a bug. Tracked here: github.com/Azure/azure-functions-v...
workaround is to make sure 2.x is on the build box as well. I changed my deploy script to this and it worked in the interim.