diff --git a/Programs/Prebuild/src/Core/Nodes/OptionsNode.cs b/Programs/Prebuild/src/Core/Nodes/OptionsNode.cs
index 9a420c59..3aec7337 100644
--- a/Programs/Prebuild/src/Core/Nodes/OptionsNode.cs
+++ b/Programs/Prebuild/src/Core/Nodes/OptionsNode.cs
@@ -506,6 +506,24 @@ namespace Prebuild.Core.Nodes
}
}
+ [OptionNode("PlatformTarget")]
+ private string m_PlatformTarget = "Any CPU";
+
+ ///
+ ///
+ ///
+ public string PlatformTarget
+ {
+ get
+ {
+ return m_PlatformTarget;
+ }
+ set
+ {
+ m_PlatformTarget = value;
+ }
+ }
+
private StringCollection m_FieldsDefined;
#endregion
diff --git a/Programs/Prebuild/src/Core/Targets/VSGenericTarget.cs b/Programs/Prebuild/src/Core/Targets/VSGenericTarget.cs
index ec642b64..28803d45 100644
--- a/Programs/Prebuild/src/Core/Targets/VSGenericTarget.cs
+++ b/Programs/Prebuild/src/Core/Targets/VSGenericTarget.cs
@@ -278,6 +278,7 @@ namespace Prebuild.Core.Targets
ps.WriteLine(" {0}", conf.Options["WarningLevel"]);
ps.WriteLine(" {0}", conf.Options["NoStdLib"]);
ps.WriteLine(" {0}", conf.Options["SuppressWarnings"]);
+ ps.WriteLine(" {0}", conf.Options.PlatformTarget);
ps.WriteLine(" ");
}
diff --git a/Programs/Prebuild/src/data/prebuild-1.7.xsd b/Programs/Prebuild/src/data/prebuild-1.7.xsd
index 27dcba14..a274a33c 100644
--- a/Programs/Prebuild/src/data/prebuild-1.7.xsd
+++ b/Programs/Prebuild/src/data/prebuild-1.7.xsd
@@ -220,6 +220,7 @@
+