Packt.CSDotnet.Shared
7.0.0
dotnet add package Packt.CSDotnet.Shared --version 7.0.0
NuGet\Install-Package Packt.CSDotnet.Shared -Version 7.0.0
<PackageReference Include="Packt.CSDotnet.Shared" Version="7.0.0" />
<PackageVersion Include="Packt.CSDotnet.Shared" Version="7.0.0" />
<PackageReference Include="Packt.CSDotnet.Shared" />
paket add Packt.CSDotnet.Shared --version 7.0.0
#r "nuget: Packt.CSDotnet.Shared, 7.0.0"
#:package Packt.CSDotnet.Shared@7.0.0
#addin nuget:?package=Packt.CSDotnet.Shared&version=7.0.0
#tool nuget:?package=Packt.CSDotnet.Shared&version=7.0.0
Packt.CSDotnet.Shared
NuGet package: Packt.CSDotnet.Shared (version 7.0.0.0)
Short description
- Shared utilities and extension helpers used by examples in the C#/.NET book. Designed for C# 11 and .NET 7+ examples in this repository.
Installation
dotnet add package Packt.CSDotnet.Shared --version 7.0.0.0
Or add the package reference to your project file:
<PackageReference Include="Packt.CSDotnet.Shared" Version="7.0.0.0" />
Quick usage
After installing, add the appropriate using statements for the types you need and use the provided helpers and extensions. Example:
using Packt.CSDotnet.Shared;
// call into utilities or extension methods provided by the package
// e.g. var result = SomeSharedHelper.DoWork();
Build & package
- This project sets
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>so building in Release will produce a.nupkgautomatically.
dotnet build -c Release
# or
dotnet pack -c Release
The generated package will be placed in bin/Release/net10.0/ (or the corresponding configuration/framework folder).
Metadata
- PackageId:
Packt.CSDotnet.Shared - PackageVersion:
7.0.0.0 - Authors:
Pavel A - License: MS-PL (see https://spdx.org/licenses/MS-PL.html)
Source and contribution
- Source code for the package is in the repository under Chapter07/SharedLibrary.
- Contributions or fixes can be made by editing the project and opening a pull request against this repo.
License
This package is released under the Microsoft Public License (MS-PL). See the SPDX entry: https://spdx.org/licenses/MS-PL.html
Contact
For questions about the package contents, see the repository or contact the package author listed in the package metadata.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.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 |
|---|---|---|
| 7.0.0 | 123 | 3/1/2026 |
Example NuGet library