From 2e0965e24475f8b1259a04ce56b8a8ed3fee1ca2 Mon Sep 17 00:00:00 2001
From: lukeIam <2lukeiam@gmail.com>
Date: Thu, 21 Dec 2017 17:55:50 +0100
Subject: [PATCH 01/10] Generate pdb files with debug symbols for every release
build
---
PartyModes/PartyModeChallenge/PartyModeChallenge.csproj | 8 ++++++--
PartyModes/PartyModeTicTacToe/PartyModeTicTacToe.csproj | 8 ++++++--
Vocaluxe/Vocaluxe.csproj | 9 ++++++---
VocaluxeLib/VocaluxeLib.csproj | 8 ++++++--
4 files changed, 24 insertions(+), 9 deletions(-)
diff --git a/PartyModes/PartyModeChallenge/PartyModeChallenge.csproj b/PartyModes/PartyModeChallenge/PartyModeChallenge.csproj
index 0d1764d8..80797f3e 100644
--- a/PartyModes/PartyModeChallenge/PartyModeChallenge.csproj
+++ b/PartyModes/PartyModeChallenge/PartyModeChallenge.csproj
@@ -30,7 +30,7 @@
AnyCPU
- none
+ pdbonly
true
bin
prompt
@@ -39,6 +39,7 @@
WIN
Off
false
+ true
AnyCPU
@@ -54,7 +55,7 @@
AnyCPU
- none
+ pdbonly
true
bin
prompt
@@ -63,6 +64,7 @@
LINUX
Off
false
+ true
bin
@@ -74,6 +76,8 @@
prompt
ManagedMinimumRules.ruleset
false
+ pdbonly
+ true
diff --git a/PartyModes/PartyModeTicTacToe/PartyModeTicTacToe.csproj b/PartyModes/PartyModeTicTacToe/PartyModeTicTacToe.csproj
index 6e812ce8..95d43206 100644
--- a/PartyModes/PartyModeTicTacToe/PartyModeTicTacToe.csproj
+++ b/PartyModes/PartyModeTicTacToe/PartyModeTicTacToe.csproj
@@ -30,7 +30,7 @@
AnyCPU
- none
+ pdbonly
true
bin
prompt
@@ -39,6 +39,7 @@
WIN
Off
false
+ true
AnyCPU
@@ -54,7 +55,7 @@
AnyCPU
- none
+ pdbonly
true
bin
prompt
@@ -63,6 +64,7 @@
LINUX
Off
false
+ true
bin
@@ -74,6 +76,8 @@
prompt
ManagedMinimumRules.ruleset
false
+ pdbonly
+ true
diff --git a/Vocaluxe/Vocaluxe.csproj b/Vocaluxe/Vocaluxe.csproj
index e98af8cd..e21a0817 100644
--- a/Vocaluxe/Vocaluxe.csproj
+++ b/Vocaluxe/Vocaluxe.csproj
@@ -72,7 +72,7 @@
x64
- none
+ pdbonly
true
..\Output\
prompt
@@ -81,6 +81,7 @@
WIN;ARCH_X64
Off
false
+ true
x86
@@ -120,7 +121,7 @@
x64
- none
+ pdbonly
true
..\Output\
prompt
@@ -129,6 +130,7 @@
LINUX;ARCH_X64
Off
false
+ true
x86
@@ -144,7 +146,7 @@
x64
- none
+ pdbonly
true
..\Output\
prompt
@@ -153,6 +155,7 @@
WIN;ARCH_X64;INSTALLER
Off
false
+ true
diff --git a/VocaluxeLib/VocaluxeLib.csproj b/VocaluxeLib/VocaluxeLib.csproj
index 8d25e33c..c0265ccf 100644
--- a/VocaluxeLib/VocaluxeLib.csproj
+++ b/VocaluxeLib/VocaluxeLib.csproj
@@ -32,7 +32,7 @@
AnyCPU
- none
+ pdbonly
true
..\Output\libs\managed
prompt
@@ -41,6 +41,7 @@
WIN
Off
false
+ true
AnyCPU
@@ -56,7 +57,7 @@
AnyCPU
- none
+ pdbonly
true
..\Output\libs\managed
prompt
@@ -65,6 +66,7 @@
LINUX
Off
false
+ true
..\Output\libs\managed
@@ -76,6 +78,8 @@
prompt
ManagedMinimumRules.ruleset
false
+ pdbonly
+ true
From 2577e1b4c95c004b21f574fce2c0aa322043ad2e Mon Sep 17 00:00:00 2001
From: lukeIam <2lukeiam@gmail.com>
Date: Thu, 21 Dec 2017 17:56:57 +0100
Subject: [PATCH 02/10] GenerateDebug symbols for PitchTracker too
---
PitchTracker/PitchTracker.vcxproj | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/PitchTracker/PitchTracker.vcxproj b/PitchTracker/PitchTracker.vcxproj
index 77d7b228..70d20142 100644
--- a/PitchTracker/PitchTracker.vcxproj
+++ b/PitchTracker/PitchTracker.vcxproj
@@ -154,7 +154,7 @@
Windows
- false
+ true
true
true
@@ -177,7 +177,7 @@
Windows
- false
+ true
true
true
From 6440c7249a05ee116c3e7694420aa894e5d6a58f Mon Sep 17 00:00:00 2001
From: lukeIam <2lukeiam@gmail.com>
Date: Thu, 21 Dec 2017 18:04:27 +0100
Subject: [PATCH 03/10] Copy PitchTracker's debug symbols to output path
---
PitchTracker/PitchTracker.vcxproj | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/PitchTracker/PitchTracker.vcxproj b/PitchTracker/PitchTracker.vcxproj
index 70d20142..55c1cb13 100644
--- a/PitchTracker/PitchTracker.vcxproj
+++ b/PitchTracker/PitchTracker.vcxproj
@@ -116,7 +116,8 @@
true
- xcopy "$(OutDir)*.dll" "$(SolutionDir)Output\libs\unmanaged\x64\" /I /Y
+ xcopy "$(OutDir)*.dll" "$(SolutionDir)Output\libs\unmanaged\x64\" /I /Y
+xcopy "$(OutDir)*.pdb" "$(SolutionDir)Output\libs\unmanaged\x64\" /I /Y
@@ -135,7 +136,8 @@
true
- xcopy "$(OutDir)*.dll" "$(SolutionDir)Output\libs\unmanaged\x86\" /I /Y
+ xcopy "$(OutDir)*.dll" "$(SolutionDir)Output\libs\unmanaged\x86\" /I /Y
+xcopy "$(OutDir)*.pdb" "$(SolutionDir)Output\libs\unmanaged\x86\" /I /Y
@@ -159,7 +161,8 @@
true
- xcopy "$(OutDir)*.dll" "$(SolutionDir)Output\libs\unmanaged\x64\" /I /Y
+ xcopy "$(OutDir)*.dll" "$(SolutionDir)Output\libs\unmanaged\x64\" /I /Y
+xcopy "$(OutDir)*.pdb" "$(SolutionDir)Output\libs\unmanaged\x64\" /I /Y
@@ -182,7 +185,8 @@
true
- xcopy "$(OutDir)*.dll" "$(SolutionDir)Output\libs\unmanaged\x86\" /I /Y
+ xcopy "$(OutDir)*.dll" "$(SolutionDir)Output\libs\unmanaged\x86\" /I /Y
+xcopy "$(OutDir)*.pdb" "$(SolutionDir)Output\libs\unmanaged\x86\" /I /Y
From 259447fdc1c9bbe7af5da1211182a238faf5e251 Mon Sep 17 00:00:00 2001
From: lukeIam <2lukeiam@gmail.com>
Date: Fri, 22 Dec 2017 14:03:39 +0100
Subject: [PATCH 04/10] Add GitLink to the build pipeline
---
.appveyor/runGitLink.ps1 | 10 ++++++++++
appveyor.yml | 2 ++
2 files changed, 12 insertions(+)
create mode 100644 .appveyor/runGitLink.ps1
diff --git a/.appveyor/runGitLink.ps1 b/.appveyor/runGitLink.ps1
new file mode 100644
index 00000000..eeb93b87
--- /dev/null
+++ b/.appveyor/runGitLink.ps1
@@ -0,0 +1,10 @@
+choco install gitlink --version 3.2.0-unstable0014 --pre
+
+Get-ChildItem -Recurse "*.pdb" | %{
+ If ($_.Fullname -contains 'PitchTracker.pdb'){
+ gitlink -u "https://github.com/$($Env:APPVEYOR_REPO_NAME)" -a --baseDir "$Env:APPVEYOR_BUILD_FOLDER" --commit "$Env:APPVEYOR_REPO_COMMIT" $_.Fullname
+ }
+ else{
+ gitlink -u "https://github.com/$($Env:APPVEYOR_REPO_NAME)" --baseDir "$Env:APPVEYOR_BUILD_FOLDER" --commit "$Env:APPVEYOR_REPO_COMMIT" $_.Fullname
+ }
+}
\ No newline at end of file
diff --git a/appveyor.yml b/appveyor.yml
index 6dd108e7..24586769 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -50,6 +50,8 @@ build:
verbosity: normal
after_build:
- ps: |
+ ./.appveyor/runGitLink.ps1
+
cd Output
$Env:MAIN_REPO = $False
From 5578082a6d70615f2a2bf2f2e1cf2d887cef380e Mon Sep 17 00:00:00 2001
From: lukeIam <2lukeiam@gmail.com>
Date: Fri, 22 Dec 2017 14:25:46 +0100
Subject: [PATCH 05/10] - Less output while installing gitlink - Try to fix
runGitLink.ps1 errors
---
.appveyor/runGitLink.ps1 | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.appveyor/runGitLink.ps1 b/.appveyor/runGitLink.ps1
index eeb93b87..e0f89f92 100644
--- a/.appveyor/runGitLink.ps1
+++ b/.appveyor/runGitLink.ps1
@@ -1,10 +1,10 @@
-choco install gitlink --version 3.2.0-unstable0014 --pre
+choco install gitlink --version 3.2.0-unstable0014 --pre --no-progress --limit-output
Get-ChildItem -Recurse "*.pdb" | %{
If ($_.Fullname -contains 'PitchTracker.pdb'){
- gitlink -u "https://github.com/$($Env:APPVEYOR_REPO_NAME)" -a --baseDir "$Env:APPVEYOR_BUILD_FOLDER" --commit "$Env:APPVEYOR_REPO_COMMIT" $_.Fullname
+ & echo -u "`"https://github.com/$($Env:APPVEYOR_REPO_NAME)`"" -a --baseDir "`"$Env:APPVEYOR_BUILD_FOLDER`"" --commit "`"$Env:APPVEYOR_REPO_COMMIT`"" "`"$($_.Fullname)`""
}
else{
- gitlink -u "https://github.com/$($Env:APPVEYOR_REPO_NAME)" --baseDir "$Env:APPVEYOR_BUILD_FOLDER" --commit "$Env:APPVEYOR_REPO_COMMIT" $_.Fullname
+ & echo -u "`"https://github.com/$($Env:APPVEYOR_REPO_NAME)`"" --baseDir "`"$Env:APPVEYOR_BUILD_FOLDER`"" --commit "`"$Env:APPVEYOR_REPO_COMMIT`"" "`"$($_.Fullname)`""
}
}
\ No newline at end of file
From 2a62e69a741b73fb0898b87fa908175b9cacc416 Mon Sep 17 00:00:00 2001
From: lukeIam <2lukeiam@gmail.com>
Date: Fri, 22 Dec 2017 14:29:29 +0100
Subject: [PATCH 06/10] Removed debug code from runGitLink.ps1
---
.appveyor/runGitLink.ps1 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.appveyor/runGitLink.ps1 b/.appveyor/runGitLink.ps1
index e0f89f92..49e62cd5 100644
--- a/.appveyor/runGitLink.ps1
+++ b/.appveyor/runGitLink.ps1
@@ -2,9 +2,9 @@ choco install gitlink --version 3.2.0-unstable0014 --pre --no-progress --limit-o
Get-ChildItem -Recurse "*.pdb" | %{
If ($_.Fullname -contains 'PitchTracker.pdb'){
- & echo -u "`"https://github.com/$($Env:APPVEYOR_REPO_NAME)`"" -a --baseDir "`"$Env:APPVEYOR_BUILD_FOLDER`"" --commit "`"$Env:APPVEYOR_REPO_COMMIT`"" "`"$($_.Fullname)`""
+ & gitlink -u "`"https://github.com/$($Env:APPVEYOR_REPO_NAME)`"" -a --baseDir "`"$Env:APPVEYOR_BUILD_FOLDER`"" --commit "`"$Env:APPVEYOR_REPO_COMMIT`"" "`"$($_.Fullname)`""
}
else{
- & echo -u "`"https://github.com/$($Env:APPVEYOR_REPO_NAME)`"" --baseDir "`"$Env:APPVEYOR_BUILD_FOLDER`"" --commit "`"$Env:APPVEYOR_REPO_COMMIT`"" "`"$($_.Fullname)`""
+ & gitlink -u "`"https://github.com/$($Env:APPVEYOR_REPO_NAME)`"" --baseDir "`"$Env:APPVEYOR_BUILD_FOLDER`"" --commit "`"$Env:APPVEYOR_REPO_COMMIT`"" "`"$($_.Fullname)`""
}
}
\ No newline at end of file
From 6648b163fb96609d2f71885d0568621081376764 Mon Sep 17 00:00:00 2001
From: lukeIam <2lukeiam@gmail.com>
Date: Fri, 22 Dec 2017 16:45:46 +0100
Subject: [PATCH 07/10] Changed GitLink version
---
.appveyor/runGitLink.ps1 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.appveyor/runGitLink.ps1 b/.appveyor/runGitLink.ps1
index 49e62cd5..713a2207 100644
--- a/.appveyor/runGitLink.ps1
+++ b/.appveyor/runGitLink.ps1
@@ -1,4 +1,4 @@
-choco install gitlink --version 3.2.0-unstable0014 --pre --no-progress --limit-output
+choco install gitlink --version 3.1.0-unstable0017 --pre --no-progress --limit-output
Get-ChildItem -Recurse "*.pdb" | %{
If ($_.Fullname -contains 'PitchTracker.pdb'){
From 58cab6e62784391daf82dbb1f7b904f20152f383 Mon Sep 17 00:00:00 2001
From: lukeIam <2lukeiam@gmail.com>
Date: Fri, 22 Dec 2017 16:54:43 +0100
Subject: [PATCH 08/10] Apply gitlink only to files in Output
---
appveyor.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/appveyor.yml b/appveyor.yml
index 24586769..24f3b9ff 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -50,9 +50,9 @@ build:
verbosity: normal
after_build:
- ps: |
- ./.appveyor/runGitLink.ps1
-
cd Output
+
+ ./.appveyor/runGitLink.ps1
$Env:MAIN_REPO = $False
From 20f1f98e22093fa272a9823693bfd8600665ce44 Mon Sep 17 00:00:00 2001
From: lukeIam <2lukeiam@gmail.com>
Date: Fri, 22 Dec 2017 17:03:18 +0100
Subject: [PATCH 09/10] Fix: runGitLink.ps1 not found
---
.appveyor/runGitLink.ps1 | 2 +-
appveyor.yml | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.appveyor/runGitLink.ps1 b/.appveyor/runGitLink.ps1
index 713a2207..bf227dc9 100644
--- a/.appveyor/runGitLink.ps1
+++ b/.appveyor/runGitLink.ps1
@@ -1,6 +1,6 @@
choco install gitlink --version 3.1.0-unstable0017 --pre --no-progress --limit-output
-Get-ChildItem -Recurse "*.pdb" | %{
+Get-ChildItem -Path ".\Output" -Recurse "*.pdb" | %{
If ($_.Fullname -contains 'PitchTracker.pdb'){
& gitlink -u "`"https://github.com/$($Env:APPVEYOR_REPO_NAME)`"" -a --baseDir "`"$Env:APPVEYOR_BUILD_FOLDER`"" --commit "`"$Env:APPVEYOR_REPO_COMMIT`"" "`"$($_.Fullname)`""
}
diff --git a/appveyor.yml b/appveyor.yml
index 24f3b9ff..24586769 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -50,9 +50,9 @@ build:
verbosity: normal
after_build:
- ps: |
- cd Output
-
./.appveyor/runGitLink.ps1
+
+ cd Output
$Env:MAIN_REPO = $False
From ba4fe94a6e05f2135bdf2dd728fb8c0ae42e2316 Mon Sep 17 00:00:00 2001
From: lukeIam <2lukeiam@gmail.com>
Date: Fri, 22 Dec 2017 17:12:28 +0100
Subject: [PATCH 10/10] Delete not longer needed *.srcsrv files
---
.appveyor/runGitLink.ps1 | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/.appveyor/runGitLink.ps1 b/.appveyor/runGitLink.ps1
index bf227dc9..d7956fe0 100644
--- a/.appveyor/runGitLink.ps1
+++ b/.appveyor/runGitLink.ps1
@@ -1,10 +1,13 @@
choco install gitlink --version 3.1.0-unstable0017 --pre --no-progress --limit-output
-Get-ChildItem -Path ".\Output" -Recurse "*.pdb" | %{
+Get-ChildItem -Path ".\Output" -Recurse "*.pdb" | %{
If ($_.Fullname -contains 'PitchTracker.pdb'){
& gitlink -u "`"https://github.com/$($Env:APPVEYOR_REPO_NAME)`"" -a --baseDir "`"$Env:APPVEYOR_BUILD_FOLDER`"" --commit "`"$Env:APPVEYOR_REPO_COMMIT`"" "`"$($_.Fullname)`""
}
else{
& gitlink -u "`"https://github.com/$($Env:APPVEYOR_REPO_NAME)`"" --baseDir "`"$Env:APPVEYOR_BUILD_FOLDER`"" --commit "`"$Env:APPVEYOR_REPO_COMMIT`"" "`"$($_.Fullname)`""
}
-}
\ No newline at end of file
+}
+
+# srcsrv were integrated in the pdb files -> delete the srcsrv files
+Remove-Item ".\Output\*.pdb.srcsrv"
\ No newline at end of file