From 9c80a5bbcb4c9bfcf29776996554ca9874e6e0a7 Mon Sep 17 00:00:00 2001 From: Clive Galway Date: Mon, 24 Dec 2018 13:35:53 +0000 Subject: [PATCH] Fix Build Events --- C#/AutoHotInterception/AutoHotInterception.csproj | 6 ++---- C#/TestApp/TestApp.csproj | 6 ++---- CHANGELOG.md | 1 + 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/C#/AutoHotInterception/AutoHotInterception.csproj b/C#/AutoHotInterception/AutoHotInterception.csproj index bab8264..53965b9 100644 --- a/C#/AutoHotInterception/AutoHotInterception.csproj +++ b/C#/AutoHotInterception/AutoHotInterception.csproj @@ -48,10 +48,8 @@ - if not exist "$(TargetDir)\x86" mkdir "$(TargetDir)\x86" -if not exist "$(TargetDir)\x64" mkdir "$(TargetDir)\x64" -if not exist "$(TargetDir)\x86\interception.dll" xcopy "$(SolutionDir)\dependencies\x86\interception.dll" "$(TargetDir)\x86" -if not exist "$(TargetDir)\x64\interception.dll" xcopy "$(SolutionDir)\dependencies\x64\interception.dll" "$(TargetDir)\x64" + if not exist "$(TargetDir)interception.dll" xcopy "$(SolutionDir)dependencies\interception.dll" "$(TargetDir)" + xcopy /Q /Y "$(TargetPath)" "$(SolutionDir)..\Lib" diff --git a/C#/TestApp/TestApp.csproj b/C#/TestApp/TestApp.csproj index b74539d..4f2bcb0 100644 --- a/C#/TestApp/TestApp.csproj +++ b/C#/TestApp/TestApp.csproj @@ -56,9 +56,7 @@ - if not exist "$(TargetDir)\x86" mkdir "$(TargetDir)\x86" -if not exist "$(TargetDir)\x64" mkdir "$(TargetDir)\x64" -if not exist "$(TargetDir)\x86\interception.dll" xcopy "$(SolutionDir)\dependencies\x86\interception.dll" "$(TargetDir)\x86" -if not exist "$(TargetDir)\x64\interception.dll" xcopy "$(SolutionDir)\dependencies\x64\interception.dll" "$(TargetDir)\x64" + if not exist "$(TargetDir)interception.dll" xcopy "$(SolutionDir)dependencies\interception.dll" "$(TargetDir)" + \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index fae97a1..4d877f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] ### Added ### Changed +- Fixed Build Event to copy Interception dll ### Deprecated ### Removed ### Fixed