Skip to content

Commit

Permalink
chore: netstandard2.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszmalik committed Jan 18, 2024
1 parent 72904e1 commit f18fa1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -502,11 +502,15 @@ public ExpressionBuilder(ExpressionParserOptions options)

var oldExtensionInstance = _extensionInstance;
_extensionInstance = instanceExpression;
try
{
if (TryResolveMethodCall(node, null, parameters, methods, out var expression))
return expression;
}
_extensionInstance = oldExtensionInstance;
finally
{
_extensionInstance = oldExtensionInstance;
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/TagBites.Expressions/TagBites.Expressions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!-- Targets -->
<PropertyGroup>
<TargetFrameworks>netstandard2.1</TargetFrameworks>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>

Expand Down

0 comments on commit f18fa1d

Please sign in to comment.