aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Prebuild/src/Core/Targets/VS2005Target.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Prebuild/src/Core/Targets/VS2005Target.cs')
-rw-r--r--Prebuild/src/Core/Targets/VS2005Target.cs147
1 files changed, 147 insertions, 0 deletions
diff --git a/Prebuild/src/Core/Targets/VS2005Target.cs b/Prebuild/src/Core/Targets/VS2005Target.cs
new file mode 100644
index 0000000..9c70e26
--- /dev/null
+++ b/Prebuild/src/Core/Targets/VS2005Target.cs
@@ -0,0 +1,147 @@
1#region BSD License
2/*
3Copyright (c) 2004 Matthew Holmes (matthew@wildfiregames.com)
4
5Redistribution and use in source and binary forms, with or without modification, are permitted
6provided that the following conditions are met:
7
8* Redistributions of source code must retain the above copyright notice, this list of conditions
9 and the following disclaimer.
10* Redistributions in binary form must reproduce the above copyright notice, this list of conditions
11 and the following disclaimer in the documentation and/or other materials provided with the
12 distribution.
13* The name of the author may not be used to endorse or promote products derived from this software
14 without specific prior written permission.
15
16THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
17BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
19EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
21OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
22IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23*/
24#endregion
25
26using System;
27using System.IO;
28using System.Text;
29
30using Prebuild.Core.Attributes;
31using Prebuild.Core.Interfaces;
32using Prebuild.Core.Nodes;
33using Prebuild.Core.Utilities;
34
35namespace Prebuild.Core.Targets
36{
37 /// <summary>
38 ///
39 /// </summary>
40 [Target("vs2005")]
41 public class VS2005Target : VSGenericTarget
42 {
43 #region Inner Classes
44
45 #endregion
46
47 #region Fields
48
49 string solutionVersion = "9.00";
50 string productVersion = "8.0.50727";
51 string schemaVersion = "2.0";
52 string versionName = "Visual C# 2005";
53 string name = "vs2005";
54
55 VSVersion version = VSVersion.VS80;
56
57 public override string SolutionTag
58 {
59 get { return "# Visual Studio 2005"; }
60 }
61
62 protected override string GetToolsVersionXml(FrameworkVersion frameworkVersion)
63 {
64 return string.Empty;
65 }
66 /// <summary>
67 /// Gets or sets the solution version.
68 /// </summary>
69 /// <value>The solution version.</value>
70 public override string SolutionVersion
71 {
72 get
73 {
74 return solutionVersion;
75 }
76 }
77 /// <summary>
78 /// Gets or sets the product version.
79 /// </summary>
80 /// <value>The product version.</value>
81 public override string ProductVersion
82 {
83 get
84 {
85 return productVersion;
86 }
87 }
88 /// <summary>
89 /// Gets or sets the schema version.
90 /// </summary>
91 /// <value>The schema version.</value>
92 public override string SchemaVersion
93 {
94 get
95 {
96 return schemaVersion;
97 }
98 }
99 /// <summary>
100 /// Gets or sets the name of the version.
101 /// </summary>
102 /// <value>The name of the version.</value>
103 public override string VersionName
104 {
105 get
106 {
107 return versionName;
108 }
109 }
110 /// <summary>
111 /// Gets or sets the version.
112 /// </summary>
113 /// <value>The version.</value>
114 public override VSVersion Version
115 {
116 get
117 {
118 return version;
119 }
120 }
121 /// <summary>
122 /// Gets the name.
123 /// </summary>
124 /// <value>The name.</value>
125 public override string Name
126 {
127 get
128 {
129 return name;
130 }
131 }
132
133 #endregion
134
135 #region Constructors
136
137 /// <summary>
138 /// Initializes a new instance of the <see cref="VS2005Target"/> class.
139 /// </summary>
140 public VS2005Target()
141 : base()
142 {
143 }
144
145 #endregion
146 }
147}