Skip to content

Commit

Permalink
Update .NetStandard projects to build with Delay_Sign config for code…
Browse files Browse the repository at this point in the history
… signing.
  • Loading branch information
tameraw committed Apr 19, 2017
1 parent 87ee17e commit 7ff2c51
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 5 deletions.
Binary file added 35MSSharedLib1024.snk
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release_Delay_Sign|AnyCPU'">
<OutputPath>bin\Release_Delay_Sign\</OutputPath>
<DefineConstants>TRACE;NETSTANDARD1_3;RELEASE_DELAY_SIGN;</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Optimize>true</Optimize>
<NoStdLib>true</NoStdLib>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<DocumentationFile>bin\Release\Microsoft.Azure.Devices.Client.NetStandard.XML</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<!-- A reference to the entire .NET Framework is automatically included -->
<None Include="project.json" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
8 changes: 4 additions & 4 deletions device/iothub_csharp_deviceclient.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release_Delay_Sign|AnyCPU'">
<OutputPath>bin\Release_Delay_Sign\</OutputPath>
<DefineConstants>TRACE;RELEASE_DELAY_SIGN</DefineConstants>
<Optimize>true</Optimize>
<NoStdLib>true</NoStdLib>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<DocumentationFile>
</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\Microsoft.Azure.Devices.Shared\ETagHolder.cs" />
<Compile Include="..\Microsoft.Azure.Devices.Shared\IETagHolder.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7ff2c51

Please sign in to comment.