File tree 2 files changed +11
-2
lines changed
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,12 @@ module Expr =
18
18
19
19
areEqual " 11" res
20
20
21
- let quotseval x = FSharp.Quotations.Evaluator.QuotationEvaluator.EvaluateUntyped x
21
+ let quotseval x =
22
+ #if NETSTANDARD
23
+ FSharp.Quotations.Evaluator.QuotationEvaluator.EvaluateUntyped x
24
+ #else
25
+ Swensen.Unquote.Operators.evalRaw x
26
+ #end if
22
27
let unquote x = Swensen.Unquote.Operators.evalRaw x
23
28
let powerpack x = Microsoft.FSharp.Linq.QuotationEvaluator.EvaluateUntyped x
24
29
Original file line number Diff line number Diff line change 33
33
<ProjectReference Include =" ..\CSharpLib\CSharpLib.csproj" />
34
34
</ItemGroup >
35
35
<ItemGroup >
36
- <PackageReference Include =" FSharp.Quotations.Evaluator" Version =" 2.1.0" />
37
36
<PackageReference Include =" FSPowerPack.Linq.Community" Version =" 3.0.0" />
38
37
<PackageReference Include =" System.Runtime" Version =" 4.3.1" />
39
38
<PackageReference Include =" Unquote" Version =" 5.0.0" />
44
43
<PackageReference Include =" NUnit3TestAdapter" Version =" 3.11.0" />
45
44
<PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 15.9.0" />
46
45
</ItemGroup >
46
+ <ItemGroup Condition =" '$(TargetFramework)' == 'netcoreapp3.0'" >
47
+ <PackageReference Include =" FSharp.Quotations.Evaluator" >
48
+ <Version >2.1.0</Version >
49
+ </PackageReference >
50
+ </ItemGroup >
47
51
</Project >
You can’t perform that action at this time.
0 commit comments