Am not seeing DataRow attribute in visual studio 2015 professional edition RRS feed

  • Question

  • Am using Microsoft.VisualStudio.TestTools.UnitTesting;

    am not getting DataRow attribute  option. vs 2015 

    why it is not showing


    Wednesday, March 22, 2017 6:30 PM

All replies

  • 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:

    1. Click Tools->NuGet package Manager->Package Manager Console
    2. 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
                  public void TestCheckSite(string site)

    In addition, this is the similar case link:


    Hope to help you!

    Best Regards,


    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.

    • Proposed as answer by Oscar_Wu Friday, March 24, 2017 1:48 AM
    Thursday, March 23, 2017 7:41 AM