Pinyin4NET 发布到 NUGET 服务器

栏目: ASP.NET · 发布时间: 7年前

内容简介:Pinyin4NET 是.net环境下使用的拼音(包含姓名拼音)-汉字互转库。支持以下目标版本:GitHub码云

Pinyin4NET 是.net环境下使用的拼音(包含姓名拼音)-汉字互转库。支持以下目标版本:

  • net4.0

  • net4.5

  • netcore1.0

  • netcore1.1

  • netcore2.0

  • netstandard1.6

  • netstandard2.0

源码与发行版

GitHub zip

git clone https://gitee.com/hyjiacan/Pinyin4Net.git

码云 zip

git clone https://github.com/hyjiacan/Pinyin4Net.git

发行版

nuget安装

Package Manager

Install-Package hyjiacan.py4n

.NET CLI

dotnet add package hyjiacan.py4n

Packet CLI

paket add hyjiacan.py4n

编译

注:开发环境已切换为 Visual Studio Code

执行项目目录下的 build.bat / build.sh 可以直接开始生成所有支持的目标的 Release 版本, 若需要生成某个版本,请参考以下命令。

cd hyjiacan.py4n

编译DEBUG版本

dotnet build --configuration Debug
# 或
dotnet build

注: --configuration Debug 为默认配置

编译为 RELEASE 版本

dotnet build --configuration Release

若要编译指定的版本,使用以下参数:

dotnet build -f net40

当前配置可以使用的版本如下:

  • NET40

  • NET45

  • NETCOREAPP1.0

  • NETCOREAPP1.1

  • NETCOREAPP2.0

  • NETSTANDARD1.6

  • NETSTANDARD2.0

若要编译成其它的目标版本,需要自行修改 hyjiacan.py4n.csptoj 里面的 TargetFrameworks 节点, 版本名称见 How to target the .NET Framework


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Producing Masculinity

Producing Masculinity

Michele White / Routledge / 2019-3 / $39.95

Thoughtful, witty, and illuminating, in this book Michele White explores the ways normative masculinity is associated with computers and the Internet and is a commonly enacted online gender practice. ......一起来看看 《Producing Masculinity》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

MD5 加密
MD5 加密

MD5 加密工具

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具