Hi charantej,
Welcome to the MSDN forum!
According you description, you have not install package in your environment.
You can refer to below steps to install it:
- Click Tools->NuGet package Manager->Package Manager Console
- Type “Install-package MSTest.TestFramework” in
Package Manager Console window, like this:
PM> Install-package MSTest.TestFramework
3. After install the package, you could find two references in
References. As below screenshot:

This is some code in my side, it shows DataRow attribute
normal:
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Bank;
using System.IO;
using System.Data;
namespace UnitTestProject1
{
public class UnitTest3
{
[DataTestMethod]
[DataRow("GOOGLE")]
public void TestCheckSite(string site)
{
//…
}
}
}
In addition, this is the similar case link:
http://stackoverflow.com/questions/39373156/issues-using-datatestmethod-and-datarow-attributes-in-ms-test
Hope to help you!
Best Regards,
Oscar
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com.