From 439b2f874a7867fcdbc23aa75c11fd4f7e7d27b1 Mon Sep 17 00:00:00 2001 From: Abhijeet Shah Date: Mon, 17 Apr 2017 19:46:00 -0700 Subject: [PATCH 1/3] Tests enabled, added signing support --- Directory.Build.props | 31 ++----- build.proj | 8 +- dirs.proj | 7 +- src/SDKs/dirs.proj | 36 +++++--- src/dirs.proj | 7 +- tools/buildTargets/additional.targets | 59 ++++++++++++ tools/buildTargets/common.targets | 126 +++++++++++++------------- tools/buildTargets/common.tasks | 15 ++- tools/buildTargets/signing.targets | 124 +++++++++++++++++++++++++ 9 files changed, 292 insertions(+), 121 deletions(-) create mode 100644 tools/buildTargets/additional.targets create mode 100644 tools/buildTargets/signing.targets diff --git a/Directory.Build.props b/Directory.Build.props index 935e3f26069d1..e9e74da69838b 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,4 +1,4 @@ - + @@ -17,6 +17,12 @@ "$(LibraryToolsFolder)\nuget.exe" true + + + $(OnPremiseBuildTasks) + true + false + true @@ -37,17 +43,6 @@ $(LibraryRoot)src\UpgradeVS17\SdkCommon\ClientRuntime - - - - - - - - \ No newline at end of file diff --git a/build.proj b/build.proj index 9ece2c6f4bd59..827e30dcdda4d 100644 --- a/build.proj +++ b/build.proj @@ -8,11 +8,5 @@ - - + diff --git a/dirs.proj b/dirs.proj index 874496a36a243..960befb44d0d5 100644 --- a/dirs.proj +++ b/dirs.proj @@ -1,4 +1,3 @@ - - - - + + + \ No newline at end of file diff --git a/src/SDKs/dirs.proj b/src/SDKs/dirs.proj index ccee42c715cc1..01c84e3bc4191 100644 --- a/src/SDKs/dirs.proj +++ b/src/SDKs/dirs.proj @@ -1,8 +1,9 @@ - + - + + @@ -42,22 +43,21 @@ - - + + + @@ -77,19 +77,18 @@ - + - - + @@ -98,5 +97,18 @@ - + + + + + + + + + + diff --git a/src/dirs.proj b/src/dirs.proj index 17eb6ce35482f..57c5d00229703 100644 --- a/src/dirs.proj +++ b/src/dirs.proj @@ -1,9 +1,4 @@  + - diff --git a/tools/buildTargets/additional.targets b/tools/buildTargets/additional.targets new file mode 100644 index 0000000000000..92f7d9da69c89 --- /dev/null +++ b/tools/buildTargets/additional.targets @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tools/buildTargets/common.targets b/tools/buildTargets/common.targets index ed5feadc80ebe..da6faa64254d7 100644 --- a/tools/buildTargets/common.targets +++ b/tools/buildTargets/common.targets @@ -1,14 +1,18 @@  - - + + + + net452 + netstandard1.4 + + + BuildCiSign; + BuildMsBuildTask; CategorizeProjects; @@ -19,11 +23,14 @@ PreBuildStaticAnalysis; BuildLatestProjects; + PreSign; + Sign; + PostSign; Package - RestoreLatestProjects; + @@ -72,24 +79,51 @@ Build - - - + + + + + + + + + + + + + + - - - + ContinueOnError="ErrorAndStop"> + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + - - + - - - - - - - \ No newline at end of file + diff --git a/tools/buildTargets/common.tasks b/tools/buildTargets/common.tasks index 7f86b642c6c84..dfb2a2120f35b 100644 --- a/tools/buildTargets/common.tasks +++ b/tools/buildTargets/common.tasks @@ -1,10 +1,19 @@ - - + - + + + + + + + + + + + diff --git a/tools/buildTargets/signing.targets b/tools/buildTargets/signing.targets new file mode 100644 index 0000000000000..56cd56deea691 --- /dev/null +++ b/tools/buildTargets/signing.targets @@ -0,0 +1,124 @@ + + + 31bf3856ad364e35 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 593f58c21f9416a3d282c4cdd6b641c3f5e99a68 Mon Sep 17 00:00:00 2001 From: Fx Code Sign Date: Mon, 17 Apr 2017 22:56:43 -0700 Subject: [PATCH 2/3] enabling restore --- tools/buildTargets/common.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/buildTargets/common.targets b/tools/buildTargets/common.targets index da6faa64254d7..e1e82f709b2c0 100644 --- a/tools/buildTargets/common.targets +++ b/tools/buildTargets/common.targets @@ -30,7 +30,7 @@ - + RestoreLatestProjects; From 0ecb647bc92849acd9863ed735d5b9e8dbe89436 Mon Sep 17 00:00:00 2001 From: Abhijeet Shah Date: Mon, 17 Apr 2017 23:10:08 -0700 Subject: [PATCH 3/3] fixing xml namespaces --- Directory.Build.props | 2 +- dirs.proj | 2 +- src/SDKs/dirs.proj | 2 +- tools/buildTargets/common.tasks | 2 +- tools/buildTargets/testTargets/test.Build.props | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index e9e74da69838b..936f6fdb1e7a2 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,4 +1,4 @@ - + diff --git a/dirs.proj b/dirs.proj index 960befb44d0d5..8c986b8d4dd5f 100644 --- a/dirs.proj +++ b/dirs.proj @@ -1,3 +1,3 @@ - + \ No newline at end of file diff --git a/src/SDKs/dirs.proj b/src/SDKs/dirs.proj index 01c84e3bc4191..78029e9682035 100644 --- a/src/SDKs/dirs.proj +++ b/src/SDKs/dirs.proj @@ -1,4 +1,4 @@ - + diff --git a/tools/buildTargets/common.tasks b/tools/buildTargets/common.tasks index dfb2a2120f35b..309954e0e49f6 100644 --- a/tools/buildTargets/common.tasks +++ b/tools/buildTargets/common.tasks @@ -1,4 +1,4 @@ - + diff --git a/tools/buildTargets/testTargets/test.Build.props b/tools/buildTargets/testTargets/test.Build.props index a1e11705aee13..40d8d5fd78cce 100644 --- a/tools/buildTargets/testTargets/test.Build.props +++ b/tools/buildTargets/testTargets/test.Build.props @@ -1,4 +1,4 @@ - + Debug