//
// TargetDotNetFrameworkVersion.cs: Represents framework version.
//
-// Author:
+// Authors:
// Marek Sieradzki (marek.sieradzki@gmail.com)
+// Marek Safar (marek.safar@gmail.com)
//
// (C) 2005 Marek Sieradzki
+// Copyright 2011 Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-#if NET_2_0
-
namespace Microsoft.Build.Utilities
{
// If changing something here then update
// ToolLocationHelper.GetPathToDotNetFramework also
- public enum TargetDotNetFrameworkVersion
+ #if MICROSOFT_BUILD_DLL
+ internal
+ #else
+ public
+ #endif
+ enum TargetDotNetFrameworkVersion
{
Version11,
Version20,
+#if NET_3_5
Version30,
Version35,
- VersionLatest = Version35
- }
-}
+#endif
+ Version40,
+ Version45,
+#if XBUILD_12
+ Version451,
+#endif
+#if XBUILD_14
+ Version453,
+#endif
+#if XBUILD_14
+ VersionLatest = Version453
+#elif XBUILD_12
+ VersionLatest = Version451
+#else
+ VersionLatest = Version45
#endif
+ }
+}