You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 9, 2018. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 9, 2018. It is now read-only.
.NET 4.5.1 test runs fail with "EXEC : warning : No test is available" #248
Since xUnit published RC1 bits, many .NET 4.5.1 test runs have started to fail with the above error. Such runs do not execute any tests. This reduces our test coverage across the repos. For example, MVC has dropped from running 6968 tests to just 3638,
Moving our xUnit dependencies back to 2.2.0-beta5-build3474 seems to work in the Performance repo. But, that's not the right fix. Should instead adjust EntityFramework, Performance , and Testing to whatever has changed in xUnit. Start with Testing because other repos use its xUnit extensions.
.NET 4.5.1 is obsolete and unsupported by Microsoft. .NET 4.5.2 is the minimum version with support. Your unit tests need to be for .NET 4.5.2 but they can still reference .NET 4.5 libraries (as per normal referencing rules).
Time to update all test projects to executing using .NET 4.5.2 instead of 4.5.1. Because it's not clear whether anything else will need to change, follow the checklist below:
Activity
dougbu commentedon Feb 13, 2017
Self-assigning
dougbu commentedon Feb 13, 2017
Not 💯% sure but it appears xUnit has dropped .NET 4.5.1 support. Filed xunit/xunit#1102 in hopes this was unintended.
clairernovotny commentedon Feb 13, 2017
.NET 4.5.1 is obsolete and unsupported by Microsoft. .NET 4.5.2 is the minimum version with support. Your unit tests need to be for .NET 4.5.2 but they can still reference .NET 4.5 libraries (as per normal referencing rules).
dougbu commentedon Feb 13, 2017
Time to update all test projects to executing using .NET 4.5.2 instead of 4.5.1. Because it's not clear whether anything else will need to change, follow the checklist below:
RazorTooling(no longer in use)natemcmaster commentedon Feb 13, 2017
I've been meaning to make the following change anyways...as long as you are updating all test projects, can we make this change too?
Any project that targets:
should change to
This will mean only .NET Core compiles and tests on Linux. cref aspnet/KoreBuild#160
Bump test projects up to .NET 4.5.2
Bump test projects up to .NET 4.5.2
Bump test projects up to .NET 4.5.2
Bump test projects up to .NET 4.5.2
Bump test projects up to .NET 4.5.2
Bump test projects up to .NET 4.5.2
Bump test projects up to .NET 4.5.2
Bump test projects up to .NET 4.5.2
Bump test projects up to .NET 4.5.2
45 remaining items
Bump test projects up to .NET 4.5.2
Bump test projects up to .NET 4.5.2
Bump test projects up to .NET 4.5.2
Bump test projects up to .NET 4.5.2
Bump test projects up to .NET 4.5.2
Bump test projects up to .NET 4.6.2
Bump test projects up to .NET 4.6.2
Bump test projects up to .NET 4.5.2
Bump test projects up to .NET 4.5.2
Bump test projects up to .NET 4.5.2
Bump test projects up to .NET 4.5.2
Bump test projects up to .NET 4.5.2