I am working with VS2013
, .NET4.5
I was looking to use Microsoft.VisualStudio.TestTools.UnitTesting.TestCategoryAttribute
on my tests to disable them in build server. I was unable to find it in Add reference -> Assemblies
so I figured to use nuget package. Originally I installed it via 'Package Manager Console'.
Now I am experiencing weird issue with Microsoft.VisualStudio.QualityTools.UnitTestFramework
nuget package. When I install it via Manage nuget packages
at project level I can't see it in references. If I try to install it again it shows install button, but when I click it nothing happens.
If search at Solution level when it finds package it shows green 'installed' checkbox but I am unable to find it in installed packages so have no way of enabling it for projects.
I have checked packages folder and files are there.
I can manually add reference by browsing to .dll
in packages folder but this does seem like a hack and I am pretty sure it will fail on build server.
And can remove it only manually by going to \packages
deleting .nupkg
and then removing reference from packages.config
.
Have you experienced something similar (maybe with one of other nuget packages)? What was the cause? How did you solve it?