There is a version conflict detected when trying to install Microsoft.EntityFrameworkCore.Tools for example.
How can this be fixed?
u
_tommadden
01/04/2024, 10:53 AM
Out of curiosity I tried this and the error message said to install microsoft.codeanalysis version 4.8 to your project to resolve this. I tried this and it did solve the issue (well at least as far as building and running the project as that's all I tested)
n
Navorski
01/04/2024, 12:13 PM
omg 🙂 you are right indeed. i am so used to work with this, install it, never have any issues, and now all of a sudden i indeed need to install codeanalysis. it is working. thank you a lot.
f
Florent Grandjean
02/12/2024, 12:19 PM
Got the issue with Microsoft.EntityFrameworkCore.Design and this is not resolving the issue. Still can't compile
u
_tommadden
02/12/2024, 3:34 PM
What error do you get? I just tried this with the solution I had used for the previous answer ( with microsoft.codeanalysis installed) and it worked for me without any issue.
@A09 Thanks a lot it did the trick. Just microsoft.codeanalysis didn't work for me. In between I solved it by re-using the old pocco in place of EF (it's just for one custom table). But I tested anyway and it's working fine so thanks. It's just very annoying to lose half a day for Microsoft shi... like that 😉