fix pre build event

This commit is contained in:
AT
2020-01-17 14:56:26 +02:00
parent 725df15012
commit 7ce45d2b11

View File

@@ -94,10 +94,10 @@
<PackageReference Include="NLog">
<Version>4.2.0</Version>
</PackageReference>
<PackageReference Include="NLog.Schema">
<PackageReference Include="NLog.Schema" GeneratePathProperty="true">
<Version>4.2.0</Version>
</PackageReference>
<PackageReference Include="Pinyin4DotNet">
<PackageReference Include="Pinyin4DotNet" GeneratePathProperty="true">
<Version>2016.4.23.4</Version>
</PackageReference>
<PackageReference Include="System.Runtime">
@@ -106,10 +106,10 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>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)</PreBuildEvent>
<PreBuildEvent>
xcopy /Y $(PkgPinyin4DotNet)\pinyindb\unicode_to_hanyu_pinyin.txt $(TargetDir)pinyindb\
xcopy /Y $(PkgNLog_Schema)\content\NLog.xsd $(TargetDir)
</PreBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.