一键导入
package-library
Guide for packaging and publishing the CarbonBlazor library. Use this when asked to package or publish the library.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guide for packaging and publishing the CarbonBlazor library. Use this when asked to package or publish the library.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | package-library |
| description | Guide for packaging and publishing the CarbonBlazor library. Use this when asked to package or publish the library. |
To package CarbonBlazor, follow this process:
Update the version number in the Synonms.CarbonBlazor.csproj file. The version number should follow semantic versioning (MAJOR.MINOR.PATCH) and be incremented appropriately based on the changes made since the last release.
Run the pack command to create a NuGet package. This can be done using the following command in the terminal:
dotnet pack Synonms.CarbonBlazor.csproj -c Release -o ./nupkg
This will create a .nupkg file in the ./nupkg directory.
(Optional) If you want to publish the package to the public NuGet feed, you can use the following command:
dotnet nuget push ./nupkg/Synonms.CarbonBlazor.<version>.nupkg -k <API_KEY> -s https://api.nuget.org/v3/index.json
The <API_KEY> parameter should be replaced with the Synonms NuGet API key, which must be obtained from the user and kept secure.