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
Upgrade project to net core 6 #19
Comments
Hi. Can you tell me what kind of issue you're facing exactly with the dependencies? Is it something blocking or is there a workaround? For dependency versions (such as newtonsoft) you can usually fix the conflicts by adding the dependency (in this case version 13) in your own project. This tells it to break the conflict by using the version you specified. I don't currently have plans to work on this so it's unlikely I can put time into updating the .net target version. |
I have multiple projects in a solution. One of them uses newtonsort.json.dll version 12 (not 13 -sorry). But as MR.AspNetCore.Jobs uses verison 10, when I deploy the project, it includes version 10, therefore failing to load the assembly of verison 13 in the other project. |
I feel this shouldn't happen. Can you try explicitly adding a dep to version 12 in the executable project and try it out? I think this should work. |
I have tried that already in all possible ways, but the publisher always includes the wrong version :-( |
If you can give me a link to a small repro that shows the problem I might be able to think of something. Because I tried including this in one of my .net 6 projects and the published version for newtonsoft was the latest, so I'm not able to repro your problem. Unfortunately I can't right now update this to .net 6 (or json dep) without code changes, as that would mean the latest version will stop working with older tfms. |
I found this issue; |
Oh. Did you try running the publish command against the csproj instead of the solution to see if it solves the problem? Several people seem to be suggesting it: dotnet/sdk#3886 (comment) |
Problem is, that the solution includes 3 projects and the MVC project (the one I try to publish), has the other two as dependencies. |
Hi Mohammad, have you got any plans to update the project to net core 6.0?
I am using 6.0 and it is generelly working fine but I have started getting some issues with dependencies.
(for example newtonsort.json.dll is on version 10 but there is now a version 13)
Thanks
The text was updated successfully, but these errors were encountered: