wx.Build.BuildProjectAttribute Class Reference

Inheritance diagram for wx.Build.BuildProjectAttribute:

Inheritance graph

List of all members.

Public Member Functions

 BuildProjectAttribute (BuildProject project)

Properties

BuildProject Project [get]


Detailed Description

BuildProject.Build() can be called without any arguments. In that case, project defined by this attributes will be built. Using this attributes turns an assembly into a collection of build projects. The main method can use BuildProject.Build() to build these projects.

You may alternatively define static properties returning instances of type BuildProject. So, both samples below are equivalent:

     [assembly:BuildProject(new BlablaProject())]
     
     public class BuildProgram
     {
        public static int Main(string[] args)
        {
            return BuildProject.Build(args);
        }
     }
and
     public class BuildProgram
     {
        public static BuildProject BlablaProject
        {
            get
            {
                return new BlablaProject();
            }
        }
        public static int Main(string[] args)
        {
            return BuildProject.Build(args);
        }
     }

Constructor & Destructor Documentation

wx.Build.BuildProjectAttribute.BuildProjectAttribute ( BuildProject  project  ) 

Specifies the project to be built.


Property Documentation

BuildProject wx.Build.BuildProjectAttribute.Project [get]

Returns the project.


The wx.NET Build System.   (c) 2009-2010 Harald Meyer auf'm Hofe