I'm trying to build this Visual Studio C# Solution : TreeViewAdv
I get compile errors like this:
Using Directive is unnecessary The type or namespace name 'VisualStudio' could not be found (are you missing a using directive or an assembly reference?)
on the line:
using Microsoft.VisualStudio.TestTools.UnitTesting;
So I remove that line I get this error:
Error CS0246 The type or namespace name 'TestClass' could not be found (are you missing a using directive or an assembly reference?)
This question says to add a reference, but I don't see the reference it refers to.
What gives?
Code example:
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Text;
using System.Collections.Generic;
using Aga.Controls.Tree;
using System.Collections.ObjectModel;
namespace Aga.Controls.UnitTests
{
/// <summary>
///This is a test class for Aga.Controls.Tree.TreeNodeAdv and is intended
///to contain all Aga.Controls.Tree.TreeNodeAdv Unit Tests
///</summary>
[TestClass()]
public class TreeNodeAdvTest
{
private TestContext testContextInstance;
Edit:
In response to the "duplicate" flag:
The directory C:\Program Files\Microsoft Visual Studio 12.0\Common7\IDE
does not have a Public Assemblies
folder. Also I don't have a C:\Program Files\Microsoft Visual Studio 15.0
, which I can't say that I understand. Maybe 15 is using the 12 directories?