Closed Dude5th closed 4 years ago
I’m sorry to hear that. If your projects are using .NET Core 2.x, and the agents are running .NET Core 3 I guess you could get this problem. One quick fix for this is to use a build again that are running VS2017, I think they are only using .NET Core 2.
Another way to fix this is to add Use .NET Core task first in the pipeline. If you enter 2.x as version .NET Core 2 should be used for the rest of the pipeline.
I think this should work. Give it a try and let me know what happens :-)
Both work well, thank you. For the second point, we used: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/tool/dotnet-core-tool-installer?view=azure-devops
My builds are failing now since the latest Task release it seems. Not just one project but all the projects that are using this Task Generator are failing. My log is: