diff --git a/35MSSharedLib1024.snk b/35MSSharedLib1024.snk new file mode 100644 index 0000000000..695f1b3877 Binary files /dev/null and b/35MSSharedLib1024.snk differ diff --git a/device/Microsoft.Azure.Devices.Client.NetStandard/Microsoft.Azure.Devices.Client.NetStandard.csproj b/device/Microsoft.Azure.Devices.Client.NetStandard/Microsoft.Azure.Devices.Client.NetStandard.csproj index 11c4e6e192..b4adebcf84 100644 --- a/device/Microsoft.Azure.Devices.Client.NetStandard/Microsoft.Azure.Devices.Client.NetStandard.csproj +++ b/device/Microsoft.Azure.Devices.Client.NetStandard/Microsoft.Azure.Devices.Client.NetStandard.csproj @@ -36,6 +36,18 @@ 4 true + + bin\Release_Delay_Sign\ + TRACE;NETSTANDARD1_3;RELEASE_DELAY_SIGN; + true + true + true + pdbonly + AnyCPU + prompt + MinimumRecommendedRules.ruleset + bin\Release\Microsoft.Azure.Devices.Client.NetStandard.XML + diff --git a/device/Microsoft.Azure.Devices.Client.NetStandard/Properties/AssemblyInfo.cs b/device/Microsoft.Azure.Devices.Client.NetStandard/Properties/AssemblyInfo.cs index fcd83cdcee..5a4b009e64 100644 --- a/device/Microsoft.Azure.Devices.Client.NetStandard/Properties/AssemblyInfo.cs +++ b/device/Microsoft.Azure.Devices.Client.NetStandard/Properties/AssemblyInfo.cs @@ -31,3 +31,12 @@ // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")] + +#if (RELEASE_DELAY_SIGN) +[assembly: AssemblyDelaySignAttribute(true)] +[assembly: AssemblyKeyFileAttribute("..\\..\\35MSSharedLib1024.snk")] +#endif + +// Version information for an assembly follows semantic versioning 1.0.0 (because +// NuGet didn't support semver 2.0.0 before VS 2015). See semver.org for details. +[assembly: AssemblyInformationalVersion("1.0.0")] diff --git a/device/iothub_csharp_deviceclient.sln b/device/iothub_csharp_deviceclient.sln index 8246aa360d..1fb1b9d6fd 100644 --- a/device/iothub_csharp_deviceclient.sln +++ b/device/iothub_csharp_deviceclient.sln @@ -2094,8 +2094,8 @@ Global {8988AB0E-0FDD-4BD4-A65F-6479BB2C5AF8}.Debug|x64.Build.0 = Debug|Any CPU {8988AB0E-0FDD-4BD4-A65F-6479BB2C5AF8}.Debug|x86.ActiveCfg = Debug|Any CPU {8988AB0E-0FDD-4BD4-A65F-6479BB2C5AF8}.Debug|x86.Build.0 = Debug|Any CPU - {8988AB0E-0FDD-4BD4-A65F-6479BB2C5AF8}.Release_Delay_Sign|Any CPU.ActiveCfg = Release|Any CPU - {8988AB0E-0FDD-4BD4-A65F-6479BB2C5AF8}.Release_Delay_Sign|Any CPU.Build.0 = Release|Any CPU + {8988AB0E-0FDD-4BD4-A65F-6479BB2C5AF8}.Release_Delay_Sign|Any CPU.ActiveCfg = Release_Delay_Sign|Any CPU + {8988AB0E-0FDD-4BD4-A65F-6479BB2C5AF8}.Release_Delay_Sign|Any CPU.Build.0 = Release_Delay_Sign|Any CPU {8988AB0E-0FDD-4BD4-A65F-6479BB2C5AF8}.Release_Delay_Sign|ARM.ActiveCfg = Release|Any CPU {8988AB0E-0FDD-4BD4-A65F-6479BB2C5AF8}.Release_Delay_Sign|ARM.Build.0 = Release|Any CPU {8988AB0E-0FDD-4BD4-A65F-6479BB2C5AF8}.Release_Delay_Sign|iPhone.ActiveCfg = Release|Any CPU @@ -2166,8 +2166,8 @@ Global {91DFB837-D8A3-4F54-AE0D-45C95ACD0C2A}.Debug|x64.Build.0 = Debug|Any CPU {91DFB837-D8A3-4F54-AE0D-45C95ACD0C2A}.Debug|x86.ActiveCfg = Debug|Any CPU {91DFB837-D8A3-4F54-AE0D-45C95ACD0C2A}.Debug|x86.Build.0 = Debug|Any CPU - {91DFB837-D8A3-4F54-AE0D-45C95ACD0C2A}.Release_Delay_Sign|Any CPU.ActiveCfg = Release|Any CPU - {91DFB837-D8A3-4F54-AE0D-45C95ACD0C2A}.Release_Delay_Sign|Any CPU.Build.0 = Release|Any CPU + {91DFB837-D8A3-4F54-AE0D-45C95ACD0C2A}.Release_Delay_Sign|Any CPU.ActiveCfg = Release_Delay_Sign|Any CPU + {91DFB837-D8A3-4F54-AE0D-45C95ACD0C2A}.Release_Delay_Sign|Any CPU.Build.0 = Release_Delay_Sign|Any CPU {91DFB837-D8A3-4F54-AE0D-45C95ACD0C2A}.Release_Delay_Sign|ARM.ActiveCfg = Release|Any CPU {91DFB837-D8A3-4F54-AE0D-45C95ACD0C2A}.Release_Delay_Sign|ARM.Build.0 = Release|Any CPU {91DFB837-D8A3-4F54-AE0D-45C95ACD0C2A}.Release_Delay_Sign|iPhone.ActiveCfg = Release|Any CPU diff --git a/shared/Microsoft.Azure.Devices.Shared.NetStandard/Microsoft.Azure.Devices.Shared.NetStandard.csproj b/shared/Microsoft.Azure.Devices.Shared.NetStandard/Microsoft.Azure.Devices.Shared.NetStandard.csproj index d9e5e08197..5841b63ac6 100644 --- a/shared/Microsoft.Azure.Devices.Shared.NetStandard/Microsoft.Azure.Devices.Shared.NetStandard.csproj +++ b/shared/Microsoft.Azure.Devices.Shared.NetStandard/Microsoft.Azure.Devices.Shared.NetStandard.csproj @@ -34,6 +34,18 @@ prompt 4 + + bin\Release_Delay_Sign\ + TRACE;RELEASE_DELAY_SIGN + true + true + pdbonly + AnyCPU + prompt + MinimumRecommendedRules.ruleset + + + diff --git a/shared/Microsoft.Azure.Devices.Shared.NetStandard/Properties/AssemblyInfo.cs b/shared/Microsoft.Azure.Devices.Shared.NetStandard/Properties/AssemblyInfo.cs index b7a46b8b32..424dad1be0 100644 --- a/shared/Microsoft.Azure.Devices.Shared.NetStandard/Properties/AssemblyInfo.cs +++ b/shared/Microsoft.Azure.Devices.Shared.NetStandard/Properties/AssemblyInfo.cs @@ -29,7 +29,7 @@ #if (RELEASE_DELAY_SIGN) [assembly: AssemblyDelaySignAttribute(true)] -[assembly: AssemblyKeyFileAttribute("35MSSharedLib1024.snk")] +[assembly: AssemblyKeyFileAttribute("..\\..\\35MSSharedLib1024.snk")] #endif // Version information for an assembly follows semantic versioning 1.0.0 (because