Coree.NuPack
0.1.3321.11959
Use project templates instead.
dotnet add package Coree.NuPack --version 0.1.3321.11959
NuGet\Install-Package Coree.NuPack -Version 0.1.3321.11959
<PackageReference Include="Coree.NuPack" Version="0.1.3321.11959"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Coree.NuPack --version 0.1.3321.11959
#r "nuget: Coree.NuPack, 0.1.3321.11959"
// Install Coree.NuPack as a Cake Addin #addin nuget:?package=Coree.NuPack&version=0.1.3321.11959 // Install Coree.NuPack as a Cake Tool #tool nuget:?package=Coree.NuPack&version=0.1.3321.11959
Coree.Nupack
History
I wanted to create some nuget package lately, while using mainly Visual Studio for development it ended up changing the csproj/targets/props to use the "pack" "dotnet pack" functionality. Then I wanted to split the original project into sub-projects. It ended up in the usual copy and paste orgy because of the static values between projects like icon-author-url etc and the dynamic ones like description-release notes etc. (Lots of file editing) My csproj looked quite ugly, and there was not real workflow.
Task
Make it easy make if fast, template it somehow. Import a nuget package that speeds things up somehow.
Description
Coree.Nupack is a nuget package to create nuget packages, it it marked as "DevelopmentDependency" so your created packages won't have propergate the reference to Coree.Nupack. Coree.Nupack injects a folder into your project with a predefined set of file for the creation of your own nuget package. Coree.Nupack is mainly a msbuild target file that is processed before or after the standard msbuild targets. (BeforeBuild,GenerateNuspec,Pack) It has three main configuration files "NuPack.Constants.props" for thinks that do not change in your regulary, "NuPack.Edit.props" things you should adjust in every project and NuPack.Secrets.props for thinks you don't want to have recoreded in a version history. In an ideal setup you just add the "Coree.Nupack" package to your project and copy files over from an other project to the new one. (e.g. licence authors, company etc. are the same.)
Basic workflow should always look like this
- Add the package
dotnet add package Coree.NuPack
- Edit files or copy over from other project in
$ProjectPath\Coree.NuPack
- Use Visual Studio->Build->Pack or dotnet pack to create a nuget package
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|
None