TypeLoadException for Nuke.Docker when using DockerTasks #696
-
I have the following code in my target CreateDatabase that looks like compileable in Visual Studio:
and in my csproj I have First reference came in by default and the second reference I have added with using nuget package manager to try to install Nuke.Docker library. So this is all valid by me. When I run: nuke CreateDatabase I get first the following warnings: and then I get the following error in powershell shell: TypeLoadException: Method 'get_ProcessCustomLogger' in type 'Nuke.Docker.DockerCommitSettings' from assembly 'Nuke.Docker, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. I know I should be able to solve this problem on my own if I know just a little bit of ABC of c# LOL, but this is so magical for the moment to me. Does somebody have an idea what should I actually do? Where is this Nuke.Docker, Version=1.0.0.0 coming from although I have 0.4.0 as a reference? The version 1.0.0 does not even exist, so how could I be even getting this message as a feedback? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The |
Beta Was this translation helpful? Give feedback.
The
Nuke.Docker
package is deprecated. Where did you get that from?