From 6ee64f4776b88c92cfd7ab176131df8afbcb9b49 Mon Sep 17 00:00:00 2001 From: markpollack Date: Sat, 20 Jun 2009 20:26:17 +0000 Subject: [PATCH] exclude from mono build --- .../Spring/Spring.Data.Integration.Tests/Data/SQLiteTests.cs | 2 +- .../EnterpriseServices/ExportedServicedComponentSample.cs | 5 ++++- .../EnterpriseServices/ServicedComponentExporterTests.cs | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/test/Spring/Spring.Data.Integration.Tests/Data/SQLiteTests.cs b/test/Spring/Spring.Data.Integration.Tests/Data/SQLiteTests.cs index 4296729d..18eb15af 100644 --- a/test/Spring/Spring.Data.Integration.Tests/Data/SQLiteTests.cs +++ b/test/Spring/Spring.Data.Integration.Tests/Data/SQLiteTests.cs @@ -18,7 +18,7 @@ #endregion -#if NET_2_0 +#if NET_2_0 && !MONO #region Imports diff --git a/test/Spring/Spring.Services.Tests/EnterpriseServices/ExportedServicedComponentSample.cs b/test/Spring/Spring.Services.Tests/EnterpriseServices/ExportedServicedComponentSample.cs index ae687813..b70b5984 100644 --- a/test/Spring/Spring.Services.Tests/EnterpriseServices/ExportedServicedComponentSample.cs +++ b/test/Spring/Spring.Services.Tests/EnterpriseServices/ExportedServicedComponentSample.cs @@ -18,6 +18,8 @@ #endregion +#if !MONO + #region Imports using System; @@ -76,4 +78,5 @@ namespace Spring.EnterpriseServices targetInstance.Method(); } } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/test/Spring/Spring.Services.Tests/EnterpriseServices/ServicedComponentExporterTests.cs b/test/Spring/Spring.Services.Tests/EnterpriseServices/ServicedComponentExporterTests.cs index 6bc5e436..388dab5e 100644 --- a/test/Spring/Spring.Services.Tests/EnterpriseServices/ServicedComponentExporterTests.cs +++ b/test/Spring/Spring.Services.Tests/EnterpriseServices/ServicedComponentExporterTests.cs @@ -18,7 +18,7 @@ #endregion -#if (!NET_1_0) +#if (NET_2_0 && !MONO) #region Imports