added postbuild event steps to copy dependencies into the output directory.

This commit is contained in:
chris.watts90@outlook.com 2017-02-10 22:42:05 +00:00
parent cce10f98d1
commit 159c0a7625

View File

@ -90,6 +90,19 @@
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>copy "$(SolutionDir)SQLiteRepository\$(OutDir)SQLiteRepository.dll" "$(TargetDir)"
copy "$(SolutionDir)SQLiteRepository\$(OutDir)SQLite.Net.Platform.Win32.dll" "$(TargetDir)"
copy "$(SolutionDir)SQLiteRepository\$(OutDir)SQLite.Net.Platform.Generic.dll" "$(TargetDir)"
copy "$(SolutionDir)SQLiteRepository\$(OutDir)SQLite.Net.dll" "$(TargetDir)"
mkdir "$(TargetDir)Configs"
copy "$(SolutionDir)NLogLogger\$(OutDir)NLogLogger.dll" "$(TargetDir)"
copy "$(SolutionDir)NLogLogger\$(OutDir)NLog.dll" "$(TargetDir)"
copy "$(SolutionDir)NLogLogger\$(OutDir)NLogLogger.dll.config" "$(TargetDir)"
copy "$(SolutionDir)NLogLogger\$(OutDir)NLogConfig.xml" "$(TargetDir)Configs\"
copy "$(SolutionDir)WindowsDataCenter\$(OutDir)Ninject.Extensions.Xml.dll" "$(TargetDir)"</PostBuildEvent>
</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.
<Target Name="BeforeBuild"> <Target Name="BeforeBuild">