Skip to content

Commit

Permalink
fix #70 mapster nuget versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
chaowlert committed Jul 14, 2016
1 parent 970013b commit 8e59d24
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Mapster/Adapters/ClassAdapter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ protected override Expression CreateBlockExpression(Expression source, Expressio
lines.Add(itemAssign);
}

return lines.Any() ? (Expression)Expression.Block(lines) : Expression.Empty();
return lines.Count > 0 ? (Expression)Expression.Block(lines) : Expression.Empty();
}

protected override Expression CreateInlineExpression(Expression source, CompileArgument arg)
Expand Down
2 changes: 0 additions & 2 deletions src/Mapster/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,4 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.1.0")]
[assembly: AssemblyFileVersion("2.1.0")]
[assembly: InternalsVisibleTo("Mapster.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001000936c652e8d888894759aa92c40f62c30d691cb153214c6ddff550ee7b68b320eefeed3fceef9a7cea5cfce035983b4d6c22ea7a925e375116cdf8f6ea6259ebe263fbd9a1332037e5f7da63df86124223c81667c86b387372aa769a145ddadb378ba6dfe2b4f4266c89eb54b477938ba265321fa77f953f2abaacfed62e66bd")]
2 changes: 1 addition & 1 deletion src/Mapster/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.4.2",
"version": "2.4.3",
"description": "A fast, fun and stimulating object to object mapper. Kind of like AutoMapper, just simpler and way, way faster.",
"packOptions": {
"summary": "A fast, fun and stimulating object to object mapper. Kind of like AutoMapper, but simpler and way faster.",
Expand Down

0 comments on commit 8e59d24

Please sign in to comment.