Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e3a5158

Browse files
Merge pull request #1 from stulzq/master
修复已知错误
2 parents 5c10774 + 9663baf commit e3a5158

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

‎README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ dotnet tool install -g dotnet-cnblog
3333

3434
![5b8aaca060f93](https://i.loli.net/2018/09/01/5b8aaca060f93.png)
3535

36-
原因是因为你没有配置path环境变量,我们可以查看下C:\Users\用户名.dotnet\tools 看看是否存在 dotnet-cnblog.exe。
36+
原因是因为你没有配置path环境变量,我们可以查看下C:\Users\用户名\\.dotnet\tools 看看是否存在 dotnet-cnblog.exe。
3737

38-
![5b8aad768599c](https://i.loli.net/2018/09/01/5b8aad768599c.png)
38+
![5b8aad768599c](assets/5b8aad768599c.png)
3939

4040
如果存在就把这个目录添加到path环境变量即可。
4141

42-
![5b8aae1eba289](https://i.loli.net/2018/09/01/5b8aae1eba289.png)
42+
![5b8aae1eba289](assets/5b8aae1eba289.png)
4343

4444
### 3.重置配置
4545

@@ -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`,【右键菜单】->【创建快捷方式】

‎assets/5b8aad768599c.png

4.66 KB
Loading[フレーム]

‎assets/5b8aae1eba289.png

121 KB
Loading[フレーム]

‎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)

AltStyle によって変換されたページ (->オリジナル) /