From 30b50fcab10300813468dfb0afbcceeaf9f6ab6f Mon Sep 17 00:00:00 2001 From: Abhijeet Shah Date: Wed, 19 Apr 2017 11:04:14 -0700 Subject: [PATCH 1/5] fixing signing issues --- build.proj | 2 +- src/SDKs/dirs.proj | 4 ++-- tools/buildTargets/common.Build.props | 13 ++----------- tools/buildTargets/signing.targets | 4 ++-- 4 files changed, 7 insertions(+), 16 deletions(-) diff --git a/build.proj b/build.proj index 306085e782983..37b744925ec41 100644 --- a/build.proj +++ b/build.proj @@ -7,7 +7,7 @@ - + diff --git a/src/SDKs/dirs.proj b/src/SDKs/dirs.proj index 946f2dd8007d4..b94ca8111c801 100644 --- a/src/SDKs/dirs.proj +++ b/src/SDKs/dirs.proj @@ -65,8 +65,7 @@ - - + @@ -99,6 +98,7 @@ - - - true true $(LibraryToolsFolder)\MSSharedLibKey.snk - 1591 - - - true - true - $(LibraryToolsFolder)\MSSharedLibKey.snk - 1591 - + 1591;1701 + FullNetFx diff --git a/tools/buildTargets/signing.targets b/tools/buildTargets/signing.targets index 3ac431e870243..3acf54aef6d42 100644 --- a/tools/buildTargets/signing.targets +++ b/tools/buildTargets/signing.targets @@ -20,7 +20,7 @@ WindowsSdkPath="$(WindowsSdkPath)" Assembly="%(DelaySignedAssembliesToValidate.Identity)" ExpectedTokenSignature="$(StrongNameToken)" - ExpectedDelaySigned="false" + ExpectedDelaySigned="true" ContinueOnError="false" Condition="'@(DelaySignedAssembliesToValidate)' != ''"/> @@ -37,7 +37,7 @@ WindowsSdkPath="$(WindowsSdkPath)" Assembly="%(DelaySignedAssembliesToValidate.Identity)" ExpectedTokenSignature="$(StrongNameToken)" - ExpectedDelaySigned="true" + ExpectedDelaySigned="false" ContinueOnError="false" Condition="'$(CodeSign)' == 'true' and '@(DelaySignedAssembliesToValidate)' != ''"/> From e272c69692dabb0dd3bfa45496cf088989c22f5a Mon Sep 17 00:00:00 2001 From: Abhijeet Shah Date: Wed, 19 Apr 2017 11:17:24 -0700 Subject: [PATCH 2/5] signing issues and project search --- tools/buildTargets/common.targets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/buildTargets/common.targets b/tools/buildTargets/common.targets index 74df1cd98e2a9..7b5e33f5a1d7c 100644 --- a/tools/buildTargets/common.targets +++ b/tools/buildTargets/common.targets @@ -174,8 +174,8 @@ - - + + From 55180f3b67a155fa365feaa172aa6326bd9581a6 Mon Sep 17 00:00:00 2001 From: Abhijeet Shah Date: Wed, 19 Apr 2017 11:43:40 -0700 Subject: [PATCH 3/5] adding the right properties for signing that were left --- tools/buildTargets/common.Build.props | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/tools/buildTargets/common.Build.props b/tools/buildTargets/common.Build.props index 44fa551b2fc99..59e43e6ea8e1f 100644 --- a/tools/buildTargets/common.Build.props +++ b/tools/buildTargets/common.Build.props @@ -10,25 +10,11 @@ true false - true + true true $(LibraryToolsFolder)\MSSharedLibKey.snk - 1591;1701 + 1591;1701;1573 - - - FullNetFx - bin\$(Configuration)\ - true - bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml - - - - NETSTANDARD14 - bin\$(Configuration)\ - true - bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml - From 3ad096be914872adf72b0bffefff26668d23c806 Mon Sep 17 00:00:00 2001 From: Abhijeet Shah Date: Wed, 19 Apr 2017 13:43:21 -0700 Subject: [PATCH 4/5] more updates for delay sign --- src/SDKs/AzSdk.reference.props | 6 ++++++ src/SDKs/AzSdk.test.reference.props | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/SDKs/AzSdk.reference.props b/src/SDKs/AzSdk.reference.props index b7f3c665546b0..7d5a3aee79f7c 100644 --- a/src/SDKs/AzSdk.reference.props +++ b/src/SDKs/AzSdk.reference.props @@ -4,6 +4,12 @@ + + true + true + $(LibraryToolsFolder)\MSSharedLibKey.snk + 1591;1701;1573 + + + true + true + $(LibraryToolsFolder)\MSSharedLibKey.snk + 1591;1701;1573 + \ No newline at end of file From bbbb25cf836fb1ceff33d993ac148d42ddbc782d Mon Sep 17 00:00:00 2001 From: Abhijeet Shah Date: Wed, 19 Apr 2017 14:02:50 -0700 Subject: [PATCH 5/5] fx signing running test earlier --- build.proj | 2 +- tools/buildTargets/common.targets | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.proj b/build.proj index 37b744925ec41..c5e768a38a1fa 100644 --- a/build.proj +++ b/build.proj @@ -7,7 +7,7 @@ - + diff --git a/tools/buildTargets/common.targets b/tools/buildTargets/common.targets index 7b5e33f5a1d7c..7b4dd81bcc52f 100644 --- a/tools/buildTargets/common.targets +++ b/tools/buildTargets/common.targets @@ -25,6 +25,7 @@ PreBuildStaticAnalysis; RestoreLatestProjects; BuildLatestProjects; + Test PreSign; @@ -119,7 +120,7 @@ - +