added conditional compile for mono

This commit is contained in:
kay.one 2013-02-16 11:23:31 -08:00
commit 3ab04fd213
19 changed files with 40 additions and 57 deletions

View file

@ -16,6 +16,11 @@ namespace NzbDrone.Core.Test.Framework
[SetUp]
public void CoreTestSetup()
{
#if __MonoCS__
throw new IgnoreException("SqlCe is not supported in mono.");
#endif
if (NCrunch.Framework.NCrunchEnvironment.NCrunchIsResident())
{
_dbTemplateName = Path.Combine(Path.GetTempPath(), Path.GetTempFileName()) + ".sdf";