aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Prebuild/src/Core/Targets/.svn/text-base/VS2008Target.cs.svn-base
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Prebuild/src/Core/Targets/.svn/text-base/VS2008Target.cs.svn-base127
1 files changed, 127 insertions, 0 deletions
diff --git a/Prebuild/src/Core/Targets/.svn/text-base/VS2008Target.cs.svn-base b/Prebuild/src/Core/Targets/.svn/text-base/VS2008Target.cs.svn-base
new file mode 100644
index 0000000..fee4f7f
--- /dev/null
+++ b/Prebuild/src/Core/Targets/.svn/text-base/VS2008Target.cs.svn-base
@@ -0,0 +1,127 @@
1using System;
2using System.IO;
3using System.Text;
4
5using Prebuild.Core.Attributes;
6using Prebuild.Core.Interfaces;
7using Prebuild.Core.Nodes;
8using Prebuild.Core.Utilities;
9using System.CodeDom.Compiler;
10
11namespace Prebuild.Core.Targets
12{
13
14 /// <summary>
15 ///
16 /// </summary>
17 [Target("vs2008")]
18 public class VS2008Target : VSGenericTarget
19 {
20 #region Fields
21 string solutionVersion = "10.00";
22 string productVersion = "9.0.21022";
23 string schemaVersion = "2.0";
24 string versionName = "Visual Studio 2008";
25 string name = "vs2008";
26 VSVersion version = VSVersion.VS90;
27
28 /// <summary>
29 /// Gets or sets the solution version.
30 /// </summary>
31 /// <value>The solution version.</value>
32 public override string SolutionVersion
33 {
34 get
35 {
36 return solutionVersion;
37 }
38 }
39 /// <summary>
40 /// Gets or sets the product version.
41 /// </summary>
42 /// <value>The product version.</value>
43 public override string ProductVersion
44 {
45 get
46 {
47 return productVersion;
48 }
49 }
50 /// <summary>
51 /// Gets or sets the schema version.
52 /// </summary>
53 /// <value>The schema version.</value>
54 public override string SchemaVersion
55 {
56 get
57 {
58 return schemaVersion;
59 }
60 }
61 /// <summary>
62 /// Gets or sets the name of the version.
63 /// </summary>
64 /// <value>The name of the version.</value>
65 public override string VersionName
66 {
67 get
68 {
69 return versionName;
70 }
71 }
72 /// <summary>
73 /// Gets or sets the version.
74 /// </summary>
75 /// <value>The version.</value>
76 public override VSVersion Version
77 {
78 get
79 {
80 return version;
81 }
82 }
83 /// <summary>
84 /// Gets the name.
85 /// </summary>
86 /// <value>The name.</value>
87 public override string Name
88 {
89 get
90 {
91 return name;
92 }
93 }
94
95 protected override string GetToolsVersionXml(FrameworkVersion frameworkVersion)
96 {
97 switch (frameworkVersion)
98 {
99 case FrameworkVersion.v3_5:
100 return "ToolsVersion=\"3.5\"";
101 case FrameworkVersion.v3_0:
102 return "ToolsVersion=\"3.0\"";
103 default:
104 return "ToolsVersion=\"2.0\"";
105 }
106 }
107
108 public override string SolutionTag
109 {
110 get { return "# Visual Studio 2008"; }
111 }
112
113 #endregion
114
115 #region Constructors
116
117 /// <summary>
118 /// Initializes a new instance of the <see cref="VS2005Target"/> class.
119 /// </summary>
120 public VS2008Target()
121 : base()
122 {
123 }
124
125 #endregion
126 }
127}