Revert "Fix Build Events"

This reverts commit 9c80a5bbcb.
pull/32/head
crumbl3d 6 years ago
parent 9c80a5bbcb
commit 4db283f5a6

@ -48,8 +48,10 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>if not exist "$(TargetDir)interception.dll" xcopy "$(SolutionDir)dependencies\interception.dll" "$(TargetDir)"
</PreBuildEvent>
<PreBuildEvent>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"</PreBuildEvent>
</PropertyGroup>
<PropertyGroup>
<PostBuildEvent>xcopy /Q /Y "$(TargetPath)" "$(SolutionDir)..\Lib"</PostBuildEvent>

@ -56,7 +56,9 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>if not exist "$(TargetDir)interception.dll" xcopy "$(SolutionDir)dependencies\interception.dll" "$(TargetDir)"
</PreBuildEvent>
<PreBuildEvent>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"</PreBuildEvent>
</PropertyGroup>
</Project>

@ -6,7 +6,6 @@ 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

Loading…
Cancel
Save