✅ double the number of tests in Rider after upgraded to .net 7
Hello, today I upgraded my project to .net 7 version. But the doubling of the number of tests caught my attention. The reason for this is that it shows the tests according to both .net 6 and .net 7 versions (as seen in the image).
What is your opinion on this matter? Why do you think .net 6 version still appears in tests? How can I fix this?
Note: Clean/Build was done, .net 7 migration was made for all projects (including tests), tested by making package version changes, but the result did not change :/
Note 2: The number of tests is normal in Visual Studio, I am experiencing this problem in Rider.
20 Replies
What does your csproj look like
The actual text of it
the only time I had that was when I had 2 framework in target
Yes, u re right the issue shows this, but there isnt two target framework as seen
That's what I expected to see tbh
Merde
try to invalidate cache ? 🤔
you speak french 😱
Why its merde kjshkjdhs
How to do it, lemme search so
I don't haéve rider open
it's in the first tab I think 🤔
Was sorta a joke because xtreit is French
xD
KLJSKDSLKJSDH
More like well crap, now what
My native language is not English, so maybe I can't understand your jokes :d. But you mean its really crap
No, idiomatic of I really thought it was multi framework target, it's not, so now what could it be
Yep, now i see u :d
Now i will invalidate the cache
i will inform u after that
YEPPPP
It worked guys
Thanks a lot @🧨 New Years Mayor McCheese 🧨 @xtreit
I learned today how to clear Rider cache :)
How do you clear rider cache?
It means clear cache right?
yep
Honestly I just didn't know how to do it