diff --git a/ClosedXML_Examples/ClosedXML_Examples.csproj b/ClosedXML_Examples/ClosedXML_Examples.csproj index b7d0223..7971679 100644 --- a/ClosedXML_Examples/ClosedXML_Examples.csproj +++ b/ClosedXML_Examples/ClosedXML_Examples.csproj @@ -1,7 +1,7 @@  - netcoreapp2.0;net452;net461 + netstandard2.0;net452;net461 diff --git a/ClosedXML_Sandbox/ClosedXML_Sandbox.csproj b/ClosedXML_Sandbox/ClosedXML_Sandbox.csproj index 35397d6..1582c1d 100644 --- a/ClosedXML_Sandbox/ClosedXML_Sandbox.csproj +++ b/ClosedXML_Sandbox/ClosedXML_Sandbox.csproj @@ -2,12 +2,35 @@ Exe - netcoreapp2.0;net452;net461 + netstandard2.0;net452;net461 + + $(DefineConstants);_NETSTANDARD_;_NETSTANDARD2_0_ + + + + $(DefineConstants);_NETFRAMEWORK_;_NET452_ + + + + $(DefineConstants);_NETFRAMEWORK_;_NET461_ + + + + + + + + + + + + + + - diff --git a/ClosedXML_Tests/ClosedXML_Tests.csproj b/ClosedXML_Tests/ClosedXML_Tests.csproj index efe9be7..6f90c25 100644 --- a/ClosedXML_Tests/ClosedXML_Tests.csproj +++ b/ClosedXML_Tests/ClosedXML_Tests.csproj @@ -14,7 +14,7 @@ - $(DefineConstants);_NETSTANDARD_;_NETSTANDARD2_0_ + $(DefineConstants);_NETSTANDARD_;_netcoreapp2_0_ diff --git a/ClosedXML_Tests/OleDb/OleDbTests.cs b/ClosedXML_Tests/OleDb/OleDbTests.cs index a687b35..48f1855 100644 --- a/ClosedXML_Tests/OleDb/OleDbTests.cs +++ b/ClosedXML_Tests/OleDb/OleDbTests.cs @@ -1,4 +1,5 @@ -using ClosedXML.Excel; +#if !APPVEYOR && _NETFRAMEWORK_ +using ClosedXML.Excel; using NUnit.Framework; using System; using System.Collections.Generic; @@ -12,7 +13,6 @@ [TestFixture] public class OleDbTests { -#if !APPVEYOR && _NETFRAMEWORK_ [Test] public void TestOleDbValues() { @@ -77,7 +77,6 @@ } } } -#endif private string CreateTestFile() { @@ -144,3 +143,4 @@ } } } +#endif