Skip to content

Commit

Permalink
Update package versions and project references
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Koloskov committed Feb 22, 2024
1 parent 45b5c7c commit 4eafe9b
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 34 deletions.
8 changes: 4 additions & 4 deletions main/NPOI.Multitarget.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="IronSoftware.System.Drawing" Version="2024.2.1" />
<PackageReference Include="Enums.NET" Version="4.0.1" />
<PackageReference Include="ExtendedNumerics.BigDecimal" Version="2023.1000.3.328" />
<PackageReference Include="IronSoftware.System.Drawing" Version="2024.3.2" />
<PackageReference Include="Enums.NET" Version="4.0.2" />
<PackageReference Include="ExtendedNumerics.BigDecimal" Version="2023.1000.4.35" />
<PackageReference Include="MathNet.Numerics.Signed" Version="5.0.0" />
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="3.0.0" />
<PackageReference Include="BouncyCastle.Cryptography" Version="2.2.1" />
<PackageReference Include="BouncyCastle.Cryptography" Version="2.3.0" />
<PackageReference Include="SharpZipLib" Version="1.4.2" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0">
<PrivateAssets>all</PrivateAssets>
Expand Down
20 changes: 10 additions & 10 deletions testcases/main/NPOI.TestCases.Multitarget.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net481;net6.0</TargetFrameworks>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand All @@ -11,36 +11,36 @@
<OutputPath>../../solution/$(Configuration)/</OutputPath>
<LangVersion>latest</LangVersion>
</PropertyGroup>

<PropertyGroup>
<DefineConstants>HIDE_UNREACHABLE_CODE</DefineConstants>
<NoWarn>1701;1702;0108;0618;618;108;0612;612;162;0162</NoWarn>
<WarningLevel>1</WarningLevel>
</PropertyGroup>

<ItemGroup>
<Compile Remove="HSSF\UserModel\TestEscherGraphics2d.cs" />
<Compile Remove="SS\Formula\Function\ExcelFileFormatDocFunctionExtractor.cs" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="NUnit" Version="3.14.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="NUnit" Version="[3.14.0]" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\main\NPOI.Multitarget.csproj" />
</ItemGroup>

<ItemGroup>
<None Update="test.runsettings">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

<Target Name="CopyCustomContent" AfterTargets="AfterBuild">
<Copy SourceFiles="App.config" DestinationFiles="$(OutDir)\testhost.dll.config" />
</Target>

</Project>
</Project>
24 changes: 13 additions & 11 deletions testcases/ooxml/NPOI.OOXML.TestCases.Multitarget.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net481;net6.0</TargetFrameworks>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand All @@ -11,45 +11,47 @@
<OutputPath>../../solution/$(Configuration)/</OutputPath>
<LangVersion>latest</LangVersion>
</PropertyGroup>

<PropertyGroup>
<DefineConstants>HIDE_UNREACHABLE_CODE</DefineConstants>
<NoWarn>1701;1702;0108;0618;618;108;0612;612;162;0162</NoWarn>
<WarningLevel>1</WarningLevel>
</PropertyGroup>

<ItemGroup>
<Compile Remove="OpenXmlFormats\**" />
<EmbeddedResource Remove="OpenXmlFormats\**" />
<None Remove="OpenXmlFormats\**" />
</ItemGroup>

<ItemGroup>
<Compile Remove="XSSF\TestWorkbookProtection.cs" />
<Compile Remove="XSSF\UserModel\Charts\TestXSSFNumberCache.cs" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="NSubstitute" Version="5.1.0" />
<PackageReference Include="NUnit" Version="[3.14.0]" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\main\NPOI.Multitarget.csproj" />
<ProjectReference Include="..\..\ooxml\NPOI.OOXML.Multitarget.csproj" />
<ProjectReference Include="..\..\openxml4Net\NPOI.OpenXml4Net.Multitarget.csproj" />
<ProjectReference Include="..\..\OpenXmlFormats\NPOI.OpenXmlFormats.Multitarget.csproj" />
<ProjectReference Include="..\main\NPOI.TestCases.Multitarget.csproj" />
</ItemGroup>

<ItemGroup>
<None Update="test.runsettings">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

<Target Name="CopyCustomContent" AfterTargets="AfterBuild">
<Copy SourceFiles="App.config" DestinationFiles="$(OutDir)\testhost.dll.config" />
</Target>
</Project>

</Project>
20 changes: 11 additions & 9 deletions testcases/openxml4net/NPOI.OOXML4Net.TestCases.Multitarget.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net481;net6.0</TargetFrameworks>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
Expand All @@ -11,33 +11,35 @@
<OutputPath>../../solution/$(Configuration)/</OutputPath>
<LangVersion>latest</LangVersion>
</PropertyGroup>

<PropertyGroup>
<DefineConstants>HIDE_UNREACHABLE_CODE</DefineConstants>
<NoWarn>1701;1702;0108;0618;618;108;0612;612;162;0162</NoWarn>
<WarningLevel>1</WarningLevel>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="NUnit" Version="[3.14.0]" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\main\NPOI.Multitarget.csproj" />
<ProjectReference Include="..\..\ooxml\NPOI.OOXML.Multitarget.csproj" />
<ProjectReference Include="..\..\openxml4Net\NPOI.OpenXml4Net.Multitarget.csproj" />
<ProjectReference Include="..\..\OpenXmlFormats\NPOI.OpenXmlFormats.Multitarget.csproj" />
<ProjectReference Include="..\ooxml\NPOI.OOXML.TestCases.Multitarget.csproj" />
</ItemGroup>

<ItemGroup>
<None Update="test.runsettings">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

<Target Name="CopyCustomContent" AfterTargets="AfterBuild">
<Copy SourceFiles="App.config" DestinationFiles="$(OutDir)\testhost.dll.config" />
</Target>
</Project>

</Project>

0 comments on commit 4eafe9b

Please sign in to comment.