Skip to content

Commit

Permalink
Merge branch 'users/jawilley/exceptions' of https://github.com/Azure/…
Browse files Browse the repository at this point in the history
…azure-cosmos-dotnet-v3 into users/jawilley/exceptions
  • Loading branch information
Jake Willey committed Sep 10, 2021
2 parents db1c3e5 + f94303e commit db7e789
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<DirectVersion>3.21.1</DirectVersion>
<EncryptionVersion>1.0.0-previewV16</EncryptionVersion>
<HybridRowVersion>1.1.0-preview3</HybridRowVersion>
<LangVersion>9.0</LangVersion>
<AboveDirBuildProps>$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))</AboveDirBuildProps>
<DefineConstants Condition=" '$(IsNightly)' == 'true' or '$(IsPreview)' == 'true' ">$(DefineConstants);PREVIEW</DefineConstants>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>Microsoft.Azure.Cosmos.Encryption</AssemblyName>
<RootNamespace>Microsoft.Azure.Cosmos.Encryption</RootNamespace>
<LangVersion>latest</LangVersion>
<LangVersion>$(LangVersion)</LangVersion>
<IsPreview>true</IsPreview>

<CurrentDate>$([System.DateTime]::Now.ToString(yyyyMMdd))</CurrentDate>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<IsEmulatorTest>true</IsEmulatorTest>
<EmulatorFlavor>master</EmulatorFlavor>
<DisableCopyEmulator>True</DisableCopyEmulator>
<LangVersion>$(LangVersion)</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<IsPackable>false</IsPackable>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<RootNamespace>Microsoft.Azure.Cosmos.Encryption.Tests</RootNamespace>
<LangVersion>$(LangVersion)</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<ServerGarbageCollection>true</ServerGarbageCollection>
<Optimize Condition="'$(Configuration)'=='Release'">true</Optimize>
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
<LangVersion>$(LangVersion)</LangVersion>
</PropertyGroup>
<ItemGroup>
<None Include="KeyValue.json">
Expand Down
2 changes: 1 addition & 1 deletion Microsoft.Azure.Cosmos/src/Microsoft.Azure.Cosmos.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
<RootNamespace>Microsoft.Azure.Cosmos</RootNamespace>
<NoWarn>NU5125</NoWarn>
<Optimize Condition="'$(Configuration)'=='Release'">true</Optimize>
<LangVersion>$(LangVersion)</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -174,7 +175,6 @@
<DefineConstants Condition=" '$(SignAssembly)' == 'true' ">$(DefineConstants);SignAssembly</DefineConstants>
<DefineConstants Condition=" '$(DelaySign)' == 'true' ">$(DefineConstants);DelaySignKeys</DefineConstants>
<DefineConstants>$(DefineConstants);DOCDBCLIENT;COSMOSCLIENT;NETSTANDARD20</DefineConstants>
<LangVersion>8.0</LangVersion>
</PropertyGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ private static string GetMessageHelper(
|| statusCode == HttpStatusCode.ServiceUnavailable
|| (statusCode == HttpStatusCode.NotFound && headers.SubStatusCode == SubStatusCodes.ReadSessionNotAvailable))
{
stringBuilder.Append(" Diagnostics:");
stringBuilder.Append("; Diagnostics:");
stringBuilder.Append(diagnostics.ToString());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<IsEmulatorTest>true</IsEmulatorTest>
<EmulatorFlavor>master</EmulatorFlavor>
<DisableCopyEmulator>True</DisableCopyEmulator>
<LangVersion>8.0</LangVersion>
<LangVersion>$(LangVersion)</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<IsPackable>false</IsPackable>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<RootNamespace>Microsoft.Azure.Cosmos</RootNamespace>
<LangVersion>$(LangVersion)</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<IsPackable>false</IsPackable>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<RootNamespace>Microsoft.Azure.Cosmos.Tests</RootNamespace>
<LangVersion>8.0</LangVersion>
<LangVersion>$(LangVersion)</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit db7e789

Please sign in to comment.