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