johanclasson / vso-agent-tasks

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

DbUp migration Failed due to error "Cannot bind argument to parameter 'Path' because it is null." #35

Closed Vademag closed 6 years ago

Vademag commented 6 years ago

Last night my deployments started to fail due to DbUp VSTS Task. I have an error

"Cannot bind argument to parameter 'Path' because it is null."

I see that DbUp library was updated to stable 4.0 version yesterday.

I attached log file from this task. tasklog_15.log

johanclasson commented 6 years ago

Thanks for letting me know!

johanclasson commented 6 years ago

I have now locked the DbUp version to 3.3.5 until I have managed to migrate to 4.0.0. 30 minutes ago, I released a new version (1.1.3) of the task which hopefully will make everything working again.

The reason for not just packaging the dbup.dll in the task was that i should not have to release a new version of the task each time DbUp released a new version. Instead i made the task always installing the latest version, which now obviously was proved to be a bad idea.

Perhaps I should have made it so that it installed the latest 3.x.x.x version... Or to let the user decide, for example by setting the version in an input text field. I will need to think about how to do this properly!