diff --git a/Wox.Infrastructure/Wox.Infrastructure.csproj b/Wox.Infrastructure/Wox.Infrastructure.csproj
index 1e0ac892f1..16194a35a7 100644
--- a/Wox.Infrastructure/Wox.Infrastructure.csproj
+++ b/Wox.Infrastructure/Wox.Infrastructure.csproj
@@ -94,10 +94,10 @@
4.2.0
-
+
4.2.0
-
+
2016.4.23.4
@@ -106,10 +106,10 @@
- cd $(UserProfile)\.nuget\packages\pinyin4dotnet\2016.4.23.4\pinyindb
-xcopy /Y unicode_to_hanyu_pinyin.txt $(TargetDir)pinyindb\
-cd $(UserProfile)\.nuget\packages\nlog.schema\4.*\content
-xcopy /Y NLog.xsd $(TargetDir)
+
+ xcopy /Y $(PkgPinyin4DotNet)\pinyindb\unicode_to_hanyu_pinyin.txt $(TargetDir)pinyindb\
+ xcopy /Y $(PkgNLog_Schema)\content\NLog.xsd $(TargetDir)
+