NO tests were run because no tests are loaded or the selected tests are disabled
Posted on 2011-03-01
When I compile my UnitTest (C#) project I am getting below error.
The "BuildShadowTask" task failed unexpectedly.
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean& taskResult) UnitTest
And also, when I run it , it says - NO tests were run because no tests are loaded or the selected tests are disabled
Please help me. how can I run my UnitTest. This is one of the projects in my application.