-
Notifications
You must be signed in to change notification settings - Fork 288
Closed
Description
Description
LUT does not work out of the box for web projects with unit tests created using VS 2017. Considering that web projects are used a lot in enterprise and LUT is key selling points for VS Enterprise, LUT should work out of the box for new web projects with unit tests. But it doesn't currently.
Steps to reproduce
- Create C# (or VB) web application - "ASP.NET Web Application (.NET Framework)". You may need to install the appropriate willow workload to get Web projects.
- Check the "Add unit tests check box".

- Turn on LUT (Test->Live Unit Testing->Start).
Expected behavior
LUT is started
Actual behavior
[17:48:58.018 Error] No test adapters are referenced by this solution. If you have a test project, add a NuGet reference to a test adapter corresponding to the test framework used in order to run the tests. If you already have the required NuGet reference in your test project, performing a NuGet restore may resolve the issue.
[17:48:58.021 Info] Start failed.
[17:48:58.029 Info] Live Unit Testing stopped.
Looks like project template for the created unit test project is still adding a reference to the old 'MS.VS.QualityTools.UnitTestFramework.dll' instead of 'MS.VS.TestPlatform.TestFramework' nuget packages.
Environment
VS Build: d15PreRel.26423.1
Metadata
Metadata
Assignees
Labels
No labels