JLib.SystemTextJson

Package Description


Keywords
License
MIT
Install
Install-Package JLib.SystemTextJson -Version 0.10.0

Documentation

Stable

pre-release

these modules are still under development and will change in the future

Solution Setup

  • Projects within ./Directory.Build.Props's Package Assemblies Property are packages uploaded to Nuget.org (whitelist)
  • *.Tests are interpreted as test projects
  • *.Benchmark are interpreted as benchmark.net benchmark projects
    • Benchmark projects require a Main function to work, see ./JlibValueTypes.Benchmarks/BenchmarkLauncher for an example
  • *.Testing* packages are interpreted as extension packages to write tests but contain no tests themselves.
    • they get all the test package references as long as they are not included in the ./Directory.-Build.Props's Package Assemblies Property
  • all standard properties are defined in ./Directory.Build.Props and added automatically to each project.

Create Version:

dotnet build --version-suffix [Version] --no-incremental -c Release git tag v[Version] git push --tags dotnet pack --version-suffix [Version] -c Release -o .\bin[Version] cd .\bin[Version] dotnet nuget push * --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key [key]

Create Local Version:

[mkdir \NuGet\LocalPackages] rm -r force .\bin\local dotnet pack -c Release -o .\bin\local --version-suffix 99.0.0 cd ./bin/local nuget delete -Verbosity detailed -noninteractive -source \NuGet\LocalPackages JLib.* 99.0.0 dotnet nuget push * --source \NuGet\LocalPackages --skip-duplicate

Add new Package:

to mark an assembly as Package, add it to the PackageAssembly tag in Directory.Build.Props