Skip to content

Commit

Permalink
Client Side Encryption : Adds fix for Encryption Package not picking …
Browse files Browse the repository at this point in the history
…up Cryptography DLL. (#2105)

This fixes the issue of Encryption package not picking up Cryptography.dll when building the Nuget package.
  • Loading branch information
kr-santosh authored Jan 7, 2021
1 parent 29c960b commit 39d232d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<ClientOfficialVersion>3.15.1</ClientOfficialVersion>
<ClientPreviewVersion>3.15.2</ClientPreviewVersion>
<DirectVersion>3.15.4</DirectVersion>
<EncryptionVersion>1.0.0-preview8</EncryptionVersion>
<EncryptionVersion>1.0.0-preview9</EncryptionVersion>
<HybridRowVersion>1.1.0-preview1</HybridRowVersion>
<AboveDirBuildProps>$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))</AboveDirBuildProps>
<DefineConstants Condition=" '$(IsNightly)' == 'true' or '$(IsPreview)' == 'true' ">$(DefineConstants);PREVIEW</DefineConstants>
Expand Down
5 changes: 5 additions & 0 deletions Microsoft.Azure.Cosmos.Encryption/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ Preview features are treated as a separate branch and will not be included in th
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

### <a name="1.0.0-preview9"/> [1.0.0-preview9](https://www.nuget.org/packages/Microsoft.Azure.Cosmos.Encryption/1.0.0-preview9) - 2021-01-06

#### Fixes
- [#2105](https://github.com/Azure/azure-cosmos-dotnet-v3/pull/2105) Fixes the nuget generation to include Cryptography DLL.

### <a name="1.0.0-preview8"/> [1.0.0-preview8](https://www.nuget.org/packages/Microsoft.Azure.Cosmos.Encryption/1.0.0-preview8) - 2021-01-05

#### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@
<ItemGroup>
<Folder Include="Custom\" />
</ItemGroup>


<ItemGroup>
<None Include="..\src\Custom\MdeServices\MdeCryptographyLib\Microsoft.Data.Encryption.Cryptography.dll" Pack="true" PackagePath="lib\netstandard2.0" />
</ItemGroup>

<ItemGroup>
<Reference Include="Microsoft.Data.Encryption.Cryptography">
<HintPath>..\src\Custom\MdeServices\MdeCryptographyLib\Microsoft.Data.Encryption.Cryptography.dll</HintPath>
Expand Down

0 comments on commit 39d232d

Please sign in to comment.