diff --git a/de4dot.code/de4dot.code.csproj b/de4dot.code/de4dot.code.csproj
index 45dfd2bc..23b9cd7e 100644
--- a/de4dot.code/de4dot.code.csproj
+++ b/de4dot.code/de4dot.code.csproj
@@ -347,8 +347,9 @@
- copy "$(SolutionDir)LICENSE*.txt" "..\$(OutDir).."
-copy "$(SolutionDir)COPYING" "..\$(OutDir).."
+ mkdir "..\$(OutDir)..\LICENSES"
+copy "$(SolutionDir)LICENSE*.txt" "..\$(OutDir)..\LICENSES"
+copy "$(SolutionDir)COPYING" "..\$(OutDir)..\LICENSES"