Problem using System.Xml in unit test in MonoDevelop (MonoTouch)
Posted
by hambonious
on Stack Overflow
See other posts from Stack Overflow
or by hambonious
Published on 2010-04-06T12:01:19Z
Indexed on
2010/04/06
12:03 UTC
Read the original article
Hit count: 363
I'm new to the MonoDevelop and MonoTouch environment so hopefully I'm just missing something easy here.
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.
© Stack Overflow or respective owner