Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running 'dotnet dockerize' : 'Version for package Brthor.Dockerize.NET could not be resolved.' #12

Closed
pieterclaerhout opened this issue Jan 31, 2020 · 3 comments

Comments

@pieterclaerhout
Copy link

I'm having the same issue as #9 (and I'm running it on a mac using .NET Core 3.1):

Screenshot 2020-01-31 at 16 27 55

Any idea what I might be doing wrong?

@brthor
Copy link
Owner

brthor commented Jan 31, 2020

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.

@pieterclaerhout
Copy link
Author

I got slightly further, but it seems that it's not compatible with .NET Core 3.1 and requires .NET Core 2.0…

Screenshot 2020-02-01 at 10 40 20

Any chance you can make it compatible with .NET Core 3.1?

@brthor
Copy link
Owner

brthor commented Feb 4, 2020

#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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants