When I have a unit test that requires the System.Xml or System.Xml.Linq namespaces, I get the following error when I run the test:
System.IO.FileNotFoundException : Could not load file or assembly 'System.Xml.Linq, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
Things I've verified:
- I have the proper usings in the test.
- The project builds with no problems.
- Using these namespaces work fine when I run the app in the emulator.
- I've written a very simple unit test to prove that unit testing works at all (and it does).
I'm a test driven kinda guy so I can't wait to get this working so I can progress with my app.
Thanks in advance.