[Monodevelop-patches-list] r1964 - in trunk/MSBuild: . Microsoft.Build.Framework Microsoft.Build.Framework/Properties
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Sun Sep 26 09:35:24 EDT 2004
Author: rtillie
Date: 2004-09-26 09:35:24 -0400 (Sun, 26 Sep 2004)
New Revision: 1964
Added:
trunk/MSBuild/Microsoft.Build.Framework/
trunk/MSBuild/Microsoft.Build.Framework/BuildEventArgs.cs
trunk/MSBuild/Microsoft.Build.Framework/BuildEventCategory.cs
trunk/MSBuild/Microsoft.Build.Framework/BuildEventHandler.cs
trunk/MSBuild/Microsoft.Build.Framework/BuildEventImportance.cs
trunk/MSBuild/Microsoft.Build.Framework/BuildStage.cs
trunk/MSBuild/Microsoft.Build.Framework/BuildStatusEventArgs.cs
trunk/MSBuild/Microsoft.Build.Framework/IBuildEngine.cs
trunk/MSBuild/Microsoft.Build.Framework/IEventSource.cs
trunk/MSBuild/Microsoft.Build.Framework/ILogger.cs
trunk/MSBuild/Microsoft.Build.Framework/ITask.cs
trunk/MSBuild/Microsoft.Build.Framework/ITaskItem.cs
trunk/MSBuild/Microsoft.Build.Framework/LoadInSeparateAppDomainAttribute.cs
trunk/MSBuild/Microsoft.Build.Framework/LoggerVerbosity.cs
trunk/MSBuild/Microsoft.Build.Framework/Microsoft.Build.Framework.Mono.dll
trunk/MSBuild/Microsoft.Build.Framework/Microsoft.Build.Framework.csproj
trunk/MSBuild/Microsoft.Build.Framework/Microsoft.Build.Framework.csproj.user
trunk/MSBuild/Microsoft.Build.Framework/OutputAttribute.cs
trunk/MSBuild/Microsoft.Build.Framework/Properties/
trunk/MSBuild/Microsoft.Build.Framework/Properties/AssemblyInfo.cs
trunk/MSBuild/Microsoft.Build.Framework/Properties/Resources.cs
trunk/MSBuild/Microsoft.Build.Framework/Properties/Resources.resx
trunk/MSBuild/Microsoft.Build.Framework/Properties/Settings.cs
trunk/MSBuild/Microsoft.Build.Framework/Properties/Settings.settings
trunk/MSBuild/Microsoft.Build.Framework/RequiredAttribute.cs
trunk/MSBuild/Microsoft.Build.Framework/TODOAttribute.cs
trunk/MSBuild/Microsoft.Build.Framework/TaskEventArgs.cs
trunk/MSBuild/Microsoft.Build.Framework/app.config
Log:
Initial check in of Framework dll
Added: trunk/MSBuild/Microsoft.Build.Framework/BuildEventArgs.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/BuildEventArgs.cs 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/BuildEventArgs.cs 2004-09-26 13:35:24 UTC (rev 1964)
@@ -0,0 +1,138 @@
+using System;
+
+//
+// Author:
+// Rob Tillie (Rob at flep-tech.nl)
+//
+
+namespace Microsoft.Build.Framework
+{
+ [Serializable]
+ public class BuildEventArgs : EventArgs
+ {
+ private BuildEventCategory category;
+ private BuildEventImportance importance = BuildEventImportance.Low;
+ private DateTime timeStamp = DateTime.Now;
+ private string code;
+ private string file;
+ private string helpKeyword;
+ private string message;
+ private string subCategory;
+ private int columnNumber;
+ private int endColumnNumber;
+ private int endLineNumber;
+ private int lineNumber;
+ private int processor;
+
+ public BuildEventArgs ()
+ {
+ Console.WriteLine ("My LIB!");
+ }
+
+ public BuildEventArgs (BuildEventCategory category, BuildEventImportance importance)
+ {
+ this.category = category;
+ this.importance = importance;
+ }
+
+ public BuildEventArgs (BuildEventCategory category, string subCategory,
+ BuildEventImportance importance, string code,
+ string file, int lineNumber, int columnNumber,
+ int endLineNumber, int endColumnNumber, string message,
+ string helpKeyword)
+ {
+ this.category = category;
+ this.subCategory = subCategory;
+ this.importance = importance;
+ this.code = code;
+ this.file = file;
+ this.lineNumber = lineNumber;
+ this.columnNumber = columnNumber;
+ this.endLineNumber = endLineNumber;
+ this.endColumnNumber = endColumnNumber;
+ this.message = message;
+ this.helpKeyword = helpKeyword;
+ }
+
+ #region Properties
+
+ public BuildEventCategory Category
+ {
+ get { return category; }
+ set { category = value; }
+ }
+
+ public BuildEventImportance Importance
+ {
+ get { return importance; }
+ set { importance = value; }
+ }
+
+ public DateTime TimeStamp
+ {
+ get { return timeStamp; }
+ }
+
+ public string Code
+ {
+ get { return code; }
+ set { code = value; }
+ }
+
+ public string File
+ {
+ get { return file; }
+ set { file = value; }
+ }
+
+ public string HelpKeyword
+ {
+ get { return helpKeyword; }
+ set { helpKeyword = value; }
+ }
+
+ public string Message
+ {
+ get { return message; }
+ set { message = value; }
+ }
+
+ public string SubCategory
+ {
+ get { return subCategory; }
+ set { subCategory = value; }
+ }
+
+ public int ColumnNumber
+ {
+ get { return columnNumber; }
+ set { columnNumber = value; }
+ }
+
+ public int EndColumnNumber
+ {
+ get { return endColumnNumber; }
+ set { endColumnNumber = value; }
+ }
+
+ public int EndLineNumber
+ {
+ get { return endLineNumber; }
+ set { endLineNumber = value; }
+ }
+
+ public int LineNumber
+ {
+ get { return lineNumber; }
+ set { lineNumber = value; }
+ }
+
+ [MonoTODO("What should this field do?")]
+ public int Processor
+ {
+ get { return processor; }
+ }
+
+ #endregion
+ }
+}
Added: trunk/MSBuild/Microsoft.Build.Framework/BuildEventCategory.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/BuildEventCategory.cs 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/BuildEventCategory.cs 2004-09-26 13:35:24 UTC (rev 1964)
@@ -0,0 +1,15 @@
+//
+// Author:
+// Rob Tillie (Rob at flep-tech.nl)
+//
+
+namespace Microsoft.Build.Framework
+{
+ public enum BuildEventCategory
+ {
+ Comment,
+ Error,
+ Warning,
+ Custom
+ }
+}
Added: trunk/MSBuild/Microsoft.Build.Framework/BuildEventHandler.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/BuildEventHandler.cs 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/BuildEventHandler.cs 2004-09-26 13:35:24 UTC (rev 1964)
@@ -0,0 +1,5 @@
+
+namespace Microsoft.Build.Framework
+{
+ public delegate void BuildEventHandler (object sender, BuildEventArgs e);
+}
Added: trunk/MSBuild/Microsoft.Build.Framework/BuildEventImportance.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/BuildEventImportance.cs 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/BuildEventImportance.cs 2004-09-26 13:35:24 UTC (rev 1964)
@@ -0,0 +1,14 @@
+//
+// Author:
+// Rob Tillie (Rob at flep-tech.nl)
+//
+
+namespace Microsoft.Build.Framework
+{
+ public enum BuildEventImportance
+ {
+ High,
+ Normal,
+ Low
+ }
+}
Added: trunk/MSBuild/Microsoft.Build.Framework/BuildStage.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/BuildStage.cs 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/BuildStage.cs 2004-09-26 13:35:24 UTC (rev 1964)
@@ -0,0 +1,20 @@
+//
+// Author:
+// Rob Tillie (Rob at flep-tech.nl)
+//
+
+namespace Microsoft.Build.Framework
+{
+ public enum BuildStage
+ {
+ NotBuilding,
+ BuildStarted,
+ BuildFinished,
+ ProjectStarted,
+ ProjectFinished,
+ TargetStarted,
+ TargetFinished,
+ TaskStarted,
+ TaskFinished
+ }
+}
Added: trunk/MSBuild/Microsoft.Build.Framework/BuildStatusEventArgs.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/BuildStatusEventArgs.cs 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/BuildStatusEventArgs.cs 2004-09-26 13:35:24 UTC (rev 1964)
@@ -0,0 +1,64 @@
+using System;
+
+namespace Microsoft.Build.Framework
+{
+ public sealed class BuildStatusEventArgs : BuildEventArgs
+ {
+ private BuildStage stage;
+ private string stageName;
+ private bool success;
+
+ public BuildStatusEventArgs ()
+ {
+ this.Category = BuildEventCategory.Custom;
+ this.Importance = BuildEventImportance.Normal;
+ }
+
+ public BuildStatusEventArgs (BuildStage stage)
+ {
+ this.Category = BuildEventCategory.Custom;
+ this.Importance = BuildEventImportance.Normal;
+ this.stage = stage;
+ }
+
+ public BuildStatusEventArgs (BuildStage stage, string stageName)
+ {
+ this.Category = BuildEventCategory.Custom;
+ this.Importance = BuildEventImportance.Normal;
+ this.stage = stage;
+ this.stageName = stageName;
+ }
+
+ public BuildStatusEventArgs (BuildStage stage, bool success)
+ {
+ this.Category = BuildEventCategory.Custom;
+ this.Importance = BuildEventImportance.Normal;
+ this.stage = stage;
+ this.success = success;
+ }
+
+ public BuildStatusEventArgs (BuildStage stage, string stageName, bool success)
+ {
+ this.Category = BuildEventCategory.Custom;
+ this.Importance = BuildEventImportance.Normal;
+ this.stage = stage;
+ this.stageName = stageName;
+ this.success = success;
+ }
+
+ public bool IsStageSuccessfullyFinished {
+ get { return success; }
+ set { success = value; }
+ }
+
+ public BuildStage Stage {
+ get { return stage; }
+ set { stage = value; }
+ }
+
+ public string StageName {
+ get { return stageName; }
+ set { stageName = value; }
+ }
+ }
+}
Added: trunk/MSBuild/Microsoft.Build.Framework/IBuildEngine.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/IBuildEngine.cs 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/IBuildEngine.cs 2004-09-26 13:35:24 UTC (rev 1964)
@@ -0,0 +1,16 @@
+using System;
+using System.Collections;
+
+//
+// Author:
+// Rob Tillie (Rob at flep-tech.nl)
+//
+
+namespace Microsoft.Build.Framework
+{
+ public interface IBuildEngine
+ {
+ bool BuildProjectFile (string projectFileName, string[] targetNames, IDictionary targetOutputs);
+ void LogBuildEvent (TaskEventArgs e);
+ }
+}
Added: trunk/MSBuild/Microsoft.Build.Framework/IEventSource.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/IEventSource.cs 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/IEventSource.cs 2004-09-26 13:35:24 UTC (rev 1964)
@@ -0,0 +1,25 @@
+//
+// Author:
+// Rob Tillie (Rob at flep-tech.nl)
+//
+
+namespace Microsoft.Build.Framework
+{
+ public interface IEventSource
+ {
+ event BuildEventHandler BuildEvent;
+ event BuildEventHandler BuildFinishedEvent;
+ event BuildEventHandler BuildStartedEvent;
+ event BuildEventHandler CommentEvent;
+ event BuildEventHandler CustomEvent;
+ event BuildEventHandler ErrorEvent;
+ event BuildEventHandler ProjectFinishedEvent;
+ event BuildEventHandler ProjectStartedEvent;
+ event BuildEventHandler StatusEvent;
+ event BuildEventHandler TargetFinishedEvent;
+ event BuildEventHandler TargetStartedEvent;
+ event BuildEventHandler TaskFinishedEvent;
+ event BuildEventHandler TaskStartedEvent;
+ event BuildEventHandler WarningEvent;
+ }
+}
Added: trunk/MSBuild/Microsoft.Build.Framework/ILogger.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/ILogger.cs 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/ILogger.cs 2004-09-26 13:35:24 UTC (rev 1964)
@@ -0,0 +1,27 @@
+using System;
+
+//
+// Author:
+// Rob Tillie (Rob at flep-tech.nl)
+//
+
+namespace Microsoft.Build.Framework
+{
+ public interface ILogger
+ {
+ void Initialize (IEventSource eventSource);
+ void Shutdown ();
+
+ string Parameters
+ {
+ get;
+ set;
+ }
+
+ LoggerVerbosity Verbosity
+ {
+ get;
+ set;
+ }
+ }
+}
\ No newline at end of file
Added: trunk/MSBuild/Microsoft.Build.Framework/ITask.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/ITask.cs 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/ITask.cs 2004-09-26 13:35:24 UTC (rev 1964)
@@ -0,0 +1,26 @@
+using System;
+
+//
+// Author:
+// Rob Tillie (Rob at flep-tech.nl)
+//
+
+namespace Microsoft.Build.Framework
+{
+ public interface ITask
+ {
+ bool Execute ();
+
+ IBuildEngine BuildEngine
+ {
+ get;
+ set;
+ }
+
+ object HostObject
+ {
+ get;
+ set;
+ }
+ }
+}
Added: trunk/MSBuild/Microsoft.Build.Framework/ITaskItem.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/ITaskItem.cs 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/ITaskItem.cs 2004-09-26 13:35:24 UTC (rev 1964)
@@ -0,0 +1,30 @@
+//
+// Author:
+// Rob Tillie (Rob at flep-tech.nl)
+//
+
+using System;
+using System.Collections;
+
+namespace Microsoft.Build.Framework
+{
+ [System.Runtime.InteropServices.GuidAttribute ("F8EAE07C-9808-4445-8209-245BCC59780E")]
+ public interface ITaskItem
+ {
+ void CopyAttributesTo (ITaskItem destinationItem);
+ string GetAttribute (string attributeName);
+ void RemoveAttribute (string attributeName);
+ void SetAttribute (string attributeName, string attributeValue);
+
+ ICollection AttributeNames
+ {
+ get;
+ }
+
+ string ItemSpec
+ {
+ get;
+ set;
+ }
+ }
+}
Added: trunk/MSBuild/Microsoft.Build.Framework/LoadInSeparateAppDomainAttribute.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/LoadInSeparateAppDomainAttribute.cs 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/LoadInSeparateAppDomainAttribute.cs 2004-09-26 13:35:24 UTC (rev 1964)
@@ -0,0 +1,11 @@
+using System;
+
+namespace Microsoft.Build.Framework
+{
+ [AttributeUsage(AttributeTargets.Class)]
+ public sealed class LoadInSeparateAppDomainAttribute : Attribute
+ {
+ public LoadInSeparateAppDomainAttribute ()
+ {}
+ }
+}
Added: trunk/MSBuild/Microsoft.Build.Framework/LoggerVerbosity.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/LoggerVerbosity.cs 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/LoggerVerbosity.cs 2004-09-26 13:35:24 UTC (rev 1964)
@@ -0,0 +1,16 @@
+//
+// Author:
+// Rob Tillie (Rob at flep-tech.nl)
+//
+
+namespace Microsoft.Build.Framework
+{
+ public enum LoggerVerbosity
+ {
+ Quiet,
+ Minimal,
+ Normal,
+ Detailed,
+ Diagnostic
+ }
+}
\ No newline at end of file
Added: trunk/MSBuild/Microsoft.Build.Framework/Microsoft.Build.Framework.Mono.dll
===================================================================
(Binary files differ)
Property changes on: trunk/MSBuild/Microsoft.Build.Framework/Microsoft.Build.Framework.Mono.dll
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/MSBuild/Microsoft.Build.Framework/Microsoft.Build.Framework.csproj
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/Microsoft.Build.Framework.csproj 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/Microsoft.Build.Framework.csproj 2004-09-26 13:35:24 UTC (rev 1964)
@@ -0,0 +1,75 @@
+<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>{D3A341EA-8592-4653-921D-05471DDC98AD}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <RootNamespace>Microsoft.Build.Framework</RootNamespace>
+ <AssemblyName>Microsoft.Build.Framework</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="BuildEventArgs.cs" />
+ <Compile Include="BuildEventCategory.cs" />
+ <Compile Include="BuildEventHandler.cs" />
+ <Compile Include="BuildEventImportance.cs" />
+ <Compile Include="BuildStage.cs" />
+ <Compile Include="BuildStatusEventArgs.cs" />
+ <Compile Include="IBuildEngine.cs" />
+ <Compile Include="IEventSource.cs" />
+ <Compile Include="ILogger.cs" />
+ <Compile Include="ITask.cs" />
+ <Compile Include="ITaskItem.cs" />
+ <Compile Include="LoadInSeparateAppDomainAttribute.cs" />
+ <Compile Include="LoggerVerbosity.cs" />
+ <Compile Include="OutputAttribute.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>
+ <DesignTime>True</DesignTime>
+ </Compile>
+ <None Include="app.config" />
+ <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="RequiredAttribute.cs" />
+ <Compile Include="TaskEventArgs.cs" />
+ <Compile Include="TODOAttribute.cs" />
+ <AppDesigner Include="Properties\" />
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
+ <PropertyGroup Condition="">
+ <PostBuildEvent>
+ </PostBuildEvent>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
Added: trunk/MSBuild/Microsoft.Build.Framework/Microsoft.Build.Framework.csproj.user
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/Microsoft.Build.Framework.csproj.user 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/Microsoft.Build.Framework.csproj.user 2004-09-26 13:35:24 UTC (rev 1964)
@@ -0,0 +1,7 @@
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup Condition="">
+ <LastOpenVersion>8.0.40607</LastOpenVersion>
+ <ProjectView>ShowAllFiles</ProjectView>
+ <ProjectTrust>0</ProjectTrust>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
Added: trunk/MSBuild/Microsoft.Build.Framework/OutputAttribute.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/OutputAttribute.cs 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/OutputAttribute.cs 2004-09-26 13:35:24 UTC (rev 1964)
@@ -0,0 +1,11 @@
+using System;
+
+namespace Microsoft.Build.Framework
+{
+ [AttributeUsage(AttributeTargets.Property)]
+ public sealed class OutputAttribute : Attribute
+ {
+ public OutputAttribute ()
+ {}
+ }
+}
\ No newline at end of file
Added: trunk/MSBuild/Microsoft.Build.Framework/Properties/AssemblyInfo.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/Properties/AssemblyInfo.cs 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/Properties/AssemblyInfo.cs 2004-09-26 13:35:24 UTC (rev 1964)
@@ -0,0 +1,32 @@
+//
+// AssemblyInfo.cs
+//
+// Author:
+// Rob Tillie (Rob at flep-tech.nl)
+//
+// (C) 2004 Rob Tillie
+//
+
+using System;
+using System.Reflection;
+using System.Resources;
+using System.Security;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+[assembly: AssemblyVersion("2.0.3600.0")]
+[assembly: SatelliteContractVersion("2.0.3600.0")]
+[assembly: AssemblyTitle("Microsoft.Build.Framework.dll")]
+[assembly: AssemblyDescription("Microsoft.Build.Framework.dll")]
+[assembly: AssemblyConfiguration("Development version")]
+[assembly: AssemblyCompany("MONO development team")]
+[assembly: AssemblyProduct("MONO CLI")]
+[assembly: AssemblyCopyright("(c) 2003 Various Authors")]
+
+[assembly: CLSCompliant(true)]
+[assembly: AssemblyDefaultAlias("Microsoft.Build.Framework.dll")]
+[assembly: AssemblyInformationalVersion("0.0.0.1")]
+[assembly: NeutralResourcesLanguage("en-US")]
+
+[assembly: ComVisible(true)]
+[assembly: Guid("D8A9BA71-4724-481d-9CA7-0DA23A1D615C")]
Added: trunk/MSBuild/Microsoft.Build.Framework/Properties/Resources.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/Properties/Resources.cs 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/Properties/Resources.cs 2004-09-26 13:35:24 UTC (rev 1964)
@@ -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.Framework.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.Framework.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.Framework/Properties/Resources.resx
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/Properties/Resources.resx 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/Properties/Resources.resx 2004-09-26 13:35:24 UTC (rev 1964)
@@ -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.Framework/Properties/Settings.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/Properties/Settings.cs 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/Properties/Settings.cs 2004-09-26 13:35:24 UTC (rev 1964)
@@ -0,0 +1,38 @@
+//------------------------------------------------------------------------------
+// <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.Framework.Properties {
+
+
+ sealed partial class Settings : System.Configuration.ApplicationSettingsBase {
+
+ private static Settings m_Value;
+
+ private static object m_SyncObject = new object();
+
+ [System.Diagnostics.DebuggerNonUserCode()]
+ 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.Framework/Properties/Settings.settings
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/Properties/Settings.settings 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/Properties/Settings.settings 2004-09-26 13:35:24 UTC (rev 1964)
@@ -0,0 +1,7 @@
+<?xml version='1.0' encoding='iso-8859-1'?>
+<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)" GeneratedClassNamespace="Microsoft.Build.Framework.Properties" GeneratedClassName="Settings">
+ <Profiles>
+ <Profile Name="(Default)" />
+ </Profiles>
+ <Settings />
+</SettingsFile>
\ No newline at end of file
Added: trunk/MSBuild/Microsoft.Build.Framework/RequiredAttribute.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/RequiredAttribute.cs 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/RequiredAttribute.cs 2004-09-26 13:35:24 UTC (rev 1964)
@@ -0,0 +1,11 @@
+using System;
+
+namespace Microsoft.Build.Framework
+{
+ [AttributeUsage(AttributeTargets.Property)]
+ public sealed class RequiredAttribute : Attribute
+ {
+ public RequiredAttribute ()
+ {}
+ }
+}
Added: trunk/MSBuild/Microsoft.Build.Framework/TODOAttribute.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/TODOAttribute.cs 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/TODOAttribute.cs 2004-09-26 13:35:24 UTC (rev 1964)
@@ -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.Framework/TaskEventArgs.cs
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/TaskEventArgs.cs 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/TaskEventArgs.cs 2004-09-26 13:35:24 UTC (rev 1964)
@@ -0,0 +1,49 @@
+using System;
+
+namespace Microsoft.Build.Framework
+{
+ [Serializable]
+ public class TaskEventArgs : BuildEventArgs
+ {
+ private string taskName;
+
+ public TaskEventArgs ()
+ {
+ }
+
+ public TaskEventArgs (BuildEventCategory category, BuildEventImportance importance,
+ string message, string taskName)
+ {
+ Category = category;
+ Importance = importance;
+ Message = message;
+ this.taskName = taskName;
+ }
+
+ public TaskEventArgs (BuildEventCategory category, string subCategory,
+ BuildEventImportance importance, string code,
+ string file, int lineNumber, int columnNumber,
+ int endLineNumber, int endColumnNumber, string message,
+ string helpKeyword, string taskName)
+ {
+ Category = category;
+ SubCategory = subCategory;
+ Importance = importance;
+ Code = code;
+ File = file;
+ LineNumber = lineNumber;
+ ColumnNumber = columnNumber;
+ EndLineNumber = endLineNumber;
+ EndColumnNumber = endColumnNumber;
+ Message = message;
+ HelpKeyword = helpKeyword;
+ this.taskName = taskName;
+ }
+
+ public string TaskName
+ {
+ get { return taskName; }
+ set { taskName = value; }
+ }
+ }
+}
Added: trunk/MSBuild/Microsoft.Build.Framework/app.config
===================================================================
--- trunk/MSBuild/Microsoft.Build.Framework/app.config 2004-09-26 13:29:04 UTC (rev 1963)
+++ trunk/MSBuild/Microsoft.Build.Framework/app.config 2004-09-26 13:35:24 UTC (rev 1964)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <supportedRuntime version="v2.0.40607" />
+ <supportedRuntime version="v1.1.4322" />
+ <supportedRuntime version="v1.0.3705" />
+
+ <requiredRuntime version="v1.1.4322" />
+</configuration>
\ No newline at end of file
More information about the Monodevelop-patches-list
mailing list