6 Temple Nuget
ansonzhang edited this page 2019-05-29 16:54:55 +08:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

1、检查文件

检查 Blog.Core.Webapi.Template.1.0.0.nupkg这个包我会跟随源码一起更新、CreateYourProject.bat 这两个文件是否存在根目录。

2、双击批处理文件

CreateYourProject.bat

3、输入你项目的名称

Please set your project name:

输入项目名

4、检查新生成的文件夹

在项目最顶部 .1YourProject 下就是你创建的文件

你的项目文件

5、如果你想问 nupkg 如何制作

参考我的文章:https://www.cnblogs.com/laozhang-is-phi/p/10205495.html

生成 nupkg 包的目录,content 下就是 Blog.Core 的源码

(生成 nupkg 包的目录content 下就是 Blog.Core 的源码CMD 命令窗口下,执行命令 nuget pack Blog.Core.Webapi.Template.nuspec ,就能生成 nupkg 包了)