2

I'm trying to build an open source project in Sharpdevelop, but the tests don't compile as it references the Microsoft.VisualStudio.TestTools.UnitTesting namespace.

I don't have Visual Studio (not even the Express editions). Is there any way to compile this project without Visual Studio (and without changing the code to use NUnit)?

2
  • 1
    possible duplicate of How do I use MSTest without Visual Studio? Commented Feb 10, 2011 at 5:46
  • @Gishu yes, I saw that question but it deals with the GUI rather than trying to build it Commented Feb 11, 2011 at 9:26

1 Answer 1

1

I would say no, because as you can see from the namespace, MS Test framework relies on Visual Studio.

Sign up to request clarification or add additional context in comments.

4 Comments

but is this particular namespace to be found in a standalone dll library which MS provides for download on MSDN?
No because MS wants you to buy Visual Studio.
+1. Note that MSTest not really depends on Visual Studio, but it does depend on a few DLLs that only come with Visual Studio. You could copy those DLLs (and the MSTest.exe) and check them in in your own branch, but I'm not sure what the legal consequences are :-). It's best to switch to an open source testing framework such as NUnit.
I've found a few helpful links in response to another SO question stackoverflow.com/questions/261290/…

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.