Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit aa3e5c6

Browse files
committed
Fix SL5 build
1 parent e56ad09 commit aa3e5c6

File tree

3 files changed

+21
-21
lines changed

3 files changed

+21
-21
lines changed

src/ServiceStack.Text.SL5.sln

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,31 @@
1-
21
Microsoft Visual Studio Solution File, Format Version 12.00
32
# Visual Studio 15
4-
VisualStudioVersion = 15.0.26114.2
3+
VisualStudioVersion = 15.0.26430.6
54
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.Text.SL5", "ServiceStack.Text\ServiceStack.Text.SL5.csproj", "{579B3FDB-CDAD-44E1-8417-885C38E49A0E}"
7-
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.Text", "ServiceStack.Text\ServiceStack.Text.csproj", "{9101EA96-5486-4FE1-BD42-0C5671F0E313}"
5+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ServiceStack.Text.SL5", "ServiceStack.Text\ServiceStack.Text.SL5.csproj", "{579B3FDB-CDAD-44E1-8417-885C38E49A0E}"
96
EndProject
107
Global
118
GlobalSection(SolutionConfigurationPlatforms) = preSolution
129
Debug|Any CPU = Debug|Any CPU
13-
Release|Any CPU = Release|Any CPU
1410
Debug|x64 = Debug|x64
1511
Debug|x86 = Debug|x86
12+
Release|Any CPU = Release|Any CPU
1613
Release|x64 = Release|x64
1714
Release|x86 = Release|x86
1815
EndGlobalSection
1916
GlobalSection(ProjectConfigurationPlatforms) = postSolution
2017
{579B3FDB-CDAD-44E1-8417-885C38E49A0E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2118
{579B3FDB-CDAD-44E1-8417-885C38E49A0E}.Debug|Any CPU.Build.0 = Debug|Any CPU
19+
{579B3FDB-CDAD-44E1-8417-885C38E49A0E}.Debug|x64.ActiveCfg = Debug|Any CPU
20+
{579B3FDB-CDAD-44E1-8417-885C38E49A0E}.Debug|x64.Build.0 = Debug|Any CPU
21+
{579B3FDB-CDAD-44E1-8417-885C38E49A0E}.Debug|x86.ActiveCfg = Debug|Any CPU
22+
{579B3FDB-CDAD-44E1-8417-885C38E49A0E}.Debug|x86.Build.0 = Debug|Any CPU
2223
{579B3FDB-CDAD-44E1-8417-885C38E49A0E}.Release|Any CPU.ActiveCfg = Release|Any CPU
2324
{579B3FDB-CDAD-44E1-8417-885C38E49A0E}.Release|Any CPU.Build.0 = Release|Any CPU
24-
{9101EA96-5486-4FE1-BD42-0C5671F0E313}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
25-
{9101EA96-5486-4FE1-BD42-0C5671F0E313}.Debug|Any CPU.Build.0 = Debug|Any CPU
26-
{9101EA96-5486-4FE1-BD42-0C5671F0E313}.Debug|x64.ActiveCfg = Debug|x64
27-
{9101EA96-5486-4FE1-BD42-0C5671F0E313}.Debug|x64.Build.0 = Debug|x64
28-
{9101EA96-5486-4FE1-BD42-0C5671F0E313}.Debug|x86.ActiveCfg = Debug|x86
29-
{9101EA96-5486-4FE1-BD42-0C5671F0E313}.Debug|x86.Build.0 = Debug|x86
30-
{9101EA96-5486-4FE1-BD42-0C5671F0E313}.Release|Any CPU.ActiveCfg = Release|Any CPU
31-
{9101EA96-5486-4FE1-BD42-0C5671F0E313}.Release|Any CPU.Build.0 = Release|Any CPU
32-
{9101EA96-5486-4FE1-BD42-0C5671F0E313}.Release|x64.ActiveCfg = Release|x64
33-
{9101EA96-5486-4FE1-BD42-0C5671F0E313}.Release|x64.Build.0 = Release|x64
34-
{9101EA96-5486-4FE1-BD42-0C5671F0E313}.Release|x86.ActiveCfg = Release|x86
35-
{9101EA96-5486-4FE1-BD42-0C5671F0E313}.Release|x86.Build.0 = Release|x86
25+
{579B3FDB-CDAD-44E1-8417-885C38E49A0E}.Release|x64.ActiveCfg = Release|Any CPU
26+
{579B3FDB-CDAD-44E1-8417-885C38E49A0E}.Release|x64.Build.0 = Release|Any CPU
27+
{579B3FDB-CDAD-44E1-8417-885C38E49A0E}.Release|x86.ActiveCfg = Release|Any CPU
28+
{579B3FDB-CDAD-44E1-8417-885C38E49A0E}.Release|x86.Build.0 = Release|Any CPU
3629
EndGlobalSection
3730
GlobalSection(SolutionProperties) = preSolution
3831
HideSolutionNode = FALSE

src/ServiceStack.Text/TypeFields.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ public static GetMemberDelegate GetFieldGetterFn(this FieldInfo fieldInfo) =>
159159
public static SetMemberDelegate GetFieldSetterFn(this FieldInfo fieldInfo) =>
160160
PclExport.Instance.GetFieldSetterFn(fieldInfo);
161161

162+
#if !SL5
163+
162164
public static GetMemberDelegate GetReflection(FieldInfo fieldInfo) => fieldInfo.GetValue;
163165
public static SetMemberDelegate SetReflection(FieldInfo fieldInfo) => fieldInfo.SetValue;
164166

@@ -336,5 +338,6 @@ internal static DynamicMethod CreateDynamicSetMethod(MemberInfo memberInfo)
336338
}
337339
#endif
338340

339-
}
340-
}
341+
#endif
342+
}
343+
}

src/ServiceStack.Text/TypeProperties.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ public static GetMemberDelegate GetPropertyGetterFn(this PropertyInfo propertyIn
141141
public static SetMemberDelegate GetPropertySetterFn(this PropertyInfo propertyInfo) =>
142142
PclExport.Instance.GetPropertySetterFn(propertyInfo);
143143

144+
#if !SL5
145+
144146
public static GetMemberDelegate GetReflection(PropertyInfo propertyInfo) => propertyInfo.GetValue;
145147
public static SetMemberDelegate SetReflection(PropertyInfo propertyInfo) => propertyInfo.SetValue;
146148

@@ -265,5 +267,7 @@ public static SetMemberDelegate SetEmit(PropertyInfo propertyInfo)
265267
}
266268
#endif
267269

270+
#endif
268271
}
269-
}
272+
}
273+

0 commit comments

Comments
 (0)