Dockerize.NET
Dockerize.NET copied to clipboard
Error running 'dotnet dockerize' : 'Version for package `Brthor.Dockerize.NET` could not be resolved.'
I'm having the same issue as #9 (and I'm running it on a mac using .NET Core 3.1):

Any idea what I might be doing wrong?
This tool has not been tested with dotnet core 3.1, but preliminary research shows that it should still work.
To start, I would suggest deleting your bin/obj folders for the project, re-restoring, and testing again if the version cannot be resolved. This will force recreation of nuget's intermediate files, which may be part of the issue.
If that does not work, please provide the output of dotnet info
and I will try for a repro.
I got slightly further, but it seems that it's not compatible with .NET Core 3.1 and requires .NET Core 2.0…

Any chance you can make it compatible with .NET Core 3.1?
#13 is tracking compatibility.
In the meantime, an easy solution is to install the 2.0 framework from the link provided in the error description. Different versions of the framework can exist side-by-side so it should not affect existing projects.