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

Include all projects in NuGet package #1103

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

lahma
Copy link
Collaborator

@lahma lahma commented Jun 18, 2023

Adding a separate NPOI.Pack.csproj project that references other projects and thus creates a NuGet package that has all dependencies inside. This changes NPOI.dll to be NPOI.Core.dll (like the project actually is) in order for pack to succeed. Uses Nugetizer reference which fixes project references to be also part of NuGet package contents.

Ideally there would be separate NuGet packages for each on NuGet or as now there's build output (dll and pdb) for each dependency multiple times in package output. The package size is now 11MB which is quite big but that's the way to roll I guess with current setup where Core is/was packaging target and reverse-dependencies are needed.

With Nugetizer there's no snupkg anymore sore pdbs are part of the main NuGet package.

@lahma lahma force-pushed the refine-nuget-package branch 2 times, most recently from deab769 to 0df1dad Compare June 18, 2023 08:06
@tonyqus tonyqus modified the milestones: NPOI 2.6.1, NPOI 2.7.0 Jun 21, 2023
@tonyqus tonyqus added the cicd label Jun 22, 2023
@lahma lahma force-pushed the refine-nuget-package branch 2 times, most recently from 7716efd to 1ec86ee Compare June 24, 2023 08:46
@lahma lahma marked this pull request as ready for review June 24, 2023 09:18
@lahma
Copy link
Collaborator Author

lahma commented Jun 24, 2023

I guess this is now as good as I can get it. Ready for trials.

@tonyqus
Copy link
Member

tonyqus commented Jun 26, 2023

LGTM

@tonyqus tonyqus merged commit 7a218cc into nissl-lab:master Jun 26, 2023
2 of 3 checks passed
@lahma lahma deleted the refine-nuget-package branch June 30, 2023 06:00
@tonyqus tonyqus modified the milestones: NPOI 2.7.0, NPOI 2.6.2 Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants