[Monodevelop-patches-list] r1970 - in trunk/MSBuild: . Microsoft.Build.Engine Microsoft.Build.Engine/Properties Test Test/Microsoft.Build.Engine.Test Test/Microsoft.Build.Engine.Test/Properties

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Sun Sep 26 10:18:52 EDT 2004


Author: rtillie
Date: 2004-09-26 10:18:52 -0400 (Sun, 26 Sep 2004)
New Revision: 1970

Added:
   trunk/MSBuild/Microsoft.Build.Engine/
   trunk/MSBuild/Microsoft.Build.Engine/IProperty.cs
   trunk/MSBuild/Microsoft.Build.Engine/ITaskElement.cs
   trunk/MSBuild/Microsoft.Build.Engine/Microsoft.Build.Engine.csproj
   trunk/MSBuild/Microsoft.Build.Engine/Microsoft.Build.Engine.csproj.user
   trunk/MSBuild/Microsoft.Build.Engine/Properties/
   trunk/MSBuild/Microsoft.Build.Engine/Properties/AssemblyInfo.cs
   trunk/MSBuild/Microsoft.Build.Engine/Properties/Resources.cs
   trunk/MSBuild/Microsoft.Build.Engine/Properties/Resources.resx
   trunk/MSBuild/Microsoft.Build.Engine/Properties/Settings.cs
   trunk/MSBuild/Microsoft.Build.Engine/Properties/Settings.settings
   trunk/MSBuild/Microsoft.Build.Engine/Property.cs
   trunk/MSBuild/Microsoft.Build.Engine/TODOAttribute.cs
   trunk/MSBuild/Microsoft.Build.Engine/TaskElement.cs
   trunk/MSBuild/Microsoft.Build.Engine/app.config
   trunk/MSBuild/Test/Microsoft.Build.Engine.Test/
   trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Microsoft.Build.Engine.Test.csproj
   trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Microsoft.Build.Engine.Test.csproj.user
   trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Properties/
   trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Properties/AssemblyInfo.cs
   trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Properties/Resources.cs
   trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Properties/Resources.resx
   trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Properties/Settings.cs
   trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Properties/Settings.settings
   trunk/MSBuild/Test/Microsoft.Build.Engine.Test/app.config
Modified:
   trunk/MSBuild/MSBuild.sln
Log:
Projects and a few classes for the engine namespace (Microsoft.Build.Engine) and tests.

Modified: trunk/MSBuild/MSBuild.sln
===================================================================
--- trunk/MSBuild/MSBuild.sln	2004-09-26 14:11:25 UTC (rev 1969)
+++ trunk/MSBuild/MSBuild.sln	2004-09-26 14:18:52 UTC (rev 1970)
@@ -5,6 +5,10 @@
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Build.Framework.Test", "Test\Microsoft.Build.Framework.Test\Microsoft.Build.Framework.Test.csproj", "{59BBCB69-B871-4ED4-96E8-E46D4402BEF0}"
 EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Build.Engine.Test", "Test\Microsoft.Build.Engine.Test\Microsoft.Build.Engine.Test.csproj", "{414122C8-CBC2-43C4-A3B4-AACAB8E057A7}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Build.Engine", "Microsoft.Build.Engine\Microsoft.Build.Engine.csproj", "{0E71BDBC-5C6C-431C-A34D-D4398C9C146E}"
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|Any CPU = Debug|Any CPU
@@ -19,6 +23,14 @@
 		{59BBCB69-B871-4ED4-96E8-E46D4402BEF0}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{59BBCB69-B871-4ED4-96E8-E46D4402BEF0}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{59BBCB69-B871-4ED4-96E8-E46D4402BEF0}.Release|Any CPU.Build.0 = Release|Any CPU
+		{414122C8-CBC2-43C4-A3B4-AACAB8E057A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{414122C8-CBC2-43C4-A3B4-AACAB8E057A7}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{414122C8-CBC2-43C4-A3B4-AACAB8E057A7}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{414122C8-CBC2-43C4-A3B4-AACAB8E057A7}.Release|Any CPU.Build.0 = Release|Any CPU
+		{0E71BDBC-5C6C-431C-A34D-D4398C9C146E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{0E71BDBC-5C6C-431C-A34D-D4398C9C146E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{0E71BDBC-5C6C-431C-A34D-D4398C9C146E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{0E71BDBC-5C6C-431C-A34D-D4398C9C146E}.Release|Any CPU.Build.0 = Release|Any CPU
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE

Added: trunk/MSBuild/Microsoft.Build.Engine/IProperty.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Engine/IProperty.cs	2004-09-26 14:11:25 UTC (rev 1969)
+++ trunk/MSBuild/Microsoft.Build.Engine/IProperty.cs	2004-09-26 14:18:52 UTC (rev 1970)
@@ -0,0 +1,40 @@
+using System;
+
+//
+// IProperty.cs: Interface for Property
+//
+// Author:
+//   Rob Tillie (Rob at flep-tech.nl)
+// 
+// (C) Rob Tillie
+
+namespace Microsoft.Build.Engine {
+	public interface IProperty {
+
+		string Condition
+		{
+			get;
+			set;
+		}
+
+		string FinalValue
+		{
+			get;
+		}
+
+		string Name
+		{
+			get;
+		}
+
+		string Value
+		{
+			get;
+			set;
+		}
+
+		Property Clone (bool deepClone);
+
+		string ToString ();
+	}
+}

Added: trunk/MSBuild/Microsoft.Build.Engine/ITaskElement.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Engine/ITaskElement.cs	2004-09-26 14:11:25 UTC (rev 1969)
+++ trunk/MSBuild/Microsoft.Build.Engine/ITaskElement.cs	2004-09-26 14:18:52 UTC (rev 1970)
@@ -0,0 +1,50 @@
+using System;
+
+//
+// ITaskElement.cs: Interface for a task element
+//
+// Author:
+//   Rob Tillie (Rob at flep-tech.nl)
+// 
+// (C) Rob Tillie
+
+namespace Microsoft.Build.Engine {
+	public interface ITaskElement {
+
+		bool Execute ();
+
+		string[] GetParameterNames ();
+
+		string GetParameterValue ();
+
+		void SetParameterValue (string parameterName, string parameterValue);
+
+		string Condition
+		{
+			get;
+			set;
+		}
+
+		bool ContinueOnError
+		{
+			get;
+			set;
+		}
+
+		object HostObject
+		{
+			get;
+			set;
+		}
+
+		string Name
+		{
+			get;
+		}
+
+		Type Type
+		{
+			get;
+		}
+	}
+}

Added: trunk/MSBuild/Microsoft.Build.Engine/Microsoft.Build.Engine.csproj
===================================================================
--- trunk/MSBuild/Microsoft.Build.Engine/Microsoft.Build.Engine.csproj	2004-09-26 14:11:25 UTC (rev 1969)
+++ trunk/MSBuild/Microsoft.Build.Engine/Microsoft.Build.Engine.csproj	2004-09-26 14:18:52 UTC (rev 1970)
@@ -0,0 +1,57 @@
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>8.0.40607</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{0E71BDBC-5C6C-431C-A34D-D4398C9C146E}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <RootNamespace>Microsoft_Build_Engine</RootNamespace>
+    <AssemblyName>Microsoft.Build.Engine</AssemblyName>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>.\bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugSymbols>false</DebugSymbols>
+    <Optimize>true</Optimize>
+    <OutputPath>.\bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="IProperty.cs" />
+    <Compile Include="ITaskElement.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <EmbeddedResource Include="Properties\Resources.resx">
+      <Generator>ResXFileCodeGenerator</Generator>
+      <LastGenOutput>Resources.cs</LastGenOutput>
+    </EmbeddedResource>
+    <Compile Include="Properties\Resources.cs">
+      <AutoGen>True</AutoGen>
+      <DependentUpon>Resources.resx</DependentUpon>
+    </Compile>
+    <None Include="Properties\Settings.settings">
+      <Generator>SettingsSingleFileGenerator</Generator>
+      <LastGenOutput>Settings.cs</LastGenOutput>
+    </None>
+    <Compile Include="Properties\Settings.cs">
+      <AutoGen>True</AutoGen>
+      <DependentUpon>Settings.settings</DependentUpon>
+    </Compile>
+    <Compile Include="Property.cs" />
+    <Compile Include="TaskElement.cs" />
+    <Compile Include="TODOAttribute.cs" />
+    <AppDesigner Include="Properties\" />
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
+</Project>
\ No newline at end of file

Added: trunk/MSBuild/Microsoft.Build.Engine/Microsoft.Build.Engine.csproj.user
===================================================================
--- trunk/MSBuild/Microsoft.Build.Engine/Microsoft.Build.Engine.csproj.user	2004-09-26 14:11:25 UTC (rev 1969)
+++ trunk/MSBuild/Microsoft.Build.Engine/Microsoft.Build.Engine.csproj.user	2004-09-26 14:18:52 UTC (rev 1970)
@@ -0,0 +1,7 @@
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup Condition="">
+    <LastOpenVersion>8.0.40607</LastOpenVersion>
+    <ProjectView>ProjectFiles</ProjectView>
+    <ProjectTrust>0</ProjectTrust>
+  </PropertyGroup>
+</Project>
\ No newline at end of file

Added: trunk/MSBuild/Microsoft.Build.Engine/Properties/AssemblyInfo.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Engine/Properties/AssemblyInfo.cs	2004-09-26 14:11:25 UTC (rev 1969)
+++ trunk/MSBuild/Microsoft.Build.Engine/Properties/AssemblyInfo.cs	2004-09-26 14:18:52 UTC (rev 1970)
@@ -0,0 +1,29 @@
+#region Using directives
+
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+#endregion
+
+// General Information about an assembly is controlled through the following 
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle ("Microsoft_Build_Engine")]
+[assembly: AssemblyDescription ("")]
+[assembly: AssemblyConfiguration ("")]
+[assembly: AssemblyCompany ("")]
+[assembly: AssemblyProduct ("Microsoft_Build_Engine")]
+[assembly: AssemblyCopyright ("Copyright @  2004")]
+[assembly: AssemblyTrademark ("")]
+[assembly: AssemblyCulture ("")]
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version 
+//      Build Number
+//      Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers 
+// by using the '*' as shown below:
+[assembly: AssemblyVersion ("1.0.*")]

Added: trunk/MSBuild/Microsoft.Build.Engine/Properties/Resources.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Engine/Properties/Resources.cs	2004-09-26 14:11:25 UTC (rev 1969)
+++ trunk/MSBuild/Microsoft.Build.Engine/Properties/Resources.cs	2004-09-26 14:18:52 UTC (rev 1970)
@@ -0,0 +1,61 @@
+//------------------------------------------------------------------------------
+// <autogenerated>
+//     This code was generated by a tool.
+//     Runtime Version:2.0.40607.16
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </autogenerated>
+//------------------------------------------------------------------------------
+
+namespace Microsoft.Build.Engine.Properties {
+    using System;
+    using System.IO;
+    using System.Resources;
+    
+    
+    /// <summary>
+    ///    A strongly-typed resource class, for looking up localized strings, etc.
+    /// </summary>
+    // This class was auto-generated by the Strongly Typed Resource Builder
+    // class via a tool like ResGen or Visual Studio.NET.
+    // To add or remove a member, edit your .ResX file then rerun ResGen
+    // with the /str option, or rebuild your VS project.
+    class Resources {
+        
+        private static System.Resources.ResourceManager _resMgr;
+        
+        private static System.Globalization.CultureInfo _resCulture;
+        
+        /*FamANDAssem*/ internal Resources() {
+        }
+        
+        /// <summary>
+        ///    Returns the cached ResourceManager instance used by this class.
+        /// </summary>
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+        public static System.Resources.ResourceManager ResourceManager {
+            get {
+                if ((_resMgr == null)) {
+                    System.Resources.ResourceManager temp = new System.Resources.ResourceManager("Microsoft.Build.Engine.Properties.Resources", typeof(Resources).Assembly);
+                    _resMgr = temp;
+                }
+                return _resMgr;
+            }
+        }
+        
+        /// <summary>
+        ///    Overrides the current thread's CurrentUICulture property for all
+        ///    resource lookups using this strongly typed resource class.
+        /// </summary>
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+        public static System.Globalization.CultureInfo Culture {
+            get {
+                return _resCulture;
+            }
+            set {
+                _resCulture = value;
+            }
+        }
+    }
+}

Added: trunk/MSBuild/Microsoft.Build.Engine/Properties/Resources.resx
===================================================================
--- trunk/MSBuild/Microsoft.Build.Engine/Properties/Resources.resx	2004-09-26 14:11:25 UTC (rev 1969)
+++ trunk/MSBuild/Microsoft.Build.Engine/Properties/Resources.resx	2004-09-26 14:18:52 UTC (rev 1970)
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>
\ No newline at end of file

Added: trunk/MSBuild/Microsoft.Build.Engine/Properties/Settings.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Engine/Properties/Settings.cs	2004-09-26 14:11:25 UTC (rev 1969)
+++ trunk/MSBuild/Microsoft.Build.Engine/Properties/Settings.cs	2004-09-26 14:18:52 UTC (rev 1970)
@@ -0,0 +1,35 @@
+//------------------------------------------------------------------------------
+// <autogenerated>
+//     This code was generated by a tool.
+//     Runtime Version:2.0.40607.16
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </autogenerated>
+//------------------------------------------------------------------------------
+
+namespace Microsoft_Build_Engine.Properties {
+	public partial class Settings : System.Configuration.ApplicationSettingsBase {
+		private static Settings m_Value;
+
+		private static object m_SyncObject = new object ();
+
+		public static Settings Value
+		{
+			get
+			{
+				if((Settings.m_Value == null)) {
+					System.Threading.Monitor.Enter (Settings.m_SyncObject);
+					if((Settings.m_Value == null)) {
+						try {
+							Settings.m_Value = new Settings ();
+						} finally {
+							System.Threading.Monitor.Exit (Settings.m_SyncObject);
+						}
+					}
+				}
+				return Settings.m_Value;
+			}
+		}
+	}
+}

Added: trunk/MSBuild/Microsoft.Build.Engine/Properties/Settings.settings
===================================================================
--- trunk/MSBuild/Microsoft.Build.Engine/Properties/Settings.settings	2004-09-26 14:11:25 UTC (rev 1969)
+++ trunk/MSBuild/Microsoft.Build.Engine/Properties/Settings.settings	2004-09-26 14:18:52 UTC (rev 1970)
@@ -0,0 +1,7 @@
+<?xml version='1.0' encoding='iso-8859-1'?>
+<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
+  <Profiles>
+    <Profile Name="(Default)" />
+  </Profiles>
+  <Settings />
+</SettingsFile>
\ No newline at end of file

Added: trunk/MSBuild/Microsoft.Build.Engine/Property.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Engine/Property.cs	2004-09-26 14:11:25 UTC (rev 1969)
+++ trunk/MSBuild/Microsoft.Build.Engine/Property.cs	2004-09-26 14:18:52 UTC (rev 1970)
@@ -0,0 +1,80 @@
+using System;
+
+//
+// Property.cs: Represents an msbuild property.
+//
+// Author:
+//   Rob Tillie (Rob at flep-tech.nl)
+// 
+// (C) Rob Tillie
+
+namespace Microsoft.Build.Engine {
+	public class Property : IProperty {
+
+		private string name;
+		private string val;
+
+		public Property ()
+		{
+			throw new InvalidOperationException ("An empty property cannot be constructed.");
+		}
+
+		public Property (string name, string value)
+		{
+			this.name = name;
+			this.val = value;
+		}
+
+		[MonoTODO("Check if FinalValue is correct to return when Condition is set.")]
+		public static string op_Implicit (Property p)
+		{
+			return p.FinalValue;
+		}
+
+		/// <summary>
+		/// The condition should be an XML element / attribute.
+		/// </summary>
+		/// <value></value>
+		[MonoTODO("Implement setting a condition")]
+		public string Condition
+		{
+			get
+			{
+				throw new global::System.NotImplementedException ();
+			}
+
+			set
+			{
+				throw new global::System.NotImplementedException ();
+			}
+		}
+
+		[MonoTODO("Check if this changes when condition is set.")]
+		public string FinalValue
+		{
+			get { return val; }
+		}
+
+		public string Name
+		{
+			get { return name; }
+		}
+
+		public string Value {
+			get { return val; }
+			set { val = value; }
+		}
+
+
+		public Property Clone (bool deepClone)
+		{
+			throw new NotImplementedException ();
+		}
+
+		[MonoTODO("test this")]
+		public string ToString ()
+		{
+			return FinalValue;
+		}
+	}
+}

Added: trunk/MSBuild/Microsoft.Build.Engine/TODOAttribute.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Engine/TODOAttribute.cs	2004-09-26 14:11:25 UTC (rev 1969)
+++ trunk/MSBuild/Microsoft.Build.Engine/TODOAttribute.cs	2004-09-26 14:18:52 UTC (rev 1970)
@@ -0,0 +1,57 @@
+//
+// TODOAttribute.cs
+//
+// Author:
+//   Ravi Pratap (ravi at ximian.com)
+//
+// (C) Ximian, Inc.  http://www.ximian.com
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+namespace System {
+
+	/// <summary>
+	///   The TODO attribute is used to flag all incomplete bits in our class libraries
+	/// </summary>
+	///
+	/// <remarks>
+	///   Use this to decorate any element which you think is not complete
+	/// </remarks>
+	[AttributeUsage (AttributeTargets.All)]
+	internal class MonoTODOAttribute : Attribute {
+
+		string comment;
+		
+		public MonoTODOAttribute ()
+		{}
+
+		public MonoTODOAttribute (string comment)
+		{
+			this.comment = comment;
+		}
+
+		public string Comment {
+			get { return comment; }
+		}
+	}
+}

Added: trunk/MSBuild/Microsoft.Build.Engine/TaskElement.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Engine/TaskElement.cs	2004-09-26 14:11:25 UTC (rev 1969)
+++ trunk/MSBuild/Microsoft.Build.Engine/TaskElement.cs	2004-09-26 14:18:52 UTC (rev 1970)
@@ -0,0 +1,93 @@
+using System;
+
+//
+// TaskElement.cs: represents a task element
+//
+// Author:
+//   Rob Tillie (Rob at flep-tech.nl)
+// 
+// (C) Rob Tillie
+
+namespace Microsoft.Build.Engine {
+	public class TaskElement : ITaskElement {
+
+		
+		
+		public TaskElement ()
+		{
+		}
+
+		#region ITaskElement Members
+
+		public bool Execute ()
+		{
+			throw new NotImplementedException ();
+		}
+
+		public string[] GetParameterNames ()
+		{
+			throw new NotImplementedException ();
+		}
+
+		public string GetParameterValue ()
+		{
+			throw new NotImplementedException ();
+		}
+
+		public void SetParameterValue (string parameterName, string parameterValue)
+		{
+			throw new NotImplementedException ();
+		}
+		public string Condition
+		{
+			get
+			{
+				throw new global::System.NotImplementedException ();
+			}
+
+			set
+			{
+				throw new global::System.NotImplementedException ();
+			}
+		}
+
+		public bool ContinueOnError
+		{
+			get
+			{
+				throw new global::System.NotImplementedException ();
+			}
+
+			set
+			{
+				throw new global::System.NotImplementedException ();
+			}
+		}
+
+		public object HostObject
+		{
+			get
+			{
+				throw new global::System.NotImplementedException ();
+			}
+
+			set
+			{
+				throw new global::System.NotImplementedException ();
+			}
+		}
+
+		public string Name
+		{
+			get { throw new global::System.NotImplementedException (); }
+		}
+
+		public Type Type
+		{
+			get { throw new global::System.NotImplementedException (); }
+		}
+
+
+		#endregion
+	}
+}

Added: trunk/MSBuild/Microsoft.Build.Engine/app.config
===================================================================
--- trunk/MSBuild/Microsoft.Build.Engine/app.config	2004-09-26 14:11:25 UTC (rev 1969)
+++ trunk/MSBuild/Microsoft.Build.Engine/app.config	2004-09-26 14:18:52 UTC (rev 1970)
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+</configuration>
\ No newline at end of file

Added: trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Microsoft.Build.Engine.Test.csproj
===================================================================
--- trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Microsoft.Build.Engine.Test.csproj	2004-09-26 14:11:25 UTC (rev 1969)
+++ trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Microsoft.Build.Engine.Test.csproj	2004-09-26 14:18:52 UTC (rev 1970)
@@ -0,0 +1,52 @@
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>8.0.40607</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{414122C8-CBC2-43C4-A3B4-AACAB8E057A7}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <RootNamespace>Microsoft_Build_Engine_Test</RootNamespace>
+    <AssemblyName>Microsoft.Build.Engine.Test</AssemblyName>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>.\bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugSymbols>false</DebugSymbols>
+    <Optimize>true</Optimize>
+    <OutputPath>.\bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <EmbeddedResource Include="Properties\Resources.resx">
+      <Generator>ResXFileCodeGenerator</Generator>
+      <LastGenOutput>Resources.cs</LastGenOutput>
+    </EmbeddedResource>
+    <Compile Include="Properties\Resources.cs">
+      <AutoGen>True</AutoGen>
+      <DependentUpon>Resources.resx</DependentUpon>
+    </Compile>
+    <None Include="Properties\Settings.settings">
+      <Generator>SettingsSingleFileGenerator</Generator>
+      <LastGenOutput>Settings.cs</LastGenOutput>
+    </None>
+    <Compile Include="Properties\Settings.cs">
+      <AutoGen>True</AutoGen>
+      <DependentUpon>Settings.settings</DependentUpon>
+    </Compile>
+    <AppDesigner Include="Properties\" />
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
+</Project>
\ No newline at end of file

Added: trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Microsoft.Build.Engine.Test.csproj.user
===================================================================
--- trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Microsoft.Build.Engine.Test.csproj.user	2004-09-26 14:11:25 UTC (rev 1969)
+++ trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Microsoft.Build.Engine.Test.csproj.user	2004-09-26 14:18:52 UTC (rev 1970)
@@ -0,0 +1,7 @@
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup Condition="">
+    <LastOpenVersion>8.0.40607</LastOpenVersion>
+    <ProjectView>ProjectFiles</ProjectView>
+    <ProjectTrust>0</ProjectTrust>
+  </PropertyGroup>
+</Project>
\ No newline at end of file

Added: trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Properties/AssemblyInfo.cs
===================================================================
--- trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Properties/AssemblyInfo.cs	2004-09-26 14:11:25 UTC (rev 1969)
+++ trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Properties/AssemblyInfo.cs	2004-09-26 14:18:52 UTC (rev 1970)
@@ -0,0 +1,29 @@
+#region Using directives
+
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+#endregion
+
+// General Information about an assembly is controlled through the following 
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle ("Microsoft_Build_Engine_Test")]
+[assembly: AssemblyDescription ("")]
+[assembly: AssemblyConfiguration ("")]
+[assembly: AssemblyCompany ("")]
+[assembly: AssemblyProduct ("Microsoft_Build_Engine_Test")]
+[assembly: AssemblyCopyright ("Copyright @  2004")]
+[assembly: AssemblyTrademark ("")]
+[assembly: AssemblyCulture ("")]
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version 
+//      Build Number
+//      Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers 
+// by using the '*' as shown below:
+[assembly: AssemblyVersion ("1.0.*")]

Added: trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Properties/Resources.cs
===================================================================
--- trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Properties/Resources.cs	2004-09-26 14:11:25 UTC (rev 1969)
+++ trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Properties/Resources.cs	2004-09-26 14:18:52 UTC (rev 1970)
@@ -0,0 +1,61 @@
+//------------------------------------------------------------------------------
+// <autogenerated>
+//     This code was generated by a tool.
+//     Runtime Version:2.0.40607.16
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </autogenerated>
+//------------------------------------------------------------------------------
+
+namespace Microsoft.Build.Engine.Test.Properties {
+    using System;
+    using System.IO;
+    using System.Resources;
+    
+    
+    /// <summary>
+    ///    A strongly-typed resource class, for looking up localized strings, etc.
+    /// </summary>
+    // This class was auto-generated by the Strongly Typed Resource Builder
+    // class via a tool like ResGen or Visual Studio.NET.
+    // To add or remove a member, edit your .ResX file then rerun ResGen
+    // with the /str option, or rebuild your VS project.
+    class Resources {
+        
+        private static System.Resources.ResourceManager _resMgr;
+        
+        private static System.Globalization.CultureInfo _resCulture;
+        
+        /*FamANDAssem*/ internal Resources() {
+        }
+        
+        /// <summary>
+        ///    Returns the cached ResourceManager instance used by this class.
+        /// </summary>
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+        public static System.Resources.ResourceManager ResourceManager {
+            get {
+                if ((_resMgr == null)) {
+                    System.Resources.ResourceManager temp = new System.Resources.ResourceManager("Microsoft.Build.Engine.Test.Properties.Resources", typeof(Resources).Assembly);
+                    _resMgr = temp;
+                }
+                return _resMgr;
+            }
+        }
+        
+        /// <summary>
+        ///    Overrides the current thread's CurrentUICulture property for all
+        ///    resource lookups using this strongly typed resource class.
+        /// </summary>
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+        public static System.Globalization.CultureInfo Culture {
+            get {
+                return _resCulture;
+            }
+            set {
+                _resCulture = value;
+            }
+        }
+    }
+}

Added: trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Properties/Resources.resx
===================================================================
--- trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Properties/Resources.resx	2004-09-26 14:11:25 UTC (rev 1969)
+++ trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Properties/Resources.resx	2004-09-26 14:18:52 UTC (rev 1970)
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>
\ No newline at end of file

Added: trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Properties/Settings.cs
===================================================================
--- trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Properties/Settings.cs	2004-09-26 14:11:25 UTC (rev 1969)
+++ trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Properties/Settings.cs	2004-09-26 14:18:52 UTC (rev 1970)
@@ -0,0 +1,35 @@
+//------------------------------------------------------------------------------
+// <autogenerated>
+//     This code was generated by a tool.
+//     Runtime Version:2.0.40607.16
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </autogenerated>
+//------------------------------------------------------------------------------
+
+namespace Microsoft_Build_Engine_Test.Properties {
+	public partial class Settings : System.Configuration.ApplicationSettingsBase {
+		private static Settings m_Value;
+
+		private static object m_SyncObject = new object ();
+
+		public static Settings Value
+		{
+			get
+			{
+				if((Settings.m_Value == null)) {
+					System.Threading.Monitor.Enter (Settings.m_SyncObject);
+					if((Settings.m_Value == null)) {
+						try {
+							Settings.m_Value = new Settings ();
+						} finally {
+							System.Threading.Monitor.Exit (Settings.m_SyncObject);
+						}
+					}
+				}
+				return Settings.m_Value;
+			}
+		}
+	}
+}

Added: trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Properties/Settings.settings
===================================================================
--- trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Properties/Settings.settings	2004-09-26 14:11:25 UTC (rev 1969)
+++ trunk/MSBuild/Test/Microsoft.Build.Engine.Test/Properties/Settings.settings	2004-09-26 14:18:52 UTC (rev 1970)
@@ -0,0 +1,7 @@
+<?xml version='1.0' encoding='iso-8859-1'?>
+<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
+  <Profiles>
+    <Profile Name="(Default)" />
+  </Profiles>
+  <Settings />
+</SettingsFile>
\ No newline at end of file

Added: trunk/MSBuild/Test/Microsoft.Build.Engine.Test/app.config
===================================================================
--- trunk/MSBuild/Test/Microsoft.Build.Engine.Test/app.config	2004-09-26 14:11:25 UTC (rev 1969)
+++ trunk/MSBuild/Test/Microsoft.Build.Engine.Test/app.config	2004-09-26 14:18:52 UTC (rev 1970)
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+</configuration>
\ No newline at end of file




More information about the Monodevelop-patches-list mailing list