johanclasson / vso-agent-tasks

Build and Release Tasks for Visual Studio Online and Team Foundation Server
MIT License
20 stars 16 forks source link

DbUpMigration - Using deprecated task execution handler #60

Closed tillig closed 4 years ago

tillig commented 5 years ago

Version 2.1.1 of the task when running on hosted agents in Azure DevOps now emits a warning:

2019-07-24T18:14:29.3623007Z ##[warning]Task 'UpdateDatabaseWithDbUp' (2.1.1) is using deprecated task execution handler. The task should use the supported task-lib: https://aka.ms/tasklib

I'm unclear at the moment what exactly needs to be fixed to address the warning.

johanclasson commented 5 years ago

Thanks for reporting this. When I made the task there were no task-lib. Using it would be quite straight forward.

DecorteHannes commented 4 years ago

Are there any plans to fix this warning?

johanclasson commented 4 years ago

Yes. But I have simply not got the time to do it right now. You are more than welcome to send a pull request!

johanclasson commented 4 years ago

Just stumbled upon this blog post. Can it be an option instead of using the PowerShell SDK?