内容简介:Pinyin4NET 是.net环境下使用的拼音(包含姓名拼音)-汉字互转库。支持以下目标版本: net4.0 net4.5 netcore1.0 netcore1.1 netcore2.0 netstandard1.6 netstandard2.0 源码与发行版 GitHub zip git clone https...
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
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:- Squid 3.5.27 发布,代理服务器
- Rust 语言服务器 Alpha 版本发布
- Moco 1.0.0 发布,模拟服务器
- Moco 1.1.0 发布,模拟服务器
- OTP-19.3 发布,Erlang 应用服务器
- OTP 19.2 发布,Erlang 应用服务器
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
The Cult of the Amateur
Andrew Keen / Crown Business / 2007-6-5 / USD 22.95
Amateur hour has arrived, and the audience is running the show In a hard-hitting and provocative polemic, Silicon Valley insider and pundit Andrew Keen exposes the grave consequences of today’s......一起来看看 《The Cult of the Amateur》 这本书的介绍吧!