8000 SDK_VERSION synch with NuGet package version. · optimizely/csharp-sdk@8100f3e · GitHub
[go: up one dir, main page]

Skip to content

Commit 8100f3e

Browse files
SDK_VERSION synch with NuGet package version.
1 parent 2fac7e7 commit 8100f3e

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

OptimizelySDK/Optimizely.cs

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,8 @@ public class Optimizely
5151

5252
public static String SDK_VERSION {
5353
get {
54-
// Example output: "2.0.0" . Should be kept in synch with NuGet package version.
55-
#if NET35
56-
Assembly assembly = Assembly.GetExecutingAssembly();
57-
#else
58-
Assembly assembly = typeof(Optimizely).GetTypeInfo().Assembly;
59-
#endif
60-
// Microsoft Major.Minor.Build.Revision
61-
// Semantic Major.Minor.Patch
62-
Version version = assembly.GetName().Version;
63-
String answer = String.Format("{0}.{1}.{2}", version.Major, version.Minor, version.Build);
64-
return answer;
54+
// Should be kept in synch with NuGet package version.
55+
return "2.0.0-beta1";
6556
}
6657
}
6758

0 commit comments

Comments
 (0)
0