Skip to content

Commit 9663baf

Browse files
authored
Merge pull request #3 from Mered1th-Wang/master
修复若干错误
2 parents 9e8e9ca + 4d00af6 commit 9663baf

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,12 @@ dotnet-cnblog <markdown文件路径>
6767

6868
>可能会引起杀毒软件误报,请允许。
6969
70+
若出现 error NETSDK1053: Pack as tool does not support self contained. 则表示未完成,
71+
72+
> 解决办法:进入`项目根目录\CnBlogPublishTool`文件夹,修改dotnet-cnblog.csproj,
73+
删除`<PackAsTool>true</PackAsTool>`这条语句即可。
74+
75+
7076
### 2.创建快捷方式
7177

7278
进入 `项目根目录\Publish` 文件夹,选中 `dotnet-cnblog.exe`,【右键菜单】->【创建快捷方式】

shell/publish.bat

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
@echo off
2-
echo ×źą¸ˇ˘˛ź
2+
echo Mission preparation..
33

44
dotnet publish ..\CnBlogPublishTool.sln -c Release -r win10-x86 -o ../Publish
55

6-
echo ˇ˘˛źÍęłÉ
6+
echo mission accomplished!
77

88
pause
9+

0 commit comments

Comments
 (0)