Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve packaging procedures #1097

Merged
merged 1 commit into from
Jun 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,35 @@
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

<RunSettingsFilePath>$(MSBuildThisFileDirectory)\test.runsettings</RunSettingsFilePath>

<VersionPrefix>2.6.1</VersionPrefix>
<Title>NPOI</Title>
<Authors>Tony Qu,NPOI Contributors</Authors>
<Owners>Nissl Lab</Owners>
<Description>.NET port of Apache POI | Contact us on telegram: https://t.me/npoidevs</Description>
<Summary>NPOI can read and write xls (Excel 97-2003), xlsx(Excel 2007+) and docx(Word 2007+)</Summary>
<RepositoryUrl>https:/tonyqus/npoi</RepositoryUrl>

<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageIcon>logo\60_60.jpg</PackageIcon>
<PackageProjectUrl>https:/nissl-lab/npoi</PackageProjectUrl>
<PackageReleaseNotes></PackageReleaseNotes>
<Copyright>Nissl LLC</Copyright>
<PackageTags>xlsx xls Excel Word docx office ole</PackageTags>
</PropertyGroup>

<ItemGroup>
<None Include="..\LICENSE" Pack="true" Visible="false" PackagePath="" />
<None Include="..\Read Me.txt" Pack="true" Visible="false" PackagePath="" />
<None Include="..\logo\*.png" Pack="true" Visible="false" PackagePath="logo\" />
<None Include="..\logo\*.jpg" Pack="true" Visible="false" PackagePath="logo\" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>

</Project>
1 change: 0 additions & 1 deletion OpenXmlFormats/NPOI.OpenXmlFormats.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<RootNamespace>NPOI.OpenXmlFormats</RootNamespace>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\npoi.snk</AssemblyOriginatorKeyFile>
<RepositoryUrl>https:/tonyqus/npoi</RepositoryUrl>
<OutputPath>..\solution\$(Configuration)\</OutputPath>
</PropertyGroup>

Expand Down
5 changes: 4 additions & 1 deletion build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ protected override void OnBuildInitialized()
.SetVerbosity(DotNetVerbosity.Minimal)
// obsolete missing XML documentation comment, XML comment on not valid language element, XML comment has badly formed XML, no matching tag in XML comment
// need to use escaped separator in order for this to work
.AddProperty("NoWarn", string.Join("%3B", new [] { 618, 1591, 1587, 1570, 1573 }))
.AddProperty("NoWarn", string.Join("%3B", new [] { 618, 1591, 1587, 1570, 1572, 1573 }))
.SetProjectFile(Solution)
);
});
Expand Down Expand Up @@ -97,6 +97,9 @@ protected override void OnBuildInitialized()
.SetOutputDirectory(ArtifactsDirectory)
.SetDeterministic(IsServerBuild)
.SetContinuousIntegrationBuild(IsServerBuild)
// obsolete missing XML documentation comment, XML comment on not valid language element, XML comment has badly formed XML, no matching tag in XML comment
// need to use escaped separator in order for this to work
.AddProperty("NoWarn", string.Join("%3B", new [] { 618, 1591, 1587, 1570, 1572, 1573 }))
.SetProject(Solution.GetProject("NPOI.Core"))
);
});
Expand Down
1 change: 0 additions & 1 deletion main/NPOI.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<RootNamespace>NPOI</RootNamespace>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\npoi.snk</AssemblyOriginatorKeyFile>
<RepositoryUrl>https:/tonyqus/npoi</RepositoryUrl>
<OutputPath>..\solution\$(Configuration)\</OutputPath>
</PropertyGroup>

Expand Down
1 change: 0 additions & 1 deletion ooxml/NPOI.OOXML.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<RootNamespace>NPOI</RootNamespace>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\npoi.snk</AssemblyOriginatorKeyFile>
<RepositoryUrl>https:/tonyqus/npoi</RepositoryUrl>
<OutputPath>..\solution\$(Configuration)\</OutputPath>
</PropertyGroup>

Expand Down
1 change: 0 additions & 1 deletion openxml4Net/NPOI.OpenXml4Net.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<RootNamespace>NPOI.OpenXml4Net</RootNamespace>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\npoi.snk</AssemblyOriginatorKeyFile>
<RepositoryUrl>https:/tonyqus/npoi</RepositoryUrl>
<OutputPath>..\solution\$(Configuration)\</OutputPath>
</PropertyGroup>

Expand Down
3 changes: 0 additions & 3 deletions solution/NPOI.Core.Test.sln
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ Global
{DA2CA3BD-1CAC-470C-9FA2-611A5768A76A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DA2CA3BD-1CAC-470C-9FA2-611A5768A76A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DA2CA3BD-1CAC-470C-9FA2-611A5768A76A}.Release|Any CPU.Build.0 = Release|Any CPU
{94B18BCF-84E8-401F-BAAB-0496AA136628}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{94B18BCF-84E8-401F-BAAB-0496AA136628}.Release|Any CPU.ActiveCfg = Release|Any CPU
{94B18BCF-84E8-401F-BAAB-0496AA136628}.Release|Any CPU.Build.0 = Release|Any CPU
{3DA1149D-46F8-4181-9976-E002BF2BFB76}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3DA1149D-46F8-4181-9976-E002BF2BFB76}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3DA1149D-46F8-4181-9976-E002BF2BFB76}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down