C
C#6mo ago
BekirK

✅ 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.
No description
No description
20 Replies
Mayor McCheese
Mayor McCheese6mo ago
What does your csproj look like The actual text of it
x0rld
x0rld6mo ago
the only time I had that was when I had 2 framework in target
BekirK
BekirK6mo ago
No description
BekirK
BekirK6mo ago
Yes, u re right the issue shows this, but there isnt two target framework as seen
Mayor McCheese
Mayor McCheese6mo ago
That's what I expected to see tbh Merde
x0rld
x0rld6mo ago
try to invalidate cache ? 🤔 you speak french 😱
BekirK
BekirK6mo ago
Why its merde kjshkjdhs How to do it, lemme search so
x0rld
x0rld6mo ago
I don't haéve rider open it's in the first tab I think 🤔
Mayor McCheese
Mayor McCheese6mo ago
Was sorta a joke because xtreit is French
x0rld
x0rld6mo ago
xD
BekirK
BekirK6mo ago
KLJSKDSLKJSDH
Mayor McCheese
Mayor McCheese6mo ago
More like well crap, now what
BekirK
BekirK6mo ago
My native language is not English, so maybe I can't understand your jokes :d. But you mean its really crap
Mayor McCheese
Mayor McCheese6mo ago
No, idiomatic of I really thought it was multi framework target, it's not, so now what could it be
BekirK
BekirK6mo ago
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 :)
Mayor McCheese
Mayor McCheese6mo ago
How do you clear rider cache?
BekirK
BekirK6mo ago
It means clear cache right?
x0rld
x0rld6mo ago
yep
Mayor McCheese
Mayor McCheese6mo ago
Honestly I just didn't know how to do it