these modules are still under development and will change in the future
- 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 asbenchmark.net
benchmark projects- Benchmark projects require a Main function to work, see
./JlibValueTypes.Benchmarks/BenchmarkLauncher
for an example
- Benchmark projects require a Main function to work, see
*.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
- they get all the test package references as long as they are not included in the
- all standard properties are defined in
./Directory.Build.Props
and added automatically to each project.
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]
[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
to mark an assembly as Package, add it to the PackageAssembly tag in Directory.Build.Props