pekspro / EF-Migrations-Script-Generator-Task

24 stars 7 forks source link

Add Verbose output flag #6

Closed podgito closed 5 years ago

podgito commented 5 years ago

Under the hood it seems you're using dotnet ef migrations script. Can you add the -v switch to output more detail. Or make this an option through the UI?

pekspro commented 5 years ago

Thanks for the suggestions. I must admin I wasn’t aware of that parameter :-) I guess it makes sense to add some kind of support for it. I’ll investigate it in a few days.

podgito commented 5 years ago

It's seems that the command doesn't output errors unless that flag is passed - strange! Might have a look at creating a PR for it. It will be a good exercise towards learning how to create my own VSTS tasks.

pekspro commented 5 years ago

@podgito , as a temporary solution you could use the .NET Core task instead and use a custom command and enter the parameters manually.

Feel free to make an PR if you want to :-) Otherwise my plan is to add this in the coming weekend. Should be quite straightforward to do.

pekspro commented 5 years ago

Now I’ve updated this task so that the --verbose flag is always used on execution. I hope it works as expected :-)