Test Explorer detection detected if not run as administrator in Visual Studio 2017

I am running Visual Studio 2017 and Test Runner cannot detect Unit Tests if Visual Studio does not work as an administrator. Running as an administrator is nearly impossible at my new workplace.

As such...

Q: . How to get Test Explorer to detect Unit tests without an administrator?

enter image description here

UPDATE:
I confirmed the following ...

  • POSITIVE: Unit Test project configured to build
  • POSITIVE: the test project is a genuine Unit Test project (w / magic guids)
  • NEGATIVE: test preview not available in VS2017 Community Edition

enter image description here

+4
source share
1 answer

.


2 Microsoft.TestAdapter( Microsoft.VisualStudio.TestPlatform.TestFramework Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions). , NuGet Package Manager, 1.1.11 , 1.1.18 ( ).

Bin &/ Build Agents .


, . , VS : enter image description here


GUID:

#

{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}  

VB:

{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{F184B08F-C81C-45F6-A57F-5ABD9991F28F}

enter image description here


. , "". . . http://richallen.blogspot.com/2008/05/ms-test-re-enabling-ignored-tests.html

.

, , "" .

enter image description here


, [TestClass] , [TestMethod].


  • , . Test view
  • "" (F4) , Enabled

Test Project. , , , - GUID.


, 64- . , x86.


.


Visual Studio .vsmdi(visual studio test meta data). .

+3

Source: https://habr.com/ru/post/1679160/


All Articles