Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@
<!-- Version properties -->
<PropertyGroup>
<VersionPrefix>$(MajorVersion).$(MinorVersion).$(PatchVersion)</VersionPrefix>
<BuildNumberMajor Condition="'$(BuildNumberMajor)' == ''">00001</BuildNumberMajor>
<BuildNumberMinor Condition="'$(BuildNumberMinor)' == ''">0</BuildNumberMinor>
Copy link
Contributor

@harishsk harishsk Jun 30, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious. Is there a restriction on the format for BuildNumberMajor that it has to have the four leading zeros? #Resolved

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BuildNumberMajor is 5 digit number like 29008 so set default BuildNumberMajor as 00001


In reply to: 447871778 [](ancestors = 447871778)

<AssemblyFileVersion Condition="'$(AssemblyFileVersion)'==''">$(MajorVersion).$(MinorVersion).$(BuildNumberMajor).$(BuildNumberMinor)</AssemblyFileVersion>

<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">false</StabilizePackageVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ private IEnumerable<int> ParseParallel(ParallelState state)
foreach (var batch in state.GetBatches())
{
// If the collation of rows happened correctly, this should have a precise value.
Contracts.Assert(batch.Total == _total + 1);
Contracts.Assert(batch.Total == _total + 1, $"batch.Total:{batch.Total} while _total + 1:{_total + 1}.");
_total = batch.Total - 1;
for (int irow = batch.IrowMin; irow < batch.IrowLim; irow++)
{
Expand Down