Visual-Studio – How to Clear the [Ignore] cache of the test method? (No need to restart Visual Studio)

I have some tests marked as [Ignore], but now, I want to run them again, so I deleted the [Ignore] attribute, but Visual Studio still treats them as ignored.

What can I do to clear the cache without ignoring the test?

Update:

It looks like this data is stored in the vsmdi file:

So it is necessary to delete the vsdmi file or regenerate it in other ways.

However, visual studio caches it, so restart Visual studio seems to solve the problem (sometimes at least).

I also have this problem.

< /p>

You can manually change the .vsmdi file or delete it. If you open the test view again (after deletion), it will generate a new file.

In addition, the test settings you choose may The same problem will occur. It will also “cache” it.

I have some tests marked as [Ignore], but now, I want to run them again, so I deleted the [Ignore] attributes, but Visual Studio still treats them as ignored.

What can I do to clear the cache and no longer ignore the test?

Update:

It looks like this data is stored in the vsmdi file:

So it is necessary to delete the vsdmi file or regenerate it in other ways.

However, visual studio caches it, so restart Visual studio seems to solve the problem (sometimes at least).

I also have this problem.

You can manually change the .vsmdi File or delete it. If you open the test view again (after deleting), it will generate a new file.

In addition, the same problem may occur with the test setup you selected. It will also be “cached” It.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1940 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.