1
0
Эх сурвалжийг харах

Update Prebuild.exe with Prebuild r323 + an existing OpenSim specific nant hack to correctly clean up chosen OpenSim exes and dlls in bin/ on a "nant clean"

Source code is included for reference.  This can go away again once Prebuild is updated with a more general mechanism for cleaning up files.
The Prebuild source code here can be built with nant, or regnerated for other tools using the prebuild at {root}/bin/Prebuild.exe
Justin Clark-Casey (justincc) 13 жил өмнө
parent
commit
7e65590a55
100 өөрчлөгдсөн 6432 нэмэгдсэн , 0 устгасан
  1. 10 0
      Prebuild/AUTHORS
  2. 65 0
      Prebuild/COPYING
  3. 461 0
      Prebuild/ChangeLog
  4. 236 0
      Prebuild/INSTALL
  5. 200 0
      Prebuild/NEWS
  6. 274 0
      Prebuild/README
  7. 18 0
      Prebuild/THANKS
  8. 43 0
      Prebuild/TODO
  9. 1 0
      Prebuild/clean.bat
  10. 1 0
      Prebuild/clean.sh
  11. 35 0
      Prebuild/doc/.svn/all-wcprops
  12. 5 0
      Prebuild/doc/.svn/dir-prop-base
  13. 198 0
      Prebuild/doc/.svn/entries
  14. 9 0
      Prebuild/doc/.svn/prop-base/prebuild-example1.xml.svn-base
  15. 9 0
      Prebuild/doc/.svn/prop-base/prebuild-example2.xml.svn-base
  16. 9 0
      Prebuild/doc/.svn/prop-base/prebuild-example3.xml.svn-base
  17. 9 0
      Prebuild/doc/.svn/prop-base/prebuild-example4.xml.svn-base
  18. 300 0
      Prebuild/doc/.svn/text-base/prebuild-example1.xml.svn-base
  19. 72 0
      Prebuild/doc/.svn/text-base/prebuild-example2.xml.svn-base
  20. 113 0
      Prebuild/doc/.svn/text-base/prebuild-example3.xml.svn-base
  21. 715 0
      Prebuild/doc/.svn/text-base/prebuild-example4.xml.svn-base
  22. 187 0
      Prebuild/doc/.svn/text-base/prebuild-example5.xml.svn-base
  23. 300 0
      Prebuild/doc/prebuild-example1.xml
  24. 72 0
      Prebuild/doc/prebuild-example2.xml
  25. 113 0
      Prebuild/doc/prebuild-example3.xml
  26. 715 0
      Prebuild/doc/prebuild-example4.xml
  27. 187 0
      Prebuild/doc/prebuild-example5.xml
  28. 2 0
      Prebuild/prebuild
  29. 73 0
      Prebuild/prebuild.xml
  30. 125 0
      Prebuild/scripts/.svn/all-wcprops
  31. 6 0
      Prebuild/scripts/.svn/dir-prop-base
  32. 708 0
      Prebuild/scripts/.svn/entries
  33. 13 0
      Prebuild/scripts/.svn/prop-base/Clean.bat.svn-base
  34. 9 0
      Prebuild/scripts/.svn/prop-base/Clean.sh.svn-base
  35. 13 0
      Prebuild/scripts/.svn/prop-base/Help.bat.svn-base
  36. 13 0
      Prebuild/scripts/.svn/prop-base/MonoDevelop.sh.svn-base
  37. 9 0
      Prebuild/scripts/.svn/prop-base/Prebuild.nsi.svn-base
  38. 13 0
      Prebuild/scripts/.svn/prop-base/SharpDevelop.bat.svn-base
  39. 5 0
      Prebuild/scripts/.svn/prop-base/SharpDevelop2.bat.svn-base
  40. 13 0
      Prebuild/scripts/.svn/prop-base/VS2002.bat.svn-base
  41. 13 0
      Prebuild/scripts/.svn/prop-base/VS2003.bat.svn-base
  42. 13 0
      Prebuild/scripts/.svn/prop-base/VS2005.bat.svn-base
  43. 5 0
      Prebuild/scripts/.svn/prop-base/VS2008.bat.svn-base
  44. 5 0
      Prebuild/scripts/.svn/prop-base/autotools.bat.svn-base
  45. 5 0
      Prebuild/scripts/.svn/prop-base/autotools.sh.svn-base
  46. 9 0
      Prebuild/scripts/.svn/prop-base/makefile.bat.svn-base
  47. 9 0
      Prebuild/scripts/.svn/prop-base/makefile.sh.svn-base
  48. 13 0
      Prebuild/scripts/.svn/prop-base/nant.bat.svn-base
  49. 13 0
      Prebuild/scripts/.svn/prop-base/nant.sh.svn-base
  50. 9 0
      Prebuild/scripts/.svn/prop-base/xcode.bat.svn-base
  51. 9 0
      Prebuild/scripts/.svn/prop-base/xcode.sh.svn-base
  52. 2 0
      Prebuild/scripts/.svn/text-base/Clean.bat.svn-base
  53. 4 0
      Prebuild/scripts/.svn/text-base/Clean.sh.svn-base
  54. 2 0
      Prebuild/scripts/.svn/text-base/Help.bat.svn-base
  55. 2 0
      Prebuild/scripts/.svn/text-base/MonoDevelop.sh.svn-base
  56. 231 0
      Prebuild/scripts/.svn/text-base/Prebuild.nsi.svn-base
  57. 4 0
      Prebuild/scripts/.svn/text-base/SharpDevelop.bat.svn-base
  58. 4 0
      Prebuild/scripts/.svn/text-base/SharpDevelop2.bat.svn-base
  59. 4 0
      Prebuild/scripts/.svn/text-base/VS2002.bat.svn-base
  60. 4 0
      Prebuild/scripts/.svn/text-base/VS2003.bat.svn-base
  61. 4 0
      Prebuild/scripts/.svn/text-base/VS2005.bat.svn-base
  62. 4 0
      Prebuild/scripts/.svn/text-base/VS2008.bat.svn-base
  63. 4 0
      Prebuild/scripts/.svn/text-base/VS2010.bat.svn-base
  64. 4 0
      Prebuild/scripts/.svn/text-base/autotools.bat.svn-base
  65. 5 0
      Prebuild/scripts/.svn/text-base/autotools.sh.svn-base
  66. 4 0
      Prebuild/scripts/.svn/text-base/makefile.bat.svn-base
  67. 10 0
      Prebuild/scripts/.svn/text-base/makefile.sh.svn-base
  68. 4 0
      Prebuild/scripts/.svn/text-base/nant.bat.svn-base
  69. 2 0
      Prebuild/scripts/.svn/text-base/nant.sh.svn-base
  70. 4 0
      Prebuild/scripts/.svn/text-base/xcode.bat.svn-base
  71. 2 0
      Prebuild/scripts/.svn/text-base/xcode.sh.svn-base
  72. 2 0
      Prebuild/scripts/Clean.bat
  73. 4 0
      Prebuild/scripts/Clean.sh
  74. 2 0
      Prebuild/scripts/Help.bat
  75. 2 0
      Prebuild/scripts/MonoDevelop.sh
  76. 231 0
      Prebuild/scripts/Prebuild.nsi
  77. 4 0
      Prebuild/scripts/SharpDevelop.bat
  78. 4 0
      Prebuild/scripts/SharpDevelop2.bat
  79. 4 0
      Prebuild/scripts/VS2002.bat
  80. 4 0
      Prebuild/scripts/VS2003.bat
  81. 4 0
      Prebuild/scripts/VS2005.bat
  82. 4 0
      Prebuild/scripts/VS2008.bat
  83. 4 0
      Prebuild/scripts/VS2010.bat
  84. 4 0
      Prebuild/scripts/autotools.bat
  85. 5 0
      Prebuild/scripts/autotools.sh
  86. 4 0
      Prebuild/scripts/makefile.bat
  87. 10 0
      Prebuild/scripts/makefile.sh
  88. 4 0
      Prebuild/scripts/nant.bat
  89. 2 0
      Prebuild/scripts/nant.sh
  90. 4 0
      Prebuild/scripts/xcode.bat
  91. 2 0
      Prebuild/scripts/xcode.sh
  92. 23 0
      Prebuild/src/.svn/all-wcprops
  93. 16 0
      Prebuild/src/.svn/dir-prop-base
  94. 139 0
      Prebuild/src/.svn/entries
  95. 5 0
      Prebuild/src/.svn/prop-base/App.ico.svn-base
  96. 9 0
      Prebuild/src/.svn/prop-base/Prebuild.cs.svn-base
  97. 5 0
      Prebuild/src/.svn/prop-base/Prebuild.snk.svn-base
  98. BIN
      Prebuild/src/.svn/text-base/App.ico.svn-base
  99. 165 0
      Prebuild/src/.svn/text-base/Prebuild.cs.svn-base
  100. BIN
      Prebuild/src/.svn/text-base/Prebuild.snk.svn-base

+ 10 - 0
Prebuild/AUTHORS

@@ -0,0 +1,10 @@
+Dave    Hudson        ([email protected]),
+Matthew Holmes        ([email protected])
+Dan     Moorehead     ([email protected])
+Rob     Loach         (http://www.robloach.net)
+C.J.    Adams-Collier ([email protected])
+
+Patch Contributers
+lbsa71
+chi11ken
+sdague

+ 65 - 0
Prebuild/COPYING

@@ -0,0 +1,65 @@
+BSD License
+Copyright (c)2004-2008
+
+See AUTHORS file for list of copyright holders
+
+Dave    Hudson        ([email protected]),
+Matthew Holmes        ([email protected])
+Dan     Moorehead     ([email protected])
+Rob     Loach         (http://www.robloach.net)
+C.J.    Adams-Collier ([email protected])
+
+http://dnpb.sourceforge.net
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright notice,
+   this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+   this list of conditions and the following disclaimer in the documentation
+   and/or other materials provided with the distribution.
+
+3. The names of the authors may not be used to endorse or promote
+   products derived from this software without specific prior written
+   permission.
+
+   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+   FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+   COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+   INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+   BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+   LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+   CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+   LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+   ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+   POSSIBILITY OF SUCH DAMAGE.
+
+---
+
+Portions of src/Core/Targets/AutotoolsTarget.cs
+// Copyright (C) 2006 Novell, Inc (http://www.novell.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.

+ 461 - 0
Prebuild/ChangeLog

@@ -0,0 +1,461 @@
+2008-12-09T02:15	D. Moonfire <[email protected]>
+	* src/Core/Kernel.cs
+	- Added a /ppi target to get the results of processing but before
+	processing the actual results.
+	* src/Core/Preprocessor.cs
+	- Applied the patch from kanato with formatting changes.
+	- Uses the <?include file="" ?> format.
+	* tests/
+	- Added some lightweight tests to test the functionality of the
+	include patch.
+	
+2008-06-19T09:37	John Anderson <[email protected]>
+	* src/Core/Kernel.cs
+	- Only Loop through targets that are not abstract.
+	* src/Core/Targets/VSGenericTarget.cs
+	- Marked abstract and removed the Target attribute.
+
+2008-06-16T17:37	John Anderson <[email protected]>
+	* src/Core/Nodes/ProjectNode.cs,data/prebuild-1.7.xsd
+	- Added the ability to hardcode guid's in the projects 
+
+2008-05-21T0737		C.J. Adams-Collier <[email protected]>
+	* src/Core/Targets/AutotoolsTarget.cs
+	- catch exception when unable to compile AssemblyInfo.cs
+
+2008-05-07T17:29	John Anderson <[email protected]>
+	* src/Core/Targets/VSGenericTarget.cs
+	  - Generate asp.net output in bin\ folder (asp.net requires it there)
+
+2008-04-30T17:29	John Anderson <[email protected]>
+	* src/Core/Nodes/DatabaseReferenceNode.cs,
+	  src/Core/Nodes/Datanode.cs,
+	  src/Core/Nodes/FileNode.cs,
+	  src/Core/Nodes/FileNodes.cs,
+	  src/Core/Nodes/MatchNode.cs,
+	  src/Core/Targets/VS2008Target.cs,
+	  src/data/prebuild-1.7.xsd
+	- Refactored the project generation code to handle web projects and more
+	  logically handle embedded resources and designer files.
+
+2008-04-30T17:29	Joseph Lombrozo <[email protected]>
+	* src/Core/Nodes/SolutionNode.cs
+	- Had solutions inherit Configurations in the same way that Projects do.
+
+2008-04-29T06:35	Joseph Lombrozo <[email protected]>
+	* src/Core/Targets/VS2008Target.cs,
+	  src/Core/Nodes/DatabaseProjectNode.cs,
+	  src/Core/Nodes/DatabaseReferenceNode.cs,
+	  src/data/prebuild-1.7.xsd
+	- Added database references to database projects.
+	- Prevented nested solutions from being written to disk.
+
+2008-04-29T05:43	Joseph Lombrozo <[email protected]>
+	* src/Core/Targets/VS2008Target.cs
+	- Enabled embedded solutions to contain Files.
+
+2008-04-29T04:13	Joseph Lombrozo <[email protected]>	
+	* src/Core/VSVersion.cs
+	- Fixed spelling mistake in enum comment.
+	* src/Core/Attributes/DataNodeAttribute.cs
+	- Allowed the DataNodeAttribute to be attached to a single class 
+	  more than once, allowing one class to be used to parse more than 
+	  one node at a time.
+	* src/Core/Kernel.cs
+	- Changed CacheNodeTypes() to allow for multiple DataNodeAttribute 
+	  instances in one class. Refactored ProcessFile(...) to return Solutions, 
+	  rather than adding them to the Kernel.
+	* src/Core/Nodes/SolutionNode.cs
+	- Added Guid (for embedded folders)
+	- Added DatabaseProjects, Solutions and Processes to the SolutionNode 
+	  when parsing.
+	* src/Core/Nodes/ProjectNode.cs
+	- Added FrameworkVersion property to allow for 2.0/3.0/3.5 differentiation.
+	* src/Core/Targets/VS2008Target.cs, src/data/prebuild-1.7.xsd
+	- Added ability to have embedded solutions, and externally referenced
+	  prebuild scripts.
+
+2008-04-24T04:33	John M. Anderson <[email protected]>	
+	* src/Core/Targets/VS2003Target.cs, src/Core/Targets/VSVersion.cs 
+	- Moved the VSVersion enum into its own file. 
+	* src/Core/Targets/VS2008Target.cs
+	- added support for VS2008 
+	* src/Core/Nodes/ProjectNode.cs
+	- Added initial support for ASP.NET projects 
+	* src/Core/Nodes/DatabaseProjectNode.cs
+	- Added support for Visual Studio database projects 
+
+2008-02-19T07:08	C.J. Adams-Collier <[email protected]>
+	* TODO
+	- added some tasks from Sam Hocevar
+	* src/Core/Targets/AutotoolsTarget.cs
+	- added a missing end paren
+	* COPYING
+	- Removed Randy Ridge's name from the copyright.  Looks to me like
+	  his name was present only because the file was nabbed from Tao
+
+2008-02-09T20:29	C.J. Adams-Collier <[email protected]>
+	* COPYING
+	- added MIT/X11 license due to inclusion of code from Monodevelop
+	* THANKS
+	- added Lluis Sanchez Gual and Todd Berman - I yoinked code from
+	  their pkg-config .pc file parser to build AutotoolsTarget.cs.
+	  Sorry it took me so long to remember to add mention of you guys!
+	* src/Core/Targets/AutotoolsTarget.cs
+	- added MIT/X11 license.  see above.
+
+2008-02-07T08:27	C.J. Adams-Collier <[email protected]>
+	* AUTHORS
+	- consolidated names and contact info found laying around the
+	  source
+	* src/Core/Kernel.cs
+	- updated copyright date
+	- re-formatted license for 80-column editor
+	- updated log banner to indicate new date, new authors
+	* src/Core/Targets/AutotoolsTarget.cs
+	- clarified reasoning behind use of constants in
+	  AutotoolsTarget.ParsePCFile
+	- reduced length of some long lines using newline/indent
+	- added log messages for parsing .pc files, emitting solutions,
+	  projects
+	- robustified the inter-package dependency resolution target
+	- log warning when we can't find assembly for <Reference />
+	- clarified code for case of inability to find embedded
+	  autotools.xml
+	* src/data/autotools.xml
+	- adding system lookup of resgen2 to configure.ac
+	- fixed .resource -> .resources typo
+	- added a rule to create <foo>.response file containing all sources
+	- using @<foo>.response on $(CSC) command line instead of listing
+	  all source files
+	* src/Properties/AssemblyInfo.cs
+	- re-formatted license for an 80-column editor
+	- added more authors to the AssemblyCopyright attribute
+	- bumped version to 2.0.3
+	* prebuild.xml
+	- bumped version to 2.0.3
+	* scripts/autotools.sh
+	- if 'mono' is in the path, run Prebuild.exe with it
+	- using dirname to capture correct path to prebuild.xml &c
+
+2008-02-06T17:18	C.J. Adams-Collier <[email protected]>
+	* src/Core/Targets/NAntTarget.cs
+	- re-formatted the license for an 80-column editor
+	- added myself to the copyright
+	- added a fix submitted by Gryc Ueusp <[email protected]>
+	* src/Core/Targets/AutotoolsTarget.cs
+	- updated copyright to include 2008
+	* THANKS
+	- created file, added Gryc Ueusp <[email protected]>
+
+2008-01-01T14:50	C.J. Adams-Collier <[email protected]>
+	* src/data/autotools.xml
+	- fixed .resx -> .resource compilation
+	- fixed failing edge case where Project is an unsigned Library
+	- added $(RESOURCE_SRC) to list of extra dist files
+	* src/Core/Targets/AutotoolsTarget.cs
+	- removed embeddedResources from extraDistFiles list
+
+2007-04-18T07:49	C.J. Adams-Collier <[email protected]>
+	* src/data/prebuild-1.7.xsd
+	- removed default version from references
+	
+2007-04-06T12:42	C.J. Adams-Collier <[email protected]>
+	* src/data/autotools.xml
+	- added support for /doc: output when XmlDocFile is not empty
+	- not printing \t \\n on lines that have no content
+	- gacutil now installs the root assembly instead of the one under
+	  bin/Debug or whatever
+
+2007-04-04T22:12	C.J. Adams-Collier <[email protected]>
+	* src/Core/Targets/AutotoolsTarget.cs
+	- removed debugging Console.WriteLine()
+	* src/data/autotools.xml
+	- ensuring that install-sh and missing get distributed
+	- explicitly stating that the sources, snk, resources and binary
+	  references live under $(srcdir)
+	- corrected uninstall target
+	- verified distcheck completes successfully
+	
+2007-04-03T21:56	C.J. Adams-Collier <[email protected]>
+	* src/Core/Targets/AutotoolsTarget.cs
+	- added a using for System.Diagnostics
+	- added enum ClrVersion for use with the pkg-config parser
+	- added class SystemPackage for use with the pkg-config parser
+	- removed explicit "private" property of members since it is implied
+	- flushing the stream-writer before it's closed
+	- removed excess braces around an if statement
+	! NormalizeAsmName(), AddAssembly(), GetAssembliesWithLibInfo(),
+	  GetAssembliesWithoutLibInfo(), ProcessPiece(),
+	  GetVariableFromPkgConfig(), ParsePCFile(),
+	  RegisterSystemAssemblies(), RunInitialization()
+	- pulled the above from MonoDevelop to parse the system pkgconfig
+	  files and determine /pkg: arguments.  Original sources are here:
+	  http://svn.myrealbox.com/source/trunk/monodevelop/Core/src/MonoDevelop.Core/MonoDevelop.Core/SystemAssemblyService.cs
+	  http://svn.myrealbox.com/source/trunk/monodevelop/Core/src/MonoDevelop.Core/MonoDevelop.Core/ClrVersion.cs
+	! WriteProject()
+	- now gathering project version from AssemblyInfo.cs if it is part
+	  of the project
+	- changed the declaration of the ArrayList's in the method
+	- now copying assembly .config files to the project, distributing,
+	  installing
+	- making sure all needed files live under the Project directory
+	- copying strongname keys to project directory
+	- parsing AssemblyInfo.cs to determine assembly version
+	- removing all references to ".."
+	- removed superfluous if(project.References.Count > 0) around
+	  for(int refNum = 0; refNum < project.References.Count; refNum++)
+	- removed use of runtimeLibs
+	- adding hook to copy sibling project's generated assemblies to
+	  this project during Make time
+	- added extra dist target to ensure all files required to build
+	  get distributed during "make dist"
+	- added new xslt processing args:
+	-- assemblyName
+	-- extraDistFiles
+	-- pkgLibs (/pkg:foo)
+	-- localCopyTargets (to copy sibling assemblies at Make time)
+	-- projectVersion (if determined from AssemblyInfo.cs)
+	-- hasAssemblyConfig (if there's a assembly.exe.config present)
+	! Write()
+	- calling RunInitialization() to gather pkg-config data
+	* src/data/autotools.xml
+	- accepting new args passed from AutotoolsTarget.cs
+	- modernized configure.ac a bit
+	- using a version of tar that allows >99-char filenames
+	- added ASSEMBLY_NAME variable
+	- using assembly name rather than project name for gac installation
+	- generated assembly is now assembly name and not project name
+	- accepting /pkg: flags gathered from AutotoolsTarget.cs
+	- adding Makefile targets to copy sibling project assemblies to .
+	- fixed Debug, Release targets
+	- adding support for strongname key signing
+	- adding /unsafe support
+	- adding a clean make target
+	- only running gacutil /u if the assembly being uninstalled is in gac
+	- added some templates to determine each Configuration's .snk
+	- added explanation as to why .exe assemblies live in $prefix/lib
+	* src/Properties/AssemblyInfo.cs
+	- bumped assembly version
+	* prebuild.xml
+	- bumped assembly version
+
+2007-03-29T18:03	C.J. Adams-Collier <[email protected]>
+	* src/Core/Targets/AutotoolsTarget.cs
+	! WriteProject()
+	- re-named incorrectly-named variable gacLibs to systemLibs
+	- added another reference list, runtimeLibs which contains the
+	  libs we will need at runtime.  we use this to build a MONO_PATH
+	- added monoPath to the xslt args list
+	* src/data/autotools.xml
+	! <ProjectMakefileAm />
+	- renamed gacLibs to systemLibs
+	- added the sources to the dist list
+	- added logic to install libs that aren't strongnamed
+	! <ProjectWrapperScriptIn />
+	- accepting a param to update the MONO_PATH
+
+2007-03-28T19:46	C.J. Adams-Collier <[email protected]>
+	* src/Core/Targets/MonoDevelopTarget.cs
+	! CleanProject()
+	- using Assembly.LoadWithPartialName to locate the assembly
+	* src/Core/Targets/AutotoolsTarget.cs
+	! WriteCombine()
+	- no longer using $PWD to determine a project's source dir; this
+	  doesn't work with <Process /> elements
+	- passing the solution name to all templates - fixes
+	  multi-solution prebuild systems
+	! WriteProject()
+	- no longer using $PWD to determine a project's source dir; this
+	  doesn't work with <Process /> elements
+	- passing the solution name to all templates - fixes
+	  multi-solution prebuild systems
+	- copying strongname key to the autotools directory
+	- using Assembly.LoadWithPartialName to locate assemblies
+	* src/data/autotools.xml
+	! <ProjectConfigureAc />
+	- fixed the .pc AC_CONFIG_FILES macro
+	! <ProjectMakefileAm />
+	- added solution name param
+	- wrapping if type=exe check around script install macro
+	- added type=lib check and .pc file install macro
+	- added support for Configuration-specific builds (Debug, Release, etc)
+	- added strongname keyfile code
+	- TODO: support non-strongnamed library installation
+	! <ProjectWrapperScriptIn />
+	- added space preservation attribute to stylesheet element
+	- added a lower-case project name variable
+	- added solution name param
+	- made for-each template more specific
+	! <SolutionAutogenSh />
+	- added solution name param
+	! <SolutionConfigureAc />
+	- added solution name param
+	! <SolutionMakefileAm />
+	- added solution name param
+	! <ProjectPcIn />
+	- added solution name param
+	
+2007-03-27T09:33	C.J. Adams-Collier <[email protected]>
+	* src/Core/Targets/AutotoolsTarget.cs
+	- now processing the wrapper script if type is "Exe" or "WinExe"
+	* src/data/autotools.xml
+	! <ProjectConfigureAc />
+	- being more exact about where text escaping is used
+	- using the correct variable name for the GACUTIL_FLAGS template
+	- using correct test="" for the AC_CONFIG_FILES macros
+	! <ProjectMakefileAm />
+	- uncommented the bin_SCRIPTS section now that the script is being
+	  generated correctly
+	! <ProjectWrapperScriptIn />
+	- fixed whitespace at beginning of file, before #!
+	- using lower-case packageName to indicate installation location
+
+2007-03-27T09:33	C.J. Adams-Collier <[email protected]>
+	* src/data/autotools.xml
+	! <ProjectConfigureAc />
+	* added a lcProjectName which is $projectName lower-cased
+	* moved autoconf template specifier near AC_OUTPUT
+	* AC_OUTPUT with args is deprecated.  now using AC_CONFIG_FILES
+	* placed AC_CONFIG_FILES() calls for wrapper script or pkg-config
+	  file in xslt project type checks
+	! <ProjectMakefileAm />
+	* commented out bin_SCRIPTS
+	* added a lcProjectName which is $projectName lower-cased
+	* using $lcProjectName instead of the longer version
+
+2007-03-27T08:39	C.J. Adams-Collier <[email protected]>
+	* src/data/autotools.xml
+	! <ProjectMakefileAm />
+	- added whitespace-preservation
+	- added the missing projectName param
+	- replaced bin_SCRIPTS with something that worked
+
+2007-03-27T07:56	C.J. Adams-Collier <[email protected]>
+	* src/data/autotools.xml
+	! <ProjectConfigureAc />
+	- cleaned up duplicate checks
+	- placed initialization macros above system check macros
+	- added some more messages about what's going on
+	- added GACUTIL_FLAGS variable including /package option
+	! <ProjectMakefileAm />
+	- added an incomplete bin_SCRIPTS
+	- RCS check says "building" instead of "compiling"
+	! <SolutionConfigureAc />
+	- removed macros that are useful only for projects
+	! <ProjectWrapperScriptIn />
+	- created this element on this revision
+	- this is a wrapper shell script that lives in the $PATH and runs
+	  the CIL assembly
+
+2007-03-26T20:18	C.J. Adams-Collier <[email protected]>
+	* src/Core/Targets/AutotoolsTarget.cs
+	- creating new template arguments to contain the list of libs to
+	  reference: source, binary & GAC
+	- source libs are included as part of this solution (untested)
+	- binary libs are distributed with the source (untested)
+	- GAC libs are assumed to be in the GAC or other lib path (tested)
+	* src/data/autotools.xml
+	- created new params through which to accept reference info
+	- created a working $(CSC) line
+	- added a TODO item for ordering project dependency for
+	  AC_CONFIG_SUBDIRS code
+
+2007-03-26T08:41	C.J. Adams-Collier <[email protected]>
+	* src/Core/Targets/AutotoolsTarget.cs
+	- now creating list of source files in managed code and passing
+	  them to the template via <xsl:param>s
+	* src/data/prebuild-1.7.xsd
+	- updated the header comment to 2007
+	* src/data/autotools.xml
+	! <ProjectConfigureAc>
+	- copied checks from Solution-level configure.ac
+	- copied solution-level config status
+	! <ProjectMakefileAm>
+	- added <xsl:param> elements for file list to be passed through
+	- made a temporary target for the assembly we're building
+	- added this target to the deps of "all:"
+	! <SolutionConfigureAc>
+	- changed status header/footer from "- - -" to "==="
+
+2007-03-23T08:33	C.J. Adams-Collier <[email protected]>
+	Added version attribute handling code for Property element
+	Added description element handling code
+	* prebuild.xml
+	- added /Prebuild/Solution/Property/@version attribute
+	- added /Prebuild/Solution/Property/Description element
+	* src/Core/Nodes/ProjectNode.cs
+	- added some docs where they were missing and obvious
+	- added code to handle @version
+	* src/Core/Nodes/DescriptionNode.cs
+	- new file.  Used to handle /Prebuild/Solution/Property/Description
+	* src/Core/Targets/AutotoolsTarget.cs
+	- added mkdirDashP(), a recursive directory creation method
+	- WriteProject() now copies the files to autotools/
+	* src/data/prebuild-1.7.xsd
+	- added /Prebuild/Solution/Property/Description element
+	- added /Prebuild/Solution/Property/@version attribute
+	* src/data/autotools.xml
+	- removed excess <xsl:value-of select="$projectName"/>
+	- explicitly using dnpb: prefix
+
+2007-03-23T04:31	C.J. Adams-Collier <[email protected]>
+	Merged code from my stripped-down test
+	Adding support for the /Prebuild/Solution/Project/Author element
+	* prebuild.xml
+	- added Author elements
+	- cleaned up the really long Project element
+	* src/Core/Nodes/ProjectNode.cs
+	- added Author tag processing code
+	* src/Core/Nodes/AuthorNode.cs
+	- Created to process Author elements
+	- based off of ReferencePathNode.cs
+	* src/Core/Targets/AutotoolsTarget.cs
+	- merged code from https://svn.colliertech.org/mono/dnpbAutotools/dnpbAutotools/test.cs
+	- renamed old WriteCombine to WriteCombineOld
+	- renamed old WriteProject to WriteProjectOld
+	* src/data/prebuild-1.7.xsd
+	- added Author element to Project
+	* src/data/autotools.xml
+	- lower-cased utf
+
+
+2007-03-22T13:58	C.J. Adams-Collier <[email protected]>
+	Exposing an XmlDocument that represents the prebuild.xml file
+	passed to the program
+	
+	* src/Core/Kernel.cs
+	- created an object member called XmlDocument m_CurrentDoc
+	- created a property to access its value
+	- using m_CurrentDoc to load up the prebuild.xml file rather than
+	  a local variable called "doc"
+
+2007-03-22	C.J. Adams-Collier <[email protected]>
+	* prebuild.xml
+	- added autotools.xml created at https://svn.colliertech.org/mono/dnpbAutotools/dnpbAutotools/autotools.xml
+	* src/data/autotools.xml
+	- the same
+	* src/Core/Targets/MonoDevelopTarget.cs
+	- fixed bug introduced in r206
+	
+2007-03-07  C.J. Adams-Collier <[email protected]>
+	* src/data/prebuild-1.7.xsd
+	- added version attribute to Solution and Project elements
+
+2006-11-04T00:38  C.J. Adams-Collier <[email protected]>
+	* placing AssemblyInfo.cs into Properties/
+	* Fixed double-mention of the package name
+
+2006-11-03T15:23  C.J. Adams-Collier <[email protected]>
+	* corrected a problem in the Include.am generation code
+	* created the new .exe
+	* copied it to the root of the build
+	
+2006-11-03T14:57  C.J. Adams-Collier <[email protected]>
+	* Updated the .exe file
+
+2006-11-03  C.J. Adams-Collier  <[email protected]>
+	* Added a TODO file
+	* Added a ChangeLog file
+	* applied some fixes for autotools gac and pkg-config installation
+	problems

+ 236 - 0
Prebuild/INSTALL

@@ -0,0 +1,236 @@
+Installation Instructions
+*************************
+
+Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
+Software Foundation, Inc.
+
+This file is free documentation; the Free Software Foundation gives
+unlimited permission to copy, distribute and modify it.
+
+Basic Installation
+==================
+
+These are generic installation instructions.
+
+   The `configure' shell script attempts to guess correct values for
+various system-dependent variables used during compilation.  It uses
+those values to create a `Makefile' in each directory of the package.
+It may also create one or more `.h' files containing system-dependent
+definitions.  Finally, it creates a shell script `config.status' that
+you can run in the future to recreate the current configuration, and a
+file `config.log' containing compiler output (useful mainly for
+debugging `configure').
+
+   It can also use an optional file (typically called `config.cache'
+and enabled with `--cache-file=config.cache' or simply `-C') that saves
+the results of its tests to speed up reconfiguring.  (Caching is
+disabled by default to prevent problems with accidental use of stale
+cache files.)
+
+   If you need to do unusual things to compile the package, please try
+to figure out how `configure' could check whether to do them, and mail
+diffs or instructions to the address given in the `README' so they can
+be considered for the next release.  If you are using the cache, and at
+some point `config.cache' contains results you don't want to keep, you
+may remove or edit it.
+
+   The file `configure.ac' (or `configure.in') is used to create
+`configure' by a program called `autoconf'.  You only need
+`configure.ac' if you want to change it or regenerate `configure' using
+a newer version of `autoconf'.
+
+The simplest way to compile this package is:
+
+  1. `cd' to the directory containing the package's source code and type
+     `./configure' to configure the package for your system.  If you're
+     using `csh' on an old version of System V, you might need to type
+     `sh ./configure' instead to prevent `csh' from trying to execute
+     `configure' itself.
+
+     Running `configure' takes awhile.  While running, it prints some
+     messages telling which features it is checking for.
+
+  2. Type `make' to compile the package.
+
+  3. Optionally, type `make check' to run any self-tests that come with
+     the package.
+
+  4. Type `make install' to install the programs and any data files and
+     documentation.
+
+  5. You can remove the program binaries and object files from the
+     source code directory by typing `make clean'.  To also remove the
+     files that `configure' created (so you can compile the package for
+     a different kind of computer), type `make distclean'.  There is
+     also a `make maintainer-clean' target, but that is intended mainly
+     for the package's developers.  If you use it, you may have to get
+     all sorts of other programs in order to regenerate files that came
+     with the distribution.
+
+Compilers and Options
+=====================
+
+Some systems require unusual options for compilation or linking that the
+`configure' script does not know about.  Run `./configure --help' for
+details on some of the pertinent environment variables.
+
+   You can give `configure' initial values for configuration parameters
+by setting variables in the command line or in the environment.  Here
+is an example:
+
+     ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
+
+   *Note Defining Variables::, for more details.
+
+Compiling For Multiple Architectures
+====================================
+
+You can compile the package for more than one kind of computer at the
+same time, by placing the object files for each architecture in their
+own directory.  To do this, you must use a version of `make' that
+supports the `VPATH' variable, such as GNU `make'.  `cd' to the
+directory where you want the object files and executables to go and run
+the `configure' script.  `configure' automatically checks for the
+source code in the directory that `configure' is in and in `..'.
+
+   If you have to use a `make' that does not support the `VPATH'
+variable, you have to compile the package for one architecture at a
+time in the source code directory.  After you have installed the
+package for one architecture, use `make distclean' before reconfiguring
+for another architecture.
+
+Installation Names
+==================
+
+By default, `make install' installs the package's commands under
+`/usr/local/bin', include files under `/usr/local/include', etc.  You
+can specify an installation prefix other than `/usr/local' by giving
+`configure' the option `--prefix=PREFIX'.
+
+   You can specify separate installation prefixes for
+architecture-specific files and architecture-independent files.  If you
+pass the option `--exec-prefix=PREFIX' to `configure', the package uses
+PREFIX as the prefix for installing programs and libraries.
+Documentation and other data files still use the regular prefix.
+
+   In addition, if you use an unusual directory layout you can give
+options like `--bindir=DIR' to specify different values for particular
+kinds of files.  Run `configure --help' for a list of the directories
+you can set and what kinds of files go in them.
+
+   If the package supports it, you can cause programs to be installed
+with an extra prefix or suffix on their names by giving `configure' the
+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
+
+Optional Features
+=================
+
+Some packages pay attention to `--enable-FEATURE' options to
+`configure', where FEATURE indicates an optional part of the package.
+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
+is something like `gnu-as' or `x' (for the X Window System).  The
+`README' should mention any `--enable-' and `--with-' options that the
+package recognizes.
+
+   For packages that use the X Window System, `configure' can usually
+find the X include and library files automatically, but if it doesn't,
+you can use the `configure' options `--x-includes=DIR' and
+`--x-libraries=DIR' to specify their locations.
+
+Specifying the System Type
+==========================
+
+There may be some features `configure' cannot figure out automatically,
+but needs to determine by the type of machine the package will run on.
+Usually, assuming the package is built to be run on the _same_
+architectures, `configure' can figure that out, but if it prints a
+message saying it cannot guess the machine type, give it the
+`--build=TYPE' option.  TYPE can either be a short name for the system
+type, such as `sun4', or a canonical name which has the form:
+
+     CPU-COMPANY-SYSTEM
+
+where SYSTEM can have one of these forms:
+
+     OS KERNEL-OS
+
+   See the file `config.sub' for the possible values of each field.  If
+`config.sub' isn't included in this package, then this package doesn't
+need to know the machine type.
+
+   If you are _building_ compiler tools for cross-compiling, you should
+use the option `--target=TYPE' to select the type of system they will
+produce code for.
+
+   If you want to _use_ a cross compiler, that generates code for a
+platform different from the build platform, you should specify the
+"host" platform (i.e., that on which the generated programs will
+eventually be run) with `--host=TYPE'.
+
+Sharing Defaults
+================
+
+If you want to set default values for `configure' scripts to share, you
+can create a site shell script called `config.site' that gives default
+values for variables like `CC', `cache_file', and `prefix'.
+`configure' looks for `PREFIX/share/config.site' if it exists, then
+`PREFIX/etc/config.site' if it exists.  Or, you can set the
+`CONFIG_SITE' environment variable to the location of the site script.
+A warning: not all `configure' scripts look for a site script.
+
+Defining Variables
+==================
+
+Variables not defined in a site shell script can be set in the
+environment passed to `configure'.  However, some packages may run
+configure again during the build, and the customized values of these
+variables may be lost.  In order to avoid this problem, you should set
+them in the `configure' command line, using `VAR=value'.  For example:
+
+     ./configure CC=/usr/local2/bin/gcc
+
+causes the specified `gcc' to be used as the C compiler (unless it is
+overridden in the site shell script).  Here is a another example:
+
+     /bin/bash ./configure CONFIG_SHELL=/bin/bash
+
+Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
+configuration-related scripts to be executed by `/bin/bash'.
+
+`configure' Invocation
+======================
+
+`configure' recognizes the following options to control how it operates.
+
+`--help'
+`-h'
+     Print a summary of the options to `configure', and exit.
+
+`--version'
+`-V'
+     Print the version of Autoconf used to generate the `configure'
+     script, and exit.
+
+`--cache-file=FILE'
+     Enable the cache: use and save the results of the tests in FILE,
+     traditionally `config.cache'.  FILE defaults to `/dev/null' to
+     disable caching.
+
+`--config-cache'
+`-C'
+     Alias for `--cache-file=config.cache'.
+
+`--quiet'
+`--silent'
+`-q'
+     Do not print messages saying which checks are being made.  To
+     suppress all normal output, redirect it to `/dev/null' (any error
+     messages will still be shown).
+
+`--srcdir=DIR'
+     Look for the package's source code in directory DIR.  Usually
+     `configure' can determine that directory automatically.
+
+`configure' also accepts some other, not widely useful, options.  Run
+`configure --help' for more details.
+

+ 200 - 0
Prebuild/NEWS

@@ -0,0 +1,200 @@
+Prebuild is an XML-driven pre-build tool allowing developers to easily generate project or make files for major IDE's and .NET development tools including: Visual Studio 2005, Visual Studio 2003, Visual Studio 2002, SharpDevelop, MonoDevelop, and NAnt.
+
+Documentation and downloads are available at http://dnpb.sourceforge.net.
+
+Prebuild is licensed under the BSD license.
+
+[ XXXXXXX XX, XXX - 1.3.2 ]
+	+ Added Keyfile signing to NAnt target and VS2005 target
+	+ Updated XSD file to 1.7
+	+ Boo and VisualBasic Language support in VS2005 target
+	+ Added basic Autotools target. It creates a non-recursive Autotools system. 
+	! Multiple files can be excluded from the Match node	
+	! VS2005 now handles .resx files correctly.
+	! NAnt and Autotools now handle defines
+	! NAnt and Autotools now handle resources
+	+ Conditional XML variables can be passed through the command line.
+	+ Added /install and /remove command line flags to install and remove assemblies from the GAC
+	+ Many fixes to VS2005 target
+
+[ July 21, 2006 - 1.3.1 ]
+	! VS2005 fixes from Rob Loach
+	! NAnt fixes from Rob Loach and David Hudson
+	! XML doc fixes from Rob Loach
+	+ Added SharpDevelop2 target (really just uses VS2005 target)
+	! Fixed bug with BuildEvents in Monodevelop target
+	+ Passing /yes will default to answering yes to any warnings
+
+[ February 28, 2006 - 1.3 ]
+	+ Added MonoDevelop target.
+	+ Added NAnt target.
+	+ Lots of fixes to all targets.
+	* Cleaned up the code using FXCop.
+	* Updated schema to 1.6 to fix a typo and add a new parameter.
+	* jendave is now the maintainer of the project. RobLoach has been added as a developer.
+	* Removed references to 'dnpb'.
+	+ Added rudimentary support for pre- and post- build scripts
+	* Updated examples.
+
+[ August 5, 2004 - 1.2 ]
+	+ Added Visual Studio Express (vs2005express) target contributed by Borrillis and modified for use with different languages
+	+ Added the allowedgroups command line option followed by a pipe-delimited list of project group filter flags (eg. Group1|Group2) allow optional filtering of all projects that dont have at least one of these flags
+	+ Added the filterGroups XML attribute to the project node and updated the scheme to v1.5 for this addition, it is used to specified the delimited list of filter groups to which a project belongs
+	* Modified the removedir command line option to allow for a pipe-delimited list of directory names
+	! Modified the resource loading code to search for resourced without the prepended namespace (as Visual Studio .NET does it) to allow for it to be compiled with SharpDevelop as well
+	+ Added the GenerateXmlDocFile boolean option to the Options XML element
+	* Changed the behavior of the XmlDocFile option so that if not specified it uses the assemblyName (without file extension) + .xml for the file name instead of just not generating the file since the new GenerateXmlDocFile takes care of this
+
+[ January 3, 2004 - 1.1 ]
+	! Replaced regex use for more efficient manual parsing to allow use on non-windows platforms with Mono which has Regex problems
+	+ Added the checkOsVars attribute to the root element for enabling interpolation for Enviroment variables in the form ${var}, otherwise no checking is performed for efficiency-sake
+	* Make the version attribute on the root element optional as it isn't used and not needed since the schema url contains the version
+
+[ December 30, 2004 - 1.1 ]
+    ! Applied Leed's fix for SharpDevelop references
+    + Rewrote much of the processing for better validation and without the use of a temp file
+    + Added support for configurations at the project level which are named All.  They now apply changes to all Solution level defined configs
+	* Changed all spaces into tabs
+	+ Added support for the None build action
+	* Replaced all sequence's in the XML schema for all's because the order doesn't matter since the xml file is loaded into an XmlDocument
+	
+[ December 25, 2004 - 1.0 ]
+    + Added the /removedir option for cleaning directories like obj before file releases
+    + Changed WriteTempXml() and the new DeleteTempXml() methods to be compiled only in DEBUG builds
+    * Made path optional for Match elements (defaults to current directory) and updates schema for it
+    ! Fixed XML example in the readme.txt
+    + Added example xml files to docs directory
+    * Updated license.txt to add Dan Moorehead and update copyright years
+    + Updated prebuild.xml to take advantage of the default path attribute for match elements
+    + Updated Clean to delete the obj directories
+
+[ December 25, 2004 - 0.13 ]
+    + Added dnpb.exe so that it can be used to generate the project files
+    + Added dnpb.ico
+    * Added parameterless Write statement to Log for writing a single line
+    * Changed scehema to version 1.3 for support of icon attribute
+    * Added support for All configuration name under a Project node signifying common settings for all configurations
+    ! Fixed the SupressWarnings by adding the corresponding field to OptionsNode
+    * Wrote documentation in docs/readme.txt
+    * Added Dan Moorehead to copyrights and extended date from 2004 to 2004-2005
+    * Updated prebuild.xml
+    * Optimized Log class
+    * Updated OutputUsage()
+    * /clean targets all by default
+    * No log file is used by default, /log without value specified uses default file name
+    + Added support for the /pause which pauses the utility after execution to observe output
+
+
+[ September 27, 2004 - 0.12.2a ]
+    ! Fixed a nasty bug when trying to delete our temp file for pre-processing.
+
+[ September 15, 2004 - 0.12.2 ]
+    + Expanded platform identification, thanks to the NAnt guys for shedding some
+      light on how to properly check for UNIX platforms! Thanks guys!
+    * POSIX OS identifier changed to UNIX. Valid OS names are now "Win32", "UNIX",
+      and "Unknown".
+    ! Fixed SharpDevelop target to properly use the 'rootNamespace' attribute of
+      the Project tag.
+    + New command-line switch, /ppo, forces DNPB to pre-process the file and write
+      the pre-processed file. This allows you to test/debug your pre-processor
+      macros. No other processing will be done. You can specify a target file as
+      a paramter for the /ppo switch, or DNPB will write the file 'preprocessed.xml'
+      if you do not specify a file.
+    + The Match tag now has a 'buildAction' attribute which functions exactly like
+      the attribute of the same name for the File tag.
+
+[ August 5, 2004 - 0.12.1 ]
+    + Added environment variable expansion for all values. Environment variables
+      should be listed in the form ${VAR}.
+
+[ July 30, 2004 - 0.12.0 ]
+    + Added preprocessing via XML processing information tags. Available tags
+      are: <?if <exp> ?>, <?elseif <exp> ?>, <?else ?> and <?endif ?>. The
+      current expression parser is very basic, but will be replaced with a more
+      capable parser over time. Current operators available are: =, !=, <, >,
+      <=, >=. Current test variables available: OS, RuntimeVersion, RuntimeMajor,
+      RuntimeMinor, RuntimeRevision.
+
+[ July 27, 2004 - 0.11.4 ]
+    + Added 'useRegex' attribute to the Match tag. Matches can now use regular
+      expressions to match filenames.
+    + Added the 'assemblyName' attribute to the Project tag. Projects can now
+      set their output assembly name.
+    ! Fixed several bugs in the way that Project tags inheirt their parent
+      Solutions configuration options. This operation should now work fully as
+      intended.
+    ! Due to some wierdness, Project Guid's are now stored as part of the Project
+      node and created at parse time.
+
+[ May 11, 2004 - 0.11.3 ]
+    ! Fixed a bug where I was writing the wrong property name for a projects root
+      namespace.
+    ! Removed a DEBUG statement I had left in the code in 0.11.2.
+    ! Fixed a bug in the VS2002 writer which caused the version variables to not
+      be overriden correctly.
+    + Added the rootNamespace property to the <Project> element, allowing you to
+      specify the root namespace.
+    * /target and /clean are now mutually exclusive command line switches, and
+      they both now take the all option. In the case of /target all, all build
+      file for all targets will be created. In the case of /clean all, the user
+      will be prompted to make sure they want to do it, and if so, will clean
+      all build files for all targets.
+
+[ April 22, 2004 - 0.11.2 ]
+    ! Fixed a bug with the /file command-line operator. Was using the unresolved
+      file path rather then the resolved one, was making the attempt to open the
+      dnpb file fail.
+    ! Fixed a bug in the schema that required at least 1 solution and 1 reference
+      path. We can do just fine with 0 of either of these. Some files may be all
+      <Process> statements and not have any <Solution> tags.
+    ! Fixed a bug that caused the project references not to be written with the
+      SharpDevelop target.
+    * Changed the schema to version 1.2, allowing for Configuration nodes to exist
+      under project nodes. The inheritance of values is hierarchical. Meaning, if
+      you define a configuration named Debug at the Soltion level, and one by the
+      same name at the Project level, the one at the Project level will first
+      inherit the options of the Solution level configuration, then set it's own
+      options. If you define a configuration at the Project level and it does not
+      exist at the Solution level, it will be created at the Solution level.
+    * Project references should now work correctly across the board. Note that due
+      to a restriction in Visual Studio, you can only reference projects in the same
+      solution.
+
+[ April 21, 2004 - 0.11.1 ]
+    ! Fixed a problem with resolving paths in various targets. Was not properly
+      setting the CWD.
+    * Schema updated to 1.1, moving the ReferencePath element from the Options
+      element to the Project element. This makes more logical sense, given that
+      reference paths are resolved relative to the project path. Any prebuild.xml
+      file referecning verison 1.0 will fail! Please update to the 1.1 schema.
+
+[ April 19, 2004 - 0.11.0 ]
+    * Added several attributes across the code to make FxCop happy
+    ! Fixed bugs in reference paths being written in the VS targets.
+    ! Fixed a bug in ProjectNode which was doing two CWDStack.Push() calls instead of
+      a Push/Pop pair. Was wreaking havoc with <Process> tags.	
+    ! Fixed some bugs in the path tracking, both the Project and Solution nodes now
+      have a FullPath property, which is the full path to the file resolved at load
+      time. This should fix all path relativity problems.
+    + Added new /clean switch, allowing the target to clean up any files it generated.
+      in accordance, the ITarget interface has been updated to support a new Clean()
+      method.
+    + Completed addition of the <Process> tag, to allow the referencing of external
+      prebuild.xml files.
+    + Added the runtime attribute to the Project element. This allows the developer
+      to specify which runtime a project should target (Mono or Microsoft). This is
+      of course ignored in certain targets like the Visual Studio targets.
+    + Added the SharpDevelop target.
+
+[ April 13, 2004 - 0.10.1a ]
+    + Added the buildAction attribute to the File node. This is needed for dnpb
+    to even be able to bootstrap itself (dnpb-1.0.xsd must be an embedded resource)
+
+[ April 13, 2004 - 0.10.1 ]
+    * First Release
+
+[ Key ]
+* = Change or information
++ = Addition
+! = Bug Fix
+

+ 274 - 0
Prebuild/README

@@ -0,0 +1,274 @@
+Prebuild Instructions
+
+Prebuild is an XML-driven pre-build tool allowing developers to easily generate project or make files for major IDE's and .NET development tools including: Visual Studio 2005, Visual Studio 2003, Visual Studio 2002, SharpDevelop, SharpDevelop2, MonoDevelop, and NAnt.
+
+_______________________________________________________________________________
+Overview
+
+Prebuild can be either be run from the command line to generate the
+project and make files or you can execute the included batch (*.bat)
+and Unix Shell script (*.sh) files.
+
+_______________________________________________________________________________
+The currently supported developement tools and their associated batch
+and shell script files.
+
+Visual Studio .NET 2005 (VS2005.bat)
+Visual Studio .NET 2003 (VS2003.bat)
+Visual Studio .NET 2002 (VS2002.bat)
+SharpDevelop (SharpDevelop.bat) - http://www.icsharpcode.net/OpenSource/SD/
+SharpDevelop2 (SharpDevelop.bat) - http://www.icsharpcode.net/OpenSource/SD/
+MonoDevelop (MonoDevelop.sh) - http://www.monodevelop.com/
+NAnt (nant.sh and nant.bat) - http://nant.sourceforge.net/
+Autotools (autotools.bat and autotools.sh) - http://en.wikipedia.org/wiki/GNU_build_system
+
+Notes:
+
+A Unix Shell script is provided for MonoDevelop, as it does not run on
+Windows at this time.
+
+Visual Studio .NET 2005 and the Visual Express IDE's can import
+solutions from older versions of Visual Studio .NET.
+
+Makefiles are not currently supported.
+
+_______________________________________________________________________________
+Command Line Syntax:
+ 
+Example:
+> Prebuild /target vs2003
+
+This will generate the project files for Visual Studio.NET 2003 and
+place the redirect the log to a file named PrebuildLog.txt in the
+parent directory
+
+
+The syntax structure is as below, where commandParameter is optional
+depending on the command and you can provide several option-value
+pairs.
+
+Note: The '> ' signifies the command prompt, do not enter this literally
+
+> Prebuild /<option> <commandParameter>
+
+> Prebuild /target vs2003 /pause
+
+> Prebuild /target vs2003 /log ../Log.txt /pause /ppo /file ProjectConfig.xml
+
+> Prebuild /target sharpdev /log
+
+> Prebuild /removedir obj|bin
+
+> Prebuild /target vs2003 /allowedgroups Group1|Group2
+
+> Prebuild /clean
+
+> Prebuild /clean /yes
+
+> Prebuild /clean vs2003
+
+_______________________________________________________________________________
+Command Line Options:
+
+/usage - Shows the help information on how to use Prebuild and what
+the different options are and what they do
+
+/clean - The project files generated for the target type specified as
+a parameter for this option will be deleted.  If no value is specified
+or if 'all' is specified, then project files for all the target types
+will be deleted.
+
+/target - Specified the name of the development tool for which project
+or make files will be generated.  Possible parameter values include:
+vs2003, vs2002, sharpdev
+
+/file - Specifies the name of the XML which defines what files are to
+be referenced by the generated project files as well as configures the
+options for them.  If not specified, prebuild.xml in the current
+directory will be used as the default.
+
+/log - Specified the log file that should be written to for build
+errors.  If this option is not specified, no log file is generated,
+but if just no value is specified, then the defaul filename will be
+used for the log (Prebuild.log).
+
+/ppo - Preprocesses the xml file to test for syntax errors or problems
+but doesn't generate the files
+
+/pause - Shows the console until you press a key so that you can view
+the messages written while performing the specified actions.
+
+This allows you to check if an errors occurred and - if so - what it
+was.
+
+/showtargets - Shows a list of all the targets that can be specified
+as values for the /clean and /target commands.
+
+/allowedgroups - This is followed by a pipe-delimited list of project
+group filter flags (eg. Group1|Group2) allow optional filtering of all
+projects that dont have at least one of these flags
+
+/removedir - This is followed by a pipe-delimited list of directory
+names that will be deleted while recursivly searching the directory of
+the prebuild application and its child directories (eg. use obj|bin to
+delete all output and temporary directories before file releases)
+
+/yes - Answer yes to any warnings (e.g. when cleaning all projects).
+
+_______________________________________________________________________________
+Example Batch Files and Shell Scripts
+
+NOTE: Common batch and shell script files are included with Prebuild source and file releases.
+______________________________
+MonoDevelop
+
+#!/bin/sh
+# Generates a solution (.mds) and a set of project files (.mdp) 
+
+# for MonoDevelop, a Mono port of SharpDevelop
+#  (http://icsharpcode.net/OpenSource/SD/Default.aspx)
+
+./Prebuild /target monodev /pause
+
+______________________________
+Visual Studio .NET 2003
+
+@rem Generates a solution (.sln) and a set of project files (.csproj) 
+@rem for Microsoft Visual Studio .NET 2002
+Prebuild /target vs2003 /pause
+
+Notes:
+Text after lines that start with @rem are comments and are not evaluated
+You can also place pause on the last line instead of specifing the /pause command.
+
+_______________________________________________________________________________
+Example XML Configuration File
+
+Note:
+
+XML Comments (<!-- Comment -->) are used to markup the prebuild.xml
+file with notes
+
+The below file may be out-of-date, however the RealmForge Prebuild
+file serves as an up-to-date and extensive example.
+
+It can be viewed using Tigris.org's WebSVN
+(http://realmforge.tigris.org/source/browse/realmforge/trunk/src/prebuild.xml)
+by just clicking on the "view file" link for the latest revision.
+
+_________________________________
+
+<?xml version="1.0" encoding="utf-8"?>
+    <!--The version of the XML schema specified in the version and xmlns attributes should match the one for which the version of Prebuild.exe used was compiled for.  In this example it is the version 1.3 schema, you can find the XSD schema file at the url specified in the xmlns attribute. -->
+<Prebuild version="1.6" xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.6.xsd">
+	<Solution name="RealmForge"> <!--The title and file name for the solution, combine, workspace, or project group (depending on what development tool you are using)-->
+                       <!--Configurations found as children of Solution are used as templates for the configurations found in the project, this allows you to avoid writing the same options in each project (and maintaining each of these).  You can provide defaults and then override them in the configurations defined for each project. All options are optional.-->
+		<Configuration name="Debug">
+			<Options>
+				<!-- simple logically expressions can be evaluated, if, else, elseif, and endif are valid statements.  Note that it is not neccisary to define POSIX or WIN32 -->
+				<?if OS = "Win32" ?>
+					<CompilerDefines>DEBUG;TRACE;WIN32</CompilerDefines>
+				<?else ?>
+					<CompilerDefines>DEBUG;TRACE;POSIX</CompilerDefines>
+				<?endif ?>
+				<OptimizeCode>false</OptimizeCode>
+				<CheckUnderflowOverflow>false</CheckUnderflowOverflow>
+				<AllowUnsafe>false</AllowUnsafe>
+				<WarningLevel>4</WarningLevel>   
+				<!-The filter for the number of warnings or errors shown and the tolerance level as to what is an error. This is value from 0 to 4 where 4 is the most strict (least tolerent).-->
+
+				<WarningsAsErrors>false</WarningsAsErrors>
+				<SuppressWarnings>1591;219;1573;1572;168</SuppressWarnings> 
+ 				<!-- A semicolon ';'  delimited list of the warnings that are filtered and not shown in the output window during compiling a project.  Only include the number portion of the warning codes that are shown in output during compilation (eg CS1591, should be entered as 1591)-->
+
+				<OutputPath>..\bin</OutputPath>
+				<DebugInformation>true</DebugInformation>
+				<RegisterComInterop>false</RegisterComInterop>
+				<IncrementalBuild>true</IncrementalBuild>
+				<BaseAddress>285212672</BaseAddress>
+				<FileAlignment>4096</FileAlignment>
+				<NoStdLib>false</NoStdLib>
+				<XmlDocFile>Docs.xml</XmlDocFile>
+			</Options>
+		</Configuration>
+		<Configuration name="Release"> <!-- You can define multple configurations that projects can have, but there is no way to define which one is selected by default as this is a part of the user preferences for a project, not the solution or project files -->
+			<Options>
+				<CompilerDefines>TRACE</CompilerDefines>
+				<OptimizeCode>true</OptimizeCode>
+				<CheckUnderflowOverflow>false</CheckUnderflowOverflow>
+				<AllowUnsafe>false</AllowUnsafe>
+				<WarningLevel>4</WarningLevel>
+				<WarningsAsErrors>false</WarningsAsErrors>
+				<SuppressWarnings>1591;219;1573;1572;168</SuppressWarnings>
+				<OutputPath>..\bin</OutputPath>
+				<DebugInformation>false</DebugInformation>
+				<RegisterComInterop>false</RegisterComInterop>
+				<IncrementalBuild>true</IncrementalBuild>
+				<BaseAddress>285212672</BaseAddress>
+				<FileAlignment>4096</FileAlignment>
+				<NoStdLib>false</NoStdLib>
+				<GenerateXmlDocFile>true</GenerateXmlDocFile>
+				<XmlDocFile>Docs.xml</XmlDocFile>				
+			</Options>
+		</Configuration>
+
+		<!-- One of the projects that is included in the Solution -->
+		<Project name="RealmForge.Utility" Language="VisualBasic" path="Utility" type="Library" assemblyName="RealmForge.Utility" rootNamespace="RealmForge">
+			<Configuration name="Debug">
+				<Options>
+					<OutputPath>..\bin\lib\Utility</OutputPath>
+					<XmlDocFile>RealmForge.Utility.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<Configuration name="Release">
+				<Options>
+					<OutputPath>..\bin\lib\Utility</OutputPath>
+					<XmlDocFile>RealmForge.Utility.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<ReferencePath>../bin</ReferencePath>
+			<Reference name="System"/>
+			<Reference name="System.Data"/> 
+			<Reference name="System.Drawing"/>
+			<Reference name="System.Xml"/>
+			<Reference name="System.Runtime.Serialization.Formatters.Soap"/>
+			<Reference name="ICSharpCode.SharpZipLib"/>
+			<Files>
+				<Match path="." pattern="*.vb" recurse="true"/>
+			</Files>
+		</Project>
+
+		<!-- Another projects that is included in the Solution -->
+		<Project name="DemoGame" Language="C#" path="DemoGame" type="WinExe" icon="..\bin\RealmForge.ico" assemblyName="DemoGame" rootNamespace="RealmForge">
+				<!-- icon is used to define the location of the .ico file that is embeeded in the assembly when the project is compiled.  This is relative to the project path -->
+				<!--type defines the type of project, valid types are Library (.dll), WinExe (.exe), and Exe (.exe).  WinExe is not windows specific, it just defines that it is a GUI application and that no Console or Command window will show when it is started-->
+
+			<Configuration name="Debug">
+				<Options>
+					<OutputPath>..\bin</OutputPath>
+					<XmlDocFile>DemoGame.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<Configuration name="Release">
+				<Options>
+					<OutputPath>..\bin</OutputPath>
+					<XmlDocFile>DemoGame.xml</XmlDocFile>		
+				</Options>
+			</Configuration>
+			<ReferencePath>../bin</ReferencePath>
+			<Reference name="System"/> <!-- Assemblies that are located in the GAC (installed, global) can be referenced-->
+			<Reference name="ode"/>  <!-- Assemblies that are located in the output directory to which the file is built can be referenced -->
+			<Reference name="RealmForge.Utility"/> <!-- When you reference the name of another project, then that project (and it's output) will be referenced instead of looking for a pre-built assembly-->
+			<Files>
+				<Match path="." pattern="*.cs" recurse="true"/>
+				<Match path="." pattern="*.bmp" recurse="true" buildAction="EmbeddedResource"/>
+				<Match path="." pattern="[^a]*\.(png|jpg)" useRegex="true" buildAction="EmbeddedResource"/>
+				
+				<!-- Uses a regex or regular expression to find all files that end with .png or .jpg but dont have the letter 'a' in their name and add them to the project as EmbeddedResource's.  Because recurse enabled (default is false), only the values in the files in that are directly in the project directory (not child directories) are checked.-->
+				<!--EmbeddedResource, Content, and Compile are valid buildAction's-->
+			</Files>
+		</Project>
+		
+	</Solution>
+</Prebuild>
+

+ 18 - 0
Prebuild/THANKS

@@ -0,0 +1,18 @@
+Gryc Ueusp <[email protected]>
+
+  caught a problem with the NAnt target's .build output which caused
+  the Ubuntu build servers to choke on prebuild-generated packages
+
+Todd Berman <[email protected]>
+Lluis Sanchez Gual <[email protected]>
+
+  pkg-config .pc file parser used in AutotoolsTarget.cs was ripped off
+  from work contributed to MonoDevelop by Lluis and Todd.  It came
+  from
+
+src/core/MonoDevelop.Core/MonoDevelop.Core/SystemPackage.cs (Lluis)
+
+  and
+
+src/core/MonoDevelop.Core/MonoDevelop.Core/SystemAssemblyService.cs
+  (Lluis && Todd)

+ 43 - 0
Prebuild/TODO

@@ -0,0 +1,43 @@
+* monodev target should be able to detect whether the project is 1.x
+  or 2.x runtime
+
+* remove target which links ../project/foo.dll to each project's build
+  root
+
+* generate .config files
+
+* Fix the autotools target so that
+sub generate_project_files { ... }
+sub generate_solution_files { ... }
+sub generate_multi_solution_files { ... }
+sub generate_project {
+  ...
+  generate_project_files();
+}
+sub generate_solution {
+  foreach $project ( @projects ){
+    mkdir "$project/";
+    pushd "$project/";
+    generate_project();
+    popd;
+  }
+  generate_solution_files();
+}
+sub generate_multi_solution {
+  foreach $solution ( @solutions ){
+    mkdir "$solution/";
+    pushd "$solution/";
+    generate_solution();
+    popd;
+  }
+  generate_multi_solution_files();
+}
+
+if(numProjects == 1){
+  generate_project();
+}elsif(numSolutions == 1){
+  generate_solution();
+}else{
+  generate_multi_solution();
+}
+

+ 1 - 0
Prebuild/clean.bat

@@ -0,0 +1 @@
+NAnt.exe clean

+ 1 - 0
Prebuild/clean.sh

@@ -0,0 +1 @@
+nant clean

+ 35 - 0
Prebuild/doc/.svn/all-wcprops

@@ -0,0 +1,35 @@
+K 25
+svn:wc:ra_dav:version-url
+V 45
+/svnroot/dnpb/!svn/ver/153/trunk/Prebuild/doc
+END
+prebuild-example1.xml
+K 25
+svn:wc:ra_dav:version-url
+V 67
+/svnroot/dnpb/!svn/ver/100/trunk/Prebuild/doc/prebuild-example1.xml
+END
+prebuild-example2.xml
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svnroot/dnpb/!svn/ver/97/trunk/Prebuild/doc/prebuild-example2.xml
+END
+prebuild-example3.xml
+K 25
+svn:wc:ra_dav:version-url
+V 67
+/svnroot/dnpb/!svn/ver/100/trunk/Prebuild/doc/prebuild-example3.xml
+END
+prebuild-example4.xml
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svnroot/dnpb/!svn/ver/97/trunk/Prebuild/doc/prebuild-example4.xml
+END
+prebuild-example5.xml
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svnroot/dnpb/!svn/ver/99/trunk/Prebuild/doc/prebuild-example5.xml
+END

+ 5 - 0
Prebuild/doc/.svn/dir-prop-base

@@ -0,0 +1,5 @@
+K 10
+svn:ignore
+V 5
+*.swp
+END

+ 198 - 0
Prebuild/doc/.svn/entries

@@ -0,0 +1,198 @@
+10
+
+dir
+323
+https://dnpb.svn.sourceforge.net/svnroot/dnpb/trunk/Prebuild/doc
+https://dnpb.svn.sourceforge.net/svnroot/dnpb
+
+
+
+2006-09-08T16:00:28.737339Z
+153
+jendave
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+3355ff64-970d-0410-bbe8-d0fbd18be4fb
+
+prebuild-example1.xml
+file
+
+
+
+
+2010-09-10T22:51:45.000000Z
+269ac712fc217a7089e20814b745f795
+2006-02-28T23:34:17.574397Z
+100
+jendave
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+11393
+
+prebuild-example2.xml
+file
+
+
+
+
+2010-09-10T22:51:45.000000Z
+6c1661ff5b85340a3b46029f9db227dd
+2006-02-28T18:35:03.849682Z
+97
+jendave
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+2478
+
+prebuild-example3.xml
+file
+
+
+
+
+2010-09-10T22:51:45.000000Z
+c0110f3960385a9ab2bc42d8a0e896dd
+2006-02-28T23:34:17.574397Z
+100
+jendave
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+6557
+
+prebuild-example4.xml
+file
+
+
+
+
+2010-09-10T22:51:45.000000Z
+19099aca218b707397307e59eccccf94
+2006-02-28T18:35:03.849682Z
+97
+jendave
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+29159
+
+prebuild-example5.xml
+file
+
+
+
+
+2010-09-10T22:51:45.000000Z
+b55f1c716d581bb711ae1ea0f8f3a239
+2006-02-28T23:25:30.475451Z
+99
+jendave
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+6482
+

+ 9 - 0
Prebuild/doc/.svn/prop-base/prebuild-example1.xml.svn-base

@@ -0,0 +1,9 @@
+K 13
+svn:eol-style
+V 6
+native
+K 12
+svn:keywords
+V 23
+Author Date Id Revision
+END

+ 9 - 0
Prebuild/doc/.svn/prop-base/prebuild-example2.xml.svn-base

@@ -0,0 +1,9 @@
+K 13
+svn:eol-style
+V 6
+native
+K 12
+svn:keywords
+V 23
+Author Date Id Revision
+END

+ 9 - 0
Prebuild/doc/.svn/prop-base/prebuild-example3.xml.svn-base

@@ -0,0 +1,9 @@
+K 13
+svn:eol-style
+V 6
+native
+K 12
+svn:keywords
+V 23
+Author Date Id Revision
+END

+ 9 - 0
Prebuild/doc/.svn/prop-base/prebuild-example4.xml.svn-base

@@ -0,0 +1,9 @@
+K 13
+svn:eol-style
+V 6
+native
+K 12
+svn:keywords
+V 23
+Author Date Id Revision
+END

+ 300 - 0
Prebuild/doc/.svn/text-base/prebuild-example1.xml.svn-base

@@ -0,0 +1,300 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Prebuild version="1.6" xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.6.xsd">
+	<Solution name="RealmForge">
+		<Configuration name="Debug">
+			<Options>
+				<CompilerDefines>TRACE;DEBUG</CompilerDefines>
+				<OptimizeCode>false</OptimizeCode>
+				<CheckUnderflowOverflow>false</CheckUnderflowOverflow>
+				<AllowUnsafe>false</AllowUnsafe>
+				<WarningLevel>4</WarningLevel>
+				<WarningsAsErrors>false</WarningsAsErrors>
+				<SuppressWarnings>1591;219;1573;1572;168</SuppressWarnings>
+				<OutputPath>..\bin</OutputPath>
+				<DebugInformation>true</DebugInformation>
+				<RegisterComInterop>false</RegisterComInterop>
+				<IncrementalBuild>true</IncrementalBuild>
+				<BaseAddress>285212672</BaseAddress>
+				<FileAlignment>4096</FileAlignment>
+				<NoStdLib>false</NoStdLib>
+				<XmlDocFile>Docs.xml</XmlDocFile>
+			</Options>
+		</Configuration>
+		<Configuration name="Release">
+			<Options>
+				<CompilerDefines>TRACE</CompilerDefines>
+				<OptimizeCode>true</OptimizeCode>
+				<CheckUnderflowOverflow>false</CheckUnderflowOverflow>
+				<AllowUnsafe>false</AllowUnsafe>
+				<WarningLevel>4</WarningLevel>
+				<WarningsAsErrors>false</WarningsAsErrors>
+				<SuppressWarnings>1591;219;1573;1572;168</SuppressWarnings>
+				<OutputPath>..\bin</OutputPath>
+				<DebugInformation>false</DebugInformation>
+				<RegisterComInterop>false</RegisterComInterop>
+				<IncrementalBuild>true</IncrementalBuild>
+				<BaseAddress>285212672</BaseAddress>
+				<FileAlignment>4096</FileAlignment>
+				<NoStdLib>false</NoStdLib>
+				<XmlDocFile>Docs.xml</XmlDocFile>				
+			</Options>
+		</Configuration>
+
+		<Project name="RealmForge.Utility" path="Utility" type="Library" assemblyName="RealmForge.Utility" rootNamespace="RealmForge">
+			<Configuration name="Debug">
+				<Options>
+					<OutputPath>..\bin\lib\Utility</OutputPath>
+					<XmlDocFile>RealmForge.Utility.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<Configuration name="Release">
+				<Options>
+					<OutputPath>..\bin\lib\Utility</OutputPath>
+					<XmlDocFile>RealmForge.Utility.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<ReferencePath>../bin</ReferencePath>
+			<Reference name="System"/>
+			<Reference name="System.Data"/> 
+			<Reference name="System.Drawing"/>
+			<Reference name="System.Xml"/>
+			<Reference name="System.Runtime.Serialization.Formatters.Soap"/>
+			<Reference name="ICSharpCode.SharpZipLib"/>
+			<Files>
+				<Match pattern="*.cs" recurse="true"/>
+			</Files>
+		</Project>
+
+		<Project name="RealmForge.Framework" path="Framework" type="Library" assemblyName="RealmForge.Framework" rootNamespace="RealmForge">
+			<Configuration name="Debug">
+				<Options>
+					<OutputPath>..\bin\lib\Framework</OutputPath>
+					<XmlDocFile>RealmForge.Framework.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<Configuration name="Release">
+				<Options>
+					<OutputPath>..\bin\lib\Framework</OutputPath>
+					<XmlDocFile>RealmForge.Framework.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<ReferencePath>../bin</ReferencePath>
+			<Reference name="System"/>
+			<Reference name="System.Data"/> 
+			<Reference name="System.Xml"/>
+			<Reference name="System.Windows.Forms"/>
+			<Reference name="System.Drawing"/>
+			<Reference name="Axiom.MathLib"/>
+			<Reference name="RealmForge.Utility"/>
+			<Reference name="Tao.OpenAl"/>
+			<Reference name="ICSharpCode.SharpZipLib"/>
+			<Reference name="csogg"/>
+			<Reference name="csvorbis"/>
+			<Files>
+				<Match pattern="*.cs" recurse="true"/>
+				<Match pattern="*.txt" recurse="true"/>
+			</Files>
+		</Project>
+
+		<Project name="RealmForge.Genres" path="Genres" type="Library" assemblyName="RealmForge.Genres" rootNamespace="RealmForge">
+			<Configuration name="Debug">
+				<Options>
+					<OutputPath>..\bin\lib\Genres</OutputPath>
+					<XmlDocFile>RealmForge.Genres.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<Configuration name="Release">
+				<Options>
+					<OutputPath>..\bin\lib\Genres</OutputPath>
+					<XmlDocFile>RealmForge.Genres.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<ReferencePath>../bin</ReferencePath>
+			<Reference name="System"/>
+			<Reference name="System.Data"/> 
+			<Reference name="System.Xml"/>
+			<Reference name="System.Windows.Forms"/>
+			<Reference name="System.Drawing"/>
+			<Reference name="Axiom.MathLib"/>
+			<Reference name="RealmForge.Utility"/>
+			<Reference name="RealmForge.Framework"/>
+			<Files>
+				<Match pattern="*.cs" recurse="true"/>
+			</Files>
+		</Project>
+				
+		<Project name="RealmForge.UI.Forms" path="Forms" type="Library" assemblyName="RealmForge.UI.Forms" rootNamespace="RealmForge">
+			<Configuration name="Debug">
+				<Options>
+					<OutputPath>..\bin\lib\Forms</OutputPath>	
+					<XmlDocFile>RealmForge.UI.Forms.xml</XmlDocFile>
+					<AllowUnsafe>true</AllowUnsafe>
+				</Options>
+			</Configuration>
+			<Configuration name="Release">
+				<Options>
+					<OutputPath>..\bin\lib\Forms</OutputPath>
+					<XmlDocFile>RealmForge.UI.Forms.xml</XmlDocFile>
+					<AllowUnsafe>true</AllowUnsafe>
+				</Options>
+			</Configuration>
+			<ReferencePath>../bin</ReferencePath>
+			<Reference name="System"/>
+			<Reference name="System.Drawing"/>
+			<Reference name="System.Data"/>
+			<Reference name="System.Design"/>
+			<Reference name="System.Windows.Forms"/>
+			<Reference name="System.Xml"/>
+			<Reference name="Axiom.MathLib"/>
+			<Reference name="wx.NET"/>
+			<Reference name="RealmForge.Framework"/>
+			<Reference name="RealmForge.Utility"/>
+			<Files>
+				<File buildAction="EmbeddedResource">IDE\Resources\ImagesCaptionIDE.bmp</File>
+				<File buildAction="EmbeddedResource">IDE\Resources\ImagesCaptionPlain.bmp</File>
+				<File buildAction="EmbeddedResource">IDE\Resources\ImagesMenuControl.bmp</File>
+				<File buildAction="EmbeddedResource">IDE\Resources\ImagesPopupMenu.bmp</File>
+				<File buildAction="EmbeddedResource">IDE\Resources\ImagesTabbedGroups.bmp</File>
+				<File buildAction="EmbeddedResource">IDE\Resources\ImagesTabControl.bmp</File>
+				<File buildAction="EmbeddedResource">IDE\Resources\LibraryIcon.ico</File>
+				<File buildAction="EmbeddedResource">IDE\Resources\TabbedInvalid.cur</File>
+				<File buildAction="EmbeddedResource">IDE\Resources\TabbedValid.cur</File>
+				<File buildAction="EmbeddedResource">IDE\Resources\WizardPicture.bmp</File>
+				<File buildAction="EmbeddedResource">Controls\Trees\tv_minus.bmp</File>
+				<File buildAction="EmbeddedResource">Controls\Trees\tv_plus.bmp</File>
+				<File buildAction="EmbeddedResource">Controls\Trees\treeview.bmp</File>
+				<File buildAction="EmbeddedResource">Controls\Trees\listview.bmp</File>
+				<File buildAction="EmbeddedResource">IDE\Menus\MenuControl.bmp</File>
+				<File buildAction="EmbeddedResource">IDE\Controls\InertButton.bmp</File>
+				<File buildAction="EmbeddedResource">IDE\Controls\TabbedGroups.bmp</File>
+				<File buildAction="EmbeddedResource">IDE\Controls\TabCOntrol.bmp</File>
+				<File buildAction="EmbeddedResource">IDE\Controls\WizardControl.bmp</File>
+				<File buildAction="EmbeddedResource">Forms\IDETest.resx</File>
+				<File buildAction="EmbeddedResource">Forms\IDEWindow.resx</File>
+				<File buildAction="EmbeddedResource">Forms\Launcher.resx</File>
+				<File buildAction="EmbeddedResource">Forms\MainRenderFrame.resx</File>
+				<Match pattern="*.cs" recurse="true"/>
+			</Files>
+		</Project>
+		
+		<Project name="RealmForge.RAGE" path="RAGE" type="Library" assemblyName="RealmForge.RAGE" rootNamespace="RealmForge">
+			<Configuration name="Debug">
+				<Options>
+					<OutputPath>..\bin\lib\RAGE</OutputPath>	
+					<XmlDocFile>RealmForge.RAGE.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<Configuration name="Release">
+				<Options>
+					<OutputPath>..\bin\lib\RAGE</OutputPath>
+					<XmlDocFile>RealmForge.RAGE.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+				<ReferencePath>../bin</ReferencePath>
+				<ReferencePath>../bin</ReferencePath>
+				<Reference name="System"/>
+				<Reference name="System.XML"/>
+				<Reference name="System.Windows.Forms"/>
+				<Reference name="System.Drawing"/>
+				<Reference name="Axiom.Plugins.CgProgramManager"/>
+				<Reference name="Axiom.Engine"/>
+				<Reference name="Axiom.MathLib"/>
+				<Reference name="Axiom.Plugins.ParticleFX"/>
+				<Reference name="Axiom.Platforms.Win32"/>
+				<Reference name="Axiom.RenderSystems.DirectX9"/>
+				<Reference localCopy="false" name="Axiom.RenderSystems.OpenGL"/>
+				<Reference name="Axiom.SceneManagers.Octree"/>
+				<Reference name="ICSharpCode.SharpZipLib"/>
+				<Reference name="System.Data"/>
+				<Reference name="RealmForge.Framework"/>
+				<Reference name="RealmForge.Utility"/>
+				<Reference name="ode"/>
+			<Files>
+				<Match pattern="*.cs" recurse="true"/>
+			</Files>
+		</Project>
+
+
+		<Project name="RealmForge.ScriptLibrary" path="ScriptLibrary" type="Library" assemblyName="RealmForge.ScriptLibrary" rootNamespace="RSL">
+			<Configuration name="Debug">
+				<Options>
+					<OutputPath>..\bin\ScriptLibrary</OutputPath>
+					<XmlDocFile>RealmForge.ScriptLibrary.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<Configuration name="Release">
+				<Options>
+					<OutputPath>..\bin\ScriptLibrary</OutputPath>
+					<XmlDocFile>RealmForge.ScriptLibrary.xml</XmlDocFile>	
+				</Options>
+			</Configuration>
+			<ReferencePath>../bin</ReferencePath>
+			<Reference name="System"/>
+			<Reference name="System.XML"/>
+			<Reference name="System.Windows.Forms"/>
+			<Reference name="System.Drawing"/>
+			<Reference name="Axiom.MathLib"/>
+			<Reference name="wx.NET"/>
+			<Reference name="RealmForge.UI.Forms"/>
+			<Reference name="RealmForge.RAGE"/>
+			<Reference name="RealmForge.Framework"/>
+			<Reference name="RealmForge.Utility"/>
+			<Files>
+				<Match pattern="*.cs" recurse="true"/>
+			</Files>
+		</Project>
+
+		
+		<Project name="Updater" path="Updater" type="WinExe" icon="..\bin\Updater.ico" assemblyName="Updater" rootNamespace="RealmForge">
+			<Configuration name="Debug">
+				<Options>
+					<OutputPath>..\bin\lib\Updater</OutputPath>
+					<XmlDocFile>Updater.xml</XmlDocFile>	
+				</Options>
+			</Configuration>
+			<Configuration name="Release">
+				<Options>
+					<OutputPath>..\bin\lib\Updater</OutputPath>
+					<XmlDocFile>Updater.xml</XmlDocFile>		
+				</Options>
+			</Configuration>
+			<ReferencePath>../bin</ReferencePath>
+			<Reference name="System"/>
+			<Reference name="RealmForge.UI.Forms"/>
+			<Reference name="RealmForge.Framework"/>
+			<Reference name="RealmForge.Utility"/>
+			<Files>
+				<Match pattern="*.cs" recurse="true"/>
+			</Files>
+		</Project>
+
+
+		<Project name="DemoGame" path="DemoGame" type="WinExe" icon="..\bin\RealmForge.ico" assemblyName="DemoGame" rootNamespace="RealmForge">
+			<Configuration name="Debug">
+				<Options>
+					<OutputPath>..\bin</OutputPath>
+					<XmlDocFile>DemoGame.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<Configuration name="Release">
+				<Options>
+					<OutputPath>..\bin</OutputPath>
+					<XmlDocFile>DemoGame.xml</XmlDocFile>		
+				</Options>
+			</Configuration>
+			<ReferencePath>../bin</ReferencePath>
+			<Reference name="System"/>
+			<Reference name="RealmForge.UI.Forms"/>
+			<Reference name="RealmForge.ScriptLibrary"/>
+			<Reference name="RealmForge.RAGE"/>
+			<Reference name="RealmForge.Framework"/>
+			<Reference name="RealmForge.Utility"/>
+			<Files>
+				<Match pattern="*.cs" recurse="true"/>
+			</Files>
+		</Project>
+		
+	</Solution>
+</Prebuild>
+
+	

+ 72 - 0
Prebuild/doc/.svn/text-base/prebuild-example2.xml.svn-base

@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<Prebuild xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.6.xsd">
+    <Solution name="Prebuild">
+	<Configuration name="Debug">
+	    <Options>
+		<?if OS = "Win32" ?>
+		<CompilerDefines>DEBUG;TRACE;WIN32;NET</CompilerDefines>
+		<?else ?>
+		<CompilerDefines>DEBUG;TRACE;POSIX</CompilerDefines>
+		<?endif ?>
+		<OptimizeCode>false</OptimizeCode>
+		<OutputPath>bin\Debug</OutputPath>
+		<DebugInformation>true</DebugInformation>
+		<SuppressWarnings>1595</SuppressWarnings>
+	    </Options>
+	</Configuration>
+	<Configuration name="Release">
+	    <Options>
+		<?if OS = "Win32" ?>
+		<CompilerDefines>TRACE;WIN32;NET</CompilerDefines>
+		<?else ?>
+		<CompilerDefines>TRACE;POSIX</CompilerDefines>
+		<?endif ?>
+		<OutputPath>bin\Release</OutputPath>
+		<OptimizeCode>true</OptimizeCode>
+		<DebugInformation>false</DebugInformation>
+		<SuppressWarnings>1595</SuppressWarnings>
+	    </Options>
+	</Configuration>
+	<Files>
+	    <File>prebuild.xml</File>
+	    <Match path="doc" pattern="*.txt"/>
+	</Files>
+	<Project name="Prebuild" path="src" language="C#" assemblyName="Prebuild" icon="App.ico" type="Exe" rootNamespace="Prebuild" startupObject="Prebuild.Prebuild">
+	    <Configuration name="Debug">
+		<Options>
+		    <?if OS = "Win32" ?>
+		    <CompilerDefines>DEBUG;TRACE;WIN32;NET</CompilerDefines>
+		    <?else ?>
+		    <CompilerDefines>DEBUG;TRACE;POSIX</CompilerDefines>
+		    <?endif ?>
+		    <OptimizeCode>false</OptimizeCode>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>Prebuild.xml</XmlDocFile>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <?if OS = "Win32" ?>
+		    <CompilerDefines>TRACE;WIN32;NET</CompilerDefines>
+		    <?else ?>
+		    <CompilerDefines>TRACE;POSIX</CompilerDefines>
+		    <?endif ?>
+		    <OutputPath>bin\Release</OutputPath>
+		    <OptimizeCode>true</OptimizeCode>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>Prebuild.xml</XmlDocFile>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System.Xml" />
+	    <Reference name="System" />
+	    <Files>
+		<Match pattern="App.ico" buildAction="EmbeddedResource"/>
+		<Match path="data" pattern="prebuild-1.6.xsd" buildAction="EmbeddedResource"/>
+		<Match pattern="*.cs" recurse="true"/>			
+	    </Files>
+	</Project>
+    </Solution>
+</Prebuild>

+ 113 - 0
Prebuild/doc/.svn/text-base/prebuild-example3.xml.svn-base

@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="utf-8"?>
+    <!--The version of the XML schema specified in the version and xmlns attributes should match the one for which the version of Prebuild.exe used was compiled for.  In this example it is the version 1.6 schema, you can find the XSD schema file at the url specified in the xmlns attribute. -->
+    <Prebuild version="1.6" xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.6.xsd">
+	<Solution name="RealmForge"> <!--The title and file name for the solution, combine, workspace, or project group (depending on what development tool you are using)-->
+                       <!--Configurations found as children of Solution are used as templates for the configurations found in the project, this allows you to avoid writing the same options in each project (and maintaining each of these).  You can provide defaults and then override them in the configurations defined for each project. All options are optional.-->
+		<Configuration name="Debug">
+			<Options>
+				<!-- simple logically expressions can be evaluated, if, else, elseif, and endif are valid statements.  Note that it is not neccisary to define POSIX or WIN32 -->
+				<?if OS = "Win32" ?>
+					<CompilerDefines>DEBUG;TRACE;WIN32</CompilerDefines>
+				<?else ?>
+					<CompilerDefines>DEBUG;TRACE;POSIX</CompilerDefines>
+				<?endif ?>
+				<OptimizeCode>false</OptimizeCode>
+				<CheckUnderflowOverflow>false</CheckUnderflowOverflow>
+				<AllowUnsafe>false</AllowUnsafe>
+				<WarningLevel>4</WarningLevel>   
+				<!--The filter for the number of warnings or errors shown and the tolerance level as to what is an error. This is value from 0 to 4 where 4 is the most strict (least tolerent).-->
+
+				<WarningsAsErrors>false</WarningsAsErrors>
+				<SuppressWarnings>1591;219;1573;1572;168</SuppressWarnings> 
+ 				<!-- A semicolon ';'  delimited list of the warnings that are filtered and not shown in the output window during compiling a project.  Only include the number portion of the warning codes that are shown in output during compilation (eg CS1591, should be entered as 1591)-->
+
+				<OutputPath>..\bin</OutputPath>
+				<DebugInformation>true</DebugInformation>
+				<RegisterComInterop>false</RegisterComInterop>
+				<IncrementalBuild>true</IncrementalBuild>
+				<BaseAddress>285212672</BaseAddress>
+				<FileAlignment>4096</FileAlignment>
+				<NoStdLib>false</NoStdLib>
+				<XmlDocFile>Docs.xml</XmlDocFile>
+			</Options>
+		</Configuration>
+		<Configuration name="Release"> <!-- You can define multple configurations that projects can have, but there is no way to define which one is selected by default as this is a part of the user preferences for a project, not the solution or project files -->
+			<Options>
+				<CompilerDefines>TRACE</CompilerDefines>
+				<OptimizeCode>true</OptimizeCode>
+				<CheckUnderflowOverflow>false</CheckUnderflowOverflow>
+				<AllowUnsafe>false</AllowUnsafe>
+				<WarningLevel>4</WarningLevel>
+				<WarningsAsErrors>false</WarningsAsErrors>
+				<SuppressWarnings>1591;219;1573;1572;168</SuppressWarnings>
+				<OutputPath>..\bin</OutputPath>
+				<DebugInformation>false</DebugInformation>
+				<RegisterComInterop>false</RegisterComInterop>
+				<IncrementalBuild>true</IncrementalBuild>
+				<BaseAddress>285212672</BaseAddress>
+				<FileAlignment>4096</FileAlignment>
+				<NoStdLib>false</NoStdLib>
+				<XmlDocFile>Docs.xml</XmlDocFile>				
+			</Options>
+		</Configuration>
+
+		<!-- One of the projects that is included in the Solution -->
+		<Project name="RealmForge.Utility" path="Utility" type="Library" assemblyName="RealmForge.Utility" rootNamespace="RealmForge">
+			<Configuration name="Debug">
+				<Options>
+					<OutputPath>..\bin\lib\Utility</OutputPath>
+					<XmlDocFile>RealmForge.Utility.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<Configuration name="Release">
+				<Options>
+					<OutputPath>..\bin\lib\Utility</OutputPath>
+					<XmlDocFile>RealmForge.Utility.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<ReferencePath>../bin</ReferencePath>
+			<Reference name="System"/>
+			<Reference name="System.Data"/> 
+			<Reference name="System.Drawing"/>
+			<Reference name="System.Xml"/>
+			<Reference name="System.Runtime.Serialization.Formatters.Soap"/>
+			<Reference name="ICSharpCode.SharpZipLib"/>
+			<Files>
+				<Match pattern="*.cs" recurse="true"/>
+			</Files>
+		</Project>
+
+		<!-- Another projects that is included in the Solution -->
+		<Project name="DemoGame" path="DemoGame" type="WinExe" icon="..\bin\RealmForge.ico" assemblyName="DemoGame" rootNamespace="RealmForge">
+				<!-- icon is used to define the location of the .ico file that is embeeded in the assembly when the project is compiled.  This is relative to the project path -->
+				<!--type defines the type of project, valid types are Library (.dll), WinExe (.exe), and Exe (.exe).  WinExe is not windows specific, it just defines that it is a GUI application and that no Console or Command window will show when it is started-->
+
+			<Configuration name="Debug">
+				<Options>
+					<OutputPath>..\bin</OutputPath>
+					<XmlDocFile>DemoGame.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<Configuration name="Release">
+				<Options>
+					<OutputPath>..\bin</OutputPath>
+					<XmlDocFile>DemoGame.xml</XmlDocFile>		
+				</Options>
+			</Configuration>
+			<ReferencePath>../bin</ReferencePath>
+			<Reference name="System"/> <!-- Assemblies that are located in the GAC (installed, global) can be referenced-->
+			<Reference name="ode"/>  <!-- Assemblies that are located in the output directory to which the file is built can be referenced -->
+			<Reference name="RealmForge.Utility"/> <!-- When you reference the name of another project, then that project (and it's output) will be referenced instead of looking for a pre-built assembly-->
+			<Files>
+				<!-- path defaults to . or the directory that prebuild.exe resides in -->
+				<Match path="." pattern="*.cs" recurse="true"/>
+				<Match pattern="*.bmp" recurse="true" buildAction="EmbeddedResource"/>
+				<Match pattern="[^a]*\.(png|jpg)" useRegex="true" buildAction="EmbeddedResource"/>
+				
+				<!-- Uses a regex or regular expression to find all files that end with .png or .jpg but dont have the letter 'a' in their name and add them to the project as EmbeddedResource's.  Because recurse enabled (default is false), only the values in the files in that are directly in the project directory (not child directories) are checked.-->
+				<!--EmbeddedResource, Content, and Compile are valid buildAction's-->
+			</Files>
+		</Project>
+		
+	</Solution>
+</Prebuild>

+ 715 - 0
Prebuild/doc/.svn/text-base/prebuild-example4.xml.svn-base

@@ -0,0 +1,715 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<Prebuild xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.6.xsd" version="1.6">
+    <Solution name="SdlDotNet">
+	<Configuration name="Debug">
+	    <Options>
+		<CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		<OptimizeCode>false</OptimizeCode>
+		<AllowUnsafe>false</AllowUnsafe>
+		<OutputPath>bin\Debug</OutputPath>
+		<DebugInformation>true</DebugInformation>
+		<WarningLevel>4</WarningLevel>
+		<SuppressWarnings>1595</SuppressWarnings>
+	    </Options>
+	</Configuration>
+	<Configuration name="Release">
+	    <Options>
+		<CompilerDefines>TRACE</CompilerDefines>
+		<OptimizeCode>true</OptimizeCode>
+		<AllowUnsafe>false</AllowUnsafe>
+		<OutputPath>bin\Release</OutputPath>
+		<DebugInformation>false</DebugInformation>
+		<WarningLevel>1</WarningLevel>
+		<SuppressWarnings>1595</SuppressWarnings>
+	    </Options>
+	</Configuration>
+	<Files>
+	    <File buildAction="Content">SdlDotNet.build</File>
+	    <File buildAction="Content">prebuild.xml</File>
+	</Files>
+	<Project name="SdlDotNet" path="src" language="C#" type="Library" assemblyName="SdlDotNet" rootNamespace="SdlDotNet">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>SdlDotNet.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <XmlDocFile>SdlDotNet.xml</XmlDocFile>
+		    <DebugInformation>false</DebugInformation>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" />
+	    <Reference name="System.Windows.Forms" />
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="Tao.Sdl" localCopy="true" path="..\\lib"/>
+	    <Files>
+		<Match path="." pattern="SurfaceControl.cs" subType="Component" recurse="true"/>
+		<Match path="." pattern="*.bmp" buildAction="EmbeddedResource" recurse="true"/>
+		<Match path="." pattern="*.cs" recurse="true">
+		    <Exclude name="SurfaceControl.cs"/>
+		</Match>
+	    </Files>
+	</Project>
+	<Project name="Rectangles" path="examples\\Rectangles" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.Rectangles.Rectangles" assemblyName="Rectangles" rootNamespace="SdlDotNet.Examples.Rectangles" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>Rectangles.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>Rectangles.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="Gears" path="examples\\Gears" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.Gears.Gears" assemblyName="Gears" rootNamespace="SdlDotNet.Examples.Gears" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>Gears.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>Gears.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Reference name="Tao.OpenGl" localCopy="true" path="..\\..\\lib"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="CDPlayer" path="examples\\CDPlayer" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.CDPlayer.CDPlayer" assemblyName="CDPlayer" rootNamespace="SdlDotNet.Examples.CDPlayer" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>CDPlayer.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>CDPlayer.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="System.Windows.Forms" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<File subType="Form">CDPlayer.cs</File>
+		<Match path="." pattern="*.cs" recurse="true">
+		    <Exclude name="CDPlayer.cs"/>		    
+		</Match>
+	    </Files>
+	</Project>
+	<Project name="MoviePlayer" path="examples\\MoviePlayer" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.MoviePlayer.MoviePlayer" assemblyName="MoviePlayer" rootNamespace="SdlDotNet.Examples.MoviePlayer" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>MoviePlayer.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>MoviePlayer.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="SimpleGame" path="examples\\SimpleGame" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.SimpleGame.GameMain" assemblyName="SimpleGame" rootNamespace="SdlDotNet.Examples.SimpleGame" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>SimpleGame.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>SimpleGame.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="BombRun" path="examples\\BombRun" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.BombRun.BombRun" assemblyName="BombRun" rootNamespace="SdlDotNet.Examples.BombRun" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>BombRun.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>BombRun.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="SnowDemo" path="examples\\SnowDemo" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.SnowDemo.SnowDemo" assemblyName="SnowDemo" rootNamespace="SdlDotNet.Examples.SnowDemo" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>SnowDemo.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>SnowDemo.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="BounceSprites" path="examples\\BounceSprites" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.BounceSprites.BounceSprites" assemblyName="BounceSprites" rootNamespace="SdlDotNet.Examples.BounceSprites" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>BounceSprites.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>BounceSprites.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="Triad" path="examples\\Triad" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.Triad.MainObject" assemblyName="Triad" rootNamespace="SdlDotNet.Examples.Triad" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>Triad.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>Triad.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Reference name="nunit.framework" localCopy="true" path="..\\..\\lib"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="GuiExample" path="examples\\GuiExample" language="C#" type="Library" assemblyName="GuiExample" rootNamespace="SdlDotNet.Examples.GuiExample">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>GuiExample.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>GuiExample.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Files>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="SpriteGuiDemos" path="examples\\SpriteGuiDemos" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.SpriteGuiDemos.SdlDemo" assemblyName="SpriteGuiDemo" rootNamespace="SdlDotNet.Examples.SpriteGuiDemos" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>SpriteGuiDemos.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>SpriteGuiDemos.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Reference name="GuiExample" localCopy="true"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="Tests" path="tests" language="C#" type="Library" assemblyName="SdlDotNet.Tests" rootNamespace="SdlDotNet.Tests">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>SdlDotNet.Tests.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>SdlDotNet.Tests.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Reference name="Tao.Sdl" localCopy="true" path="..\\lib"/>
+	    <Reference name="GuiExample" localCopy="true"/>
+	    <Reference name="nunit.framework" localCopy="true" path="..\\lib"/>
+	    <Files>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="AudioExample" path="examples\\AudioExample" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.AudioExample.AudioExample" assemblyName="AudioExample" rootNamespace="SdlDotNet.Examples.AudioExample" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>AudioExample.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>AudioExample.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="SdlDotNet.Particles" path="extras\\Particles" language="C#" type="Library" assemblyName="SdlDotNet.Particles" rootNamespace="SdlDotNet.Particles">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>SdlDotNet.Particles.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>SdlDotNet.Particles.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Files>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="ParticlesExample" path="examples\\ParticlesExample" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.ParticlesExample.ParticlesExample" assemblyName="ParticlesExample" rootNamespace="SdlDotNet.Examples.ParticlesExample" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>ParticlesExample.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>ParticlesExample.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Reference name="SdlDotNet.Particles" localCopy="true"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<!--<Project name="SdlDotNet.Gui" path="extras\\Gui" language="C#" type="Library" assemblyName="SdlDotNet.Gui" rootNamespace="SdlDotNet.Gui">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>SdlDotNet.Gui.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>SdlDotNet.Gui.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Files>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>-->
+	<Project name="NeHe" path="examples\\NeHe" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.NeHe.NeHe" assemblyName="NeHe" rootNamespace="SdlDotNet.Examples.NeHe" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>NeHe.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>NeHe.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="System.Windows.Forms" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Reference name="Tao.OpenGl" localCopy="true" path="..\\..\\lib"/>
+	    <Reference name="Tao.OpenGl.Glu" localCopy="true" path="..\\..\\lib"/>
+	    <Reference name="Tao.Platform.Windows" localCopy="true" path="..\\..\\lib"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<File subType="Form">NeHe.cs</File>
+		<Match path="." pattern="*.cs" recurse="true">
+		    <Exclude name="NeHe.cs"/>
+		</Match>
+	    </Files>
+	</Project>
+	<Project name="RedBook" path="examples\\RedBook" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.RedBook.RedBook" assemblyName="RedBook" rootNamespace="SdlDotNet.Examples.RedBook" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>RedBook.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>RedBook.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="System.Windows.Forms" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Reference name="Tao.OpenGl" localCopy="true" path="..\\..\\lib"/>
+	    <Reference name="Tao.OpenGl.Glu" localCopy="true" path="..\\..\\lib"/>
+	    <Reference name="Tao.FreeGlut" localCopy="true" path="..\\..\\lib"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<File subType="Form">RedBook.cs</File>
+		<Match path="." pattern="*.cs" recurse="true">
+		    <Exclude name="RedBook.cs" />
+		</Match>
+	    </Files>
+	</Project>
+	<Project name="PhysFsTest" path="examples\\PhysFsTest" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.PhysFsTest.PhysFsTest" assemblyName="PhysFsTest" rootNamespace="SdlDotNet.Examples.PhysFsTest" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>PhysFsTest.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>PhysFsTest.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Reference name="Tao.PhysFs" localCopy="true" path="..\\..\\lib"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+    </Solution>
+</Prebuild>

+ 187 - 0
Prebuild/doc/.svn/text-base/prebuild-example5.xml.svn-base

@@ -0,0 +1,187 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<Prebuild xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.6.xsd" version="1.6">
+    <Solution name="Tao.Sdl">
+	<Configuration name="Debug">
+	    <Options>
+		<CompilerDefines>DEBUG;TRACE;WIN32</CompilerDefines>
+		<OptimizeCode>false</OptimizeCode>
+		<AllowUnsafe>true</AllowUnsafe>
+		<OutputPath>bin\Debug</OutputPath>
+		<XmlDocFile>Tao.Sdl.xml</XmlDocFile>
+		<DebugInformation>true</DebugInformation>
+	    </Options>
+	</Configuration>
+	<Configuration name="Release">
+	    <Options>
+		<CompilerDefines>TRACE;WIN32</CompilerDefines>
+		<OptimizeCode>true</OptimizeCode>
+		<AllowUnsafe>true</AllowUnsafe>
+		<OutputPath>bin\Release</OutputPath>
+		<XmlDocFile>Tao.Sdl.xml</XmlDocFile>
+		<DebugInformation>false</DebugInformation>
+	    </Options>
+	</Configuration>
+	<Files>
+	    <File>Tao.Sdl.License.txt</File>
+	    <File>Tao.Sdl.Readme.txt</File>
+	    <File>Tao.Sdl.snk</File>
+	    <File>Tao.Sdl.dll.config</File>
+	</Files>
+	<Project name="Tao.Sdl" path="." language="C#" type="Library">
+	    <Reference name="System" /> 
+	    <Files>
+		<File>AssemblyInfo.cs</File>
+		<File>Sdl.cs</File>
+		<File>SdlImage.cs</File>
+		<File>SdlMixer.cs</File>
+		<File>SdlTtf.cs</File>
+		<File>SdlNet.cs</File>
+		<File>SdlGfx.cs</File>
+		<File>Smpeg.cs</File>
+		<File>DelegateCallingConventionCdeclAttribute.cs</File>
+	    </Files>
+	</Project>
+	<Project name="Tao.Sdl.Tests" path="..\\..\\tests\\Sdl\\" language="C#" type="Library">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE;WIN32</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <XmlDocFile>Tao.Sdl.Tests.xml</XmlDocFile>
+		    <DebugInformation>true</DebugInformation>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE;WIN32</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <XmlDocFile>Tao.Sdl.Tests.xml</XmlDocFile>
+		    <DebugInformation>false</DebugInformation>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="nunit.framework.dll"/>
+	    <Reference name="Tao.Sdl" />
+	    <Files>
+		<File>AssemblyInfo.cs</File>
+		<File>SdlTest.cs</File>
+		<File>SdlTestVideo.cs</File>
+		<File>SdlTestImage.cs</File>
+		<File>SdlTestTtf.cs</File>
+		<File>SdlTestMixer.cs</File>
+		<File>SdlTestGfx.cs</File>
+		<File>SmpegTest.cs</File>
+	    </Files>
+	</Project>
+	<Project name="SdlExamples.Rectangles" path="..\\..\\examples\\SdlExamples\\Rectangles" language="C#" type="WinExe" startupObject="SdlExamples.Rectangles">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE;WIN32</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE;WIN32</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="Tao.Sdl" />
+	    <Files>
+		<File>AssemblyInfo.cs</File>
+		<File>Rectangles.cs</File>
+	    </Files>
+	</Project>
+	<Project name="SdlExamples.SmpegPlayer" path="..\\..\\examples\\SdlExamples\\SmpegPlayer" language="C#" type="WinExe" startupObject="SdlExamples.SmpegPlayer">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE;WIN32</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE;WIN32</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="Tao.Sdl" />
+	    <Files>
+		<File>AssemblyInfo.cs</File>
+		<File>SmpegPlayer.cs</File>
+	    </Files>
+	</Project>
+	<Project name="SdlExamples.GfxPrimitives" path="..\\..\\examples\\SdlExamples\\GfxPrimitives" language="C#" type="WinExe" startupObject="SdlExamples.GfxPrimitives">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE;WIN32</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE;WIN32</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="Tao.Sdl" />
+	    <Files>
+		<File>AssemblyInfo.cs</File>
+		<File>GfxPrimitives.cs</File>
+	    </Files>
+	</Project>
+	<Project name="Tao.PostProcess" path="..\\Tao.PostProcess\\" language="C#" type="Exe">
+	<Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE;WIN32</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE;WIN32</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" />
+            <Files>
+                <File>AssemblyInfo.cs</File>
+                <File>AppMain.cs</File>
+                <File>BuildProcessor.cs</File>
+                <File>Options.cs</File>
+                <File>ReleaseBuildProcessor.cs</File>
+                <File>UsageHelp.cs</File>
+            </Files>
+        </Project>
+    </Solution>
+</Prebuild>

+ 300 - 0
Prebuild/doc/prebuild-example1.xml

@@ -0,0 +1,300 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Prebuild version="1.6" xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.6.xsd">
+	<Solution name="RealmForge">
+		<Configuration name="Debug">
+			<Options>
+				<CompilerDefines>TRACE;DEBUG</CompilerDefines>
+				<OptimizeCode>false</OptimizeCode>
+				<CheckUnderflowOverflow>false</CheckUnderflowOverflow>
+				<AllowUnsafe>false</AllowUnsafe>
+				<WarningLevel>4</WarningLevel>
+				<WarningsAsErrors>false</WarningsAsErrors>
+				<SuppressWarnings>1591;219;1573;1572;168</SuppressWarnings>
+				<OutputPath>..\bin</OutputPath>
+				<DebugInformation>true</DebugInformation>
+				<RegisterComInterop>false</RegisterComInterop>
+				<IncrementalBuild>true</IncrementalBuild>
+				<BaseAddress>285212672</BaseAddress>
+				<FileAlignment>4096</FileAlignment>
+				<NoStdLib>false</NoStdLib>
+				<XmlDocFile>Docs.xml</XmlDocFile>
+			</Options>
+		</Configuration>
+		<Configuration name="Release">
+			<Options>
+				<CompilerDefines>TRACE</CompilerDefines>
+				<OptimizeCode>true</OptimizeCode>
+				<CheckUnderflowOverflow>false</CheckUnderflowOverflow>
+				<AllowUnsafe>false</AllowUnsafe>
+				<WarningLevel>4</WarningLevel>
+				<WarningsAsErrors>false</WarningsAsErrors>
+				<SuppressWarnings>1591;219;1573;1572;168</SuppressWarnings>
+				<OutputPath>..\bin</OutputPath>
+				<DebugInformation>false</DebugInformation>
+				<RegisterComInterop>false</RegisterComInterop>
+				<IncrementalBuild>true</IncrementalBuild>
+				<BaseAddress>285212672</BaseAddress>
+				<FileAlignment>4096</FileAlignment>
+				<NoStdLib>false</NoStdLib>
+				<XmlDocFile>Docs.xml</XmlDocFile>				
+			</Options>
+		</Configuration>
+
+		<Project name="RealmForge.Utility" path="Utility" type="Library" assemblyName="RealmForge.Utility" rootNamespace="RealmForge">
+			<Configuration name="Debug">
+				<Options>
+					<OutputPath>..\bin\lib\Utility</OutputPath>
+					<XmlDocFile>RealmForge.Utility.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<Configuration name="Release">
+				<Options>
+					<OutputPath>..\bin\lib\Utility</OutputPath>
+					<XmlDocFile>RealmForge.Utility.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<ReferencePath>../bin</ReferencePath>
+			<Reference name="System"/>
+			<Reference name="System.Data"/> 
+			<Reference name="System.Drawing"/>
+			<Reference name="System.Xml"/>
+			<Reference name="System.Runtime.Serialization.Formatters.Soap"/>
+			<Reference name="ICSharpCode.SharpZipLib"/>
+			<Files>
+				<Match pattern="*.cs" recurse="true"/>
+			</Files>
+		</Project>
+
+		<Project name="RealmForge.Framework" path="Framework" type="Library" assemblyName="RealmForge.Framework" rootNamespace="RealmForge">
+			<Configuration name="Debug">
+				<Options>
+					<OutputPath>..\bin\lib\Framework</OutputPath>
+					<XmlDocFile>RealmForge.Framework.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<Configuration name="Release">
+				<Options>
+					<OutputPath>..\bin\lib\Framework</OutputPath>
+					<XmlDocFile>RealmForge.Framework.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<ReferencePath>../bin</ReferencePath>
+			<Reference name="System"/>
+			<Reference name="System.Data"/> 
+			<Reference name="System.Xml"/>
+			<Reference name="System.Windows.Forms"/>
+			<Reference name="System.Drawing"/>
+			<Reference name="Axiom.MathLib"/>
+			<Reference name="RealmForge.Utility"/>
+			<Reference name="Tao.OpenAl"/>
+			<Reference name="ICSharpCode.SharpZipLib"/>
+			<Reference name="csogg"/>
+			<Reference name="csvorbis"/>
+			<Files>
+				<Match pattern="*.cs" recurse="true"/>
+				<Match pattern="*.txt" recurse="true"/>
+			</Files>
+		</Project>
+
+		<Project name="RealmForge.Genres" path="Genres" type="Library" assemblyName="RealmForge.Genres" rootNamespace="RealmForge">
+			<Configuration name="Debug">
+				<Options>
+					<OutputPath>..\bin\lib\Genres</OutputPath>
+					<XmlDocFile>RealmForge.Genres.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<Configuration name="Release">
+				<Options>
+					<OutputPath>..\bin\lib\Genres</OutputPath>
+					<XmlDocFile>RealmForge.Genres.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<ReferencePath>../bin</ReferencePath>
+			<Reference name="System"/>
+			<Reference name="System.Data"/> 
+			<Reference name="System.Xml"/>
+			<Reference name="System.Windows.Forms"/>
+			<Reference name="System.Drawing"/>
+			<Reference name="Axiom.MathLib"/>
+			<Reference name="RealmForge.Utility"/>
+			<Reference name="RealmForge.Framework"/>
+			<Files>
+				<Match pattern="*.cs" recurse="true"/>
+			</Files>
+		</Project>
+				
+		<Project name="RealmForge.UI.Forms" path="Forms" type="Library" assemblyName="RealmForge.UI.Forms" rootNamespace="RealmForge">
+			<Configuration name="Debug">
+				<Options>
+					<OutputPath>..\bin\lib\Forms</OutputPath>	
+					<XmlDocFile>RealmForge.UI.Forms.xml</XmlDocFile>
+					<AllowUnsafe>true</AllowUnsafe>
+				</Options>
+			</Configuration>
+			<Configuration name="Release">
+				<Options>
+					<OutputPath>..\bin\lib\Forms</OutputPath>
+					<XmlDocFile>RealmForge.UI.Forms.xml</XmlDocFile>
+					<AllowUnsafe>true</AllowUnsafe>
+				</Options>
+			</Configuration>
+			<ReferencePath>../bin</ReferencePath>
+			<Reference name="System"/>
+			<Reference name="System.Drawing"/>
+			<Reference name="System.Data"/>
+			<Reference name="System.Design"/>
+			<Reference name="System.Windows.Forms"/>
+			<Reference name="System.Xml"/>
+			<Reference name="Axiom.MathLib"/>
+			<Reference name="wx.NET"/>
+			<Reference name="RealmForge.Framework"/>
+			<Reference name="RealmForge.Utility"/>
+			<Files>
+				<File buildAction="EmbeddedResource">IDE\Resources\ImagesCaptionIDE.bmp</File>
+				<File buildAction="EmbeddedResource">IDE\Resources\ImagesCaptionPlain.bmp</File>
+				<File buildAction="EmbeddedResource">IDE\Resources\ImagesMenuControl.bmp</File>
+				<File buildAction="EmbeddedResource">IDE\Resources\ImagesPopupMenu.bmp</File>
+				<File buildAction="EmbeddedResource">IDE\Resources\ImagesTabbedGroups.bmp</File>
+				<File buildAction="EmbeddedResource">IDE\Resources\ImagesTabControl.bmp</File>
+				<File buildAction="EmbeddedResource">IDE\Resources\LibraryIcon.ico</File>
+				<File buildAction="EmbeddedResource">IDE\Resources\TabbedInvalid.cur</File>
+				<File buildAction="EmbeddedResource">IDE\Resources\TabbedValid.cur</File>
+				<File buildAction="EmbeddedResource">IDE\Resources\WizardPicture.bmp</File>
+				<File buildAction="EmbeddedResource">Controls\Trees\tv_minus.bmp</File>
+				<File buildAction="EmbeddedResource">Controls\Trees\tv_plus.bmp</File>
+				<File buildAction="EmbeddedResource">Controls\Trees\treeview.bmp</File>
+				<File buildAction="EmbeddedResource">Controls\Trees\listview.bmp</File>
+				<File buildAction="EmbeddedResource">IDE\Menus\MenuControl.bmp</File>
+				<File buildAction="EmbeddedResource">IDE\Controls\InertButton.bmp</File>
+				<File buildAction="EmbeddedResource">IDE\Controls\TabbedGroups.bmp</File>
+				<File buildAction="EmbeddedResource">IDE\Controls\TabCOntrol.bmp</File>
+				<File buildAction="EmbeddedResource">IDE\Controls\WizardControl.bmp</File>
+				<File buildAction="EmbeddedResource">Forms\IDETest.resx</File>
+				<File buildAction="EmbeddedResource">Forms\IDEWindow.resx</File>
+				<File buildAction="EmbeddedResource">Forms\Launcher.resx</File>
+				<File buildAction="EmbeddedResource">Forms\MainRenderFrame.resx</File>
+				<Match pattern="*.cs" recurse="true"/>
+			</Files>
+		</Project>
+		
+		<Project name="RealmForge.RAGE" path="RAGE" type="Library" assemblyName="RealmForge.RAGE" rootNamespace="RealmForge">
+			<Configuration name="Debug">
+				<Options>
+					<OutputPath>..\bin\lib\RAGE</OutputPath>	
+					<XmlDocFile>RealmForge.RAGE.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<Configuration name="Release">
+				<Options>
+					<OutputPath>..\bin\lib\RAGE</OutputPath>
+					<XmlDocFile>RealmForge.RAGE.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+				<ReferencePath>../bin</ReferencePath>
+				<ReferencePath>../bin</ReferencePath>
+				<Reference name="System"/>
+				<Reference name="System.XML"/>
+				<Reference name="System.Windows.Forms"/>
+				<Reference name="System.Drawing"/>
+				<Reference name="Axiom.Plugins.CgProgramManager"/>
+				<Reference name="Axiom.Engine"/>
+				<Reference name="Axiom.MathLib"/>
+				<Reference name="Axiom.Plugins.ParticleFX"/>
+				<Reference name="Axiom.Platforms.Win32"/>
+				<Reference name="Axiom.RenderSystems.DirectX9"/>
+				<Reference localCopy="false" name="Axiom.RenderSystems.OpenGL"/>
+				<Reference name="Axiom.SceneManagers.Octree"/>
+				<Reference name="ICSharpCode.SharpZipLib"/>
+				<Reference name="System.Data"/>
+				<Reference name="RealmForge.Framework"/>
+				<Reference name="RealmForge.Utility"/>
+				<Reference name="ode"/>
+			<Files>
+				<Match pattern="*.cs" recurse="true"/>
+			</Files>
+		</Project>
+
+
+		<Project name="RealmForge.ScriptLibrary" path="ScriptLibrary" type="Library" assemblyName="RealmForge.ScriptLibrary" rootNamespace="RSL">
+			<Configuration name="Debug">
+				<Options>
+					<OutputPath>..\bin\ScriptLibrary</OutputPath>
+					<XmlDocFile>RealmForge.ScriptLibrary.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<Configuration name="Release">
+				<Options>
+					<OutputPath>..\bin\ScriptLibrary</OutputPath>
+					<XmlDocFile>RealmForge.ScriptLibrary.xml</XmlDocFile>	
+				</Options>
+			</Configuration>
+			<ReferencePath>../bin</ReferencePath>
+			<Reference name="System"/>
+			<Reference name="System.XML"/>
+			<Reference name="System.Windows.Forms"/>
+			<Reference name="System.Drawing"/>
+			<Reference name="Axiom.MathLib"/>
+			<Reference name="wx.NET"/>
+			<Reference name="RealmForge.UI.Forms"/>
+			<Reference name="RealmForge.RAGE"/>
+			<Reference name="RealmForge.Framework"/>
+			<Reference name="RealmForge.Utility"/>
+			<Files>
+				<Match pattern="*.cs" recurse="true"/>
+			</Files>
+		</Project>
+
+		
+		<Project name="Updater" path="Updater" type="WinExe" icon="..\bin\Updater.ico" assemblyName="Updater" rootNamespace="RealmForge">
+			<Configuration name="Debug">
+				<Options>
+					<OutputPath>..\bin\lib\Updater</OutputPath>
+					<XmlDocFile>Updater.xml</XmlDocFile>	
+				</Options>
+			</Configuration>
+			<Configuration name="Release">
+				<Options>
+					<OutputPath>..\bin\lib\Updater</OutputPath>
+					<XmlDocFile>Updater.xml</XmlDocFile>		
+				</Options>
+			</Configuration>
+			<ReferencePath>../bin</ReferencePath>
+			<Reference name="System"/>
+			<Reference name="RealmForge.UI.Forms"/>
+			<Reference name="RealmForge.Framework"/>
+			<Reference name="RealmForge.Utility"/>
+			<Files>
+				<Match pattern="*.cs" recurse="true"/>
+			</Files>
+		</Project>
+
+
+		<Project name="DemoGame" path="DemoGame" type="WinExe" icon="..\bin\RealmForge.ico" assemblyName="DemoGame" rootNamespace="RealmForge">
+			<Configuration name="Debug">
+				<Options>
+					<OutputPath>..\bin</OutputPath>
+					<XmlDocFile>DemoGame.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<Configuration name="Release">
+				<Options>
+					<OutputPath>..\bin</OutputPath>
+					<XmlDocFile>DemoGame.xml</XmlDocFile>		
+				</Options>
+			</Configuration>
+			<ReferencePath>../bin</ReferencePath>
+			<Reference name="System"/>
+			<Reference name="RealmForge.UI.Forms"/>
+			<Reference name="RealmForge.ScriptLibrary"/>
+			<Reference name="RealmForge.RAGE"/>
+			<Reference name="RealmForge.Framework"/>
+			<Reference name="RealmForge.Utility"/>
+			<Files>
+				<Match pattern="*.cs" recurse="true"/>
+			</Files>
+		</Project>
+		
+	</Solution>
+</Prebuild>
+
+	

+ 72 - 0
Prebuild/doc/prebuild-example2.xml

@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="utf-8" ?> 
+<Prebuild xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.6.xsd">
+    <Solution name="Prebuild">
+	<Configuration name="Debug">
+	    <Options>
+		<?if OS = "Win32" ?>
+		<CompilerDefines>DEBUG;TRACE;WIN32;NET</CompilerDefines>
+		<?else ?>
+		<CompilerDefines>DEBUG;TRACE;POSIX</CompilerDefines>
+		<?endif ?>
+		<OptimizeCode>false</OptimizeCode>
+		<OutputPath>bin\Debug</OutputPath>
+		<DebugInformation>true</DebugInformation>
+		<SuppressWarnings>1595</SuppressWarnings>
+	    </Options>
+	</Configuration>
+	<Configuration name="Release">
+	    <Options>
+		<?if OS = "Win32" ?>
+		<CompilerDefines>TRACE;WIN32;NET</CompilerDefines>
+		<?else ?>
+		<CompilerDefines>TRACE;POSIX</CompilerDefines>
+		<?endif ?>
+		<OutputPath>bin\Release</OutputPath>
+		<OptimizeCode>true</OptimizeCode>
+		<DebugInformation>false</DebugInformation>
+		<SuppressWarnings>1595</SuppressWarnings>
+	    </Options>
+	</Configuration>
+	<Files>
+	    <File>prebuild.xml</File>
+	    <Match path="doc" pattern="*.txt"/>
+	</Files>
+	<Project name="Prebuild" path="src" language="C#" assemblyName="Prebuild" icon="App.ico" type="Exe" rootNamespace="Prebuild" startupObject="Prebuild.Prebuild">
+	    <Configuration name="Debug">
+		<Options>
+		    <?if OS = "Win32" ?>
+		    <CompilerDefines>DEBUG;TRACE;WIN32;NET</CompilerDefines>
+		    <?else ?>
+		    <CompilerDefines>DEBUG;TRACE;POSIX</CompilerDefines>
+		    <?endif ?>
+		    <OptimizeCode>false</OptimizeCode>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>Prebuild.xml</XmlDocFile>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <?if OS = "Win32" ?>
+		    <CompilerDefines>TRACE;WIN32;NET</CompilerDefines>
+		    <?else ?>
+		    <CompilerDefines>TRACE;POSIX</CompilerDefines>
+		    <?endif ?>
+		    <OutputPath>bin\Release</OutputPath>
+		    <OptimizeCode>true</OptimizeCode>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>Prebuild.xml</XmlDocFile>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System.Xml" />
+	    <Reference name="System" />
+	    <Files>
+		<Match pattern="App.ico" buildAction="EmbeddedResource"/>
+		<Match path="data" pattern="prebuild-1.6.xsd" buildAction="EmbeddedResource"/>
+		<Match pattern="*.cs" recurse="true"/>			
+	    </Files>
+	</Project>
+    </Solution>
+</Prebuild>

+ 113 - 0
Prebuild/doc/prebuild-example3.xml

@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="utf-8"?>
+    <!--The version of the XML schema specified in the version and xmlns attributes should match the one for which the version of Prebuild.exe used was compiled for.  In this example it is the version 1.6 schema, you can find the XSD schema file at the url specified in the xmlns attribute. -->
+    <Prebuild version="1.6" xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.6.xsd">
+	<Solution name="RealmForge"> <!--The title and file name for the solution, combine, workspace, or project group (depending on what development tool you are using)-->
+                       <!--Configurations found as children of Solution are used as templates for the configurations found in the project, this allows you to avoid writing the same options in each project (and maintaining each of these).  You can provide defaults and then override them in the configurations defined for each project. All options are optional.-->
+		<Configuration name="Debug">
+			<Options>
+				<!-- simple logically expressions can be evaluated, if, else, elseif, and endif are valid statements.  Note that it is not neccisary to define POSIX or WIN32 -->
+				<?if OS = "Win32" ?>
+					<CompilerDefines>DEBUG;TRACE;WIN32</CompilerDefines>
+				<?else ?>
+					<CompilerDefines>DEBUG;TRACE;POSIX</CompilerDefines>
+				<?endif ?>
+				<OptimizeCode>false</OptimizeCode>
+				<CheckUnderflowOverflow>false</CheckUnderflowOverflow>
+				<AllowUnsafe>false</AllowUnsafe>
+				<WarningLevel>4</WarningLevel>   
+				<!--The filter for the number of warnings or errors shown and the tolerance level as to what is an error. This is value from 0 to 4 where 4 is the most strict (least tolerent).-->
+
+				<WarningsAsErrors>false</WarningsAsErrors>
+				<SuppressWarnings>1591;219;1573;1572;168</SuppressWarnings> 
+ 				<!-- A semicolon ';'  delimited list of the warnings that are filtered and not shown in the output window during compiling a project.  Only include the number portion of the warning codes that are shown in output during compilation (eg CS1591, should be entered as 1591)-->
+
+				<OutputPath>..\bin</OutputPath>
+				<DebugInformation>true</DebugInformation>
+				<RegisterComInterop>false</RegisterComInterop>
+				<IncrementalBuild>true</IncrementalBuild>
+				<BaseAddress>285212672</BaseAddress>
+				<FileAlignment>4096</FileAlignment>
+				<NoStdLib>false</NoStdLib>
+				<XmlDocFile>Docs.xml</XmlDocFile>
+			</Options>
+		</Configuration>
+		<Configuration name="Release"> <!-- You can define multple configurations that projects can have, but there is no way to define which one is selected by default as this is a part of the user preferences for a project, not the solution or project files -->
+			<Options>
+				<CompilerDefines>TRACE</CompilerDefines>
+				<OptimizeCode>true</OptimizeCode>
+				<CheckUnderflowOverflow>false</CheckUnderflowOverflow>
+				<AllowUnsafe>false</AllowUnsafe>
+				<WarningLevel>4</WarningLevel>
+				<WarningsAsErrors>false</WarningsAsErrors>
+				<SuppressWarnings>1591;219;1573;1572;168</SuppressWarnings>
+				<OutputPath>..\bin</OutputPath>
+				<DebugInformation>false</DebugInformation>
+				<RegisterComInterop>false</RegisterComInterop>
+				<IncrementalBuild>true</IncrementalBuild>
+				<BaseAddress>285212672</BaseAddress>
+				<FileAlignment>4096</FileAlignment>
+				<NoStdLib>false</NoStdLib>
+				<XmlDocFile>Docs.xml</XmlDocFile>				
+			</Options>
+		</Configuration>
+
+		<!-- One of the projects that is included in the Solution -->
+		<Project name="RealmForge.Utility" path="Utility" type="Library" assemblyName="RealmForge.Utility" rootNamespace="RealmForge">
+			<Configuration name="Debug">
+				<Options>
+					<OutputPath>..\bin\lib\Utility</OutputPath>
+					<XmlDocFile>RealmForge.Utility.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<Configuration name="Release">
+				<Options>
+					<OutputPath>..\bin\lib\Utility</OutputPath>
+					<XmlDocFile>RealmForge.Utility.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<ReferencePath>../bin</ReferencePath>
+			<Reference name="System"/>
+			<Reference name="System.Data"/> 
+			<Reference name="System.Drawing"/>
+			<Reference name="System.Xml"/>
+			<Reference name="System.Runtime.Serialization.Formatters.Soap"/>
+			<Reference name="ICSharpCode.SharpZipLib"/>
+			<Files>
+				<Match pattern="*.cs" recurse="true"/>
+			</Files>
+		</Project>
+
+		<!-- Another projects that is included in the Solution -->
+		<Project name="DemoGame" path="DemoGame" type="WinExe" icon="..\bin\RealmForge.ico" assemblyName="DemoGame" rootNamespace="RealmForge">
+				<!-- icon is used to define the location of the .ico file that is embeeded in the assembly when the project is compiled.  This is relative to the project path -->
+				<!--type defines the type of project, valid types are Library (.dll), WinExe (.exe), and Exe (.exe).  WinExe is not windows specific, it just defines that it is a GUI application and that no Console or Command window will show when it is started-->
+
+			<Configuration name="Debug">
+				<Options>
+					<OutputPath>..\bin</OutputPath>
+					<XmlDocFile>DemoGame.xml</XmlDocFile>
+				</Options>
+			</Configuration>
+			<Configuration name="Release">
+				<Options>
+					<OutputPath>..\bin</OutputPath>
+					<XmlDocFile>DemoGame.xml</XmlDocFile>		
+				</Options>
+			</Configuration>
+			<ReferencePath>../bin</ReferencePath>
+			<Reference name="System"/> <!-- Assemblies that are located in the GAC (installed, global) can be referenced-->
+			<Reference name="ode"/>  <!-- Assemblies that are located in the output directory to which the file is built can be referenced -->
+			<Reference name="RealmForge.Utility"/> <!-- When you reference the name of another project, then that project (and it's output) will be referenced instead of looking for a pre-built assembly-->
+			<Files>
+				<!-- path defaults to . or the directory that prebuild.exe resides in -->
+				<Match path="." pattern="*.cs" recurse="true"/>
+				<Match pattern="*.bmp" recurse="true" buildAction="EmbeddedResource"/>
+				<Match pattern="[^a]*\.(png|jpg)" useRegex="true" buildAction="EmbeddedResource"/>
+				
+				<!-- Uses a regex or regular expression to find all files that end with .png or .jpg but dont have the letter 'a' in their name and add them to the project as EmbeddedResource's.  Because recurse enabled (default is false), only the values in the files in that are directly in the project directory (not child directories) are checked.-->
+				<!--EmbeddedResource, Content, and Compile are valid buildAction's-->
+			</Files>
+		</Project>
+		
+	</Solution>
+</Prebuild>

+ 715 - 0
Prebuild/doc/prebuild-example4.xml

@@ -0,0 +1,715 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<Prebuild xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.6.xsd" version="1.6">
+    <Solution name="SdlDotNet">
+	<Configuration name="Debug">
+	    <Options>
+		<CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		<OptimizeCode>false</OptimizeCode>
+		<AllowUnsafe>false</AllowUnsafe>
+		<OutputPath>bin\Debug</OutputPath>
+		<DebugInformation>true</DebugInformation>
+		<WarningLevel>4</WarningLevel>
+		<SuppressWarnings>1595</SuppressWarnings>
+	    </Options>
+	</Configuration>
+	<Configuration name="Release">
+	    <Options>
+		<CompilerDefines>TRACE</CompilerDefines>
+		<OptimizeCode>true</OptimizeCode>
+		<AllowUnsafe>false</AllowUnsafe>
+		<OutputPath>bin\Release</OutputPath>
+		<DebugInformation>false</DebugInformation>
+		<WarningLevel>1</WarningLevel>
+		<SuppressWarnings>1595</SuppressWarnings>
+	    </Options>
+	</Configuration>
+	<Files>
+	    <File buildAction="Content">SdlDotNet.build</File>
+	    <File buildAction="Content">prebuild.xml</File>
+	</Files>
+	<Project name="SdlDotNet" path="src" language="C#" type="Library" assemblyName="SdlDotNet" rootNamespace="SdlDotNet">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>SdlDotNet.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <XmlDocFile>SdlDotNet.xml</XmlDocFile>
+		    <DebugInformation>false</DebugInformation>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" />
+	    <Reference name="System.Windows.Forms" />
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="Tao.Sdl" localCopy="true" path="..\\lib"/>
+	    <Files>
+		<Match path="." pattern="SurfaceControl.cs" subType="Component" recurse="true"/>
+		<Match path="." pattern="*.bmp" buildAction="EmbeddedResource" recurse="true"/>
+		<Match path="." pattern="*.cs" recurse="true">
+		    <Exclude name="SurfaceControl.cs"/>
+		</Match>
+	    </Files>
+	</Project>
+	<Project name="Rectangles" path="examples\\Rectangles" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.Rectangles.Rectangles" assemblyName="Rectangles" rootNamespace="SdlDotNet.Examples.Rectangles" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>Rectangles.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>Rectangles.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="Gears" path="examples\\Gears" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.Gears.Gears" assemblyName="Gears" rootNamespace="SdlDotNet.Examples.Gears" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>Gears.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>Gears.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Reference name="Tao.OpenGl" localCopy="true" path="..\\..\\lib"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="CDPlayer" path="examples\\CDPlayer" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.CDPlayer.CDPlayer" assemblyName="CDPlayer" rootNamespace="SdlDotNet.Examples.CDPlayer" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>CDPlayer.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>CDPlayer.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="System.Windows.Forms" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<File subType="Form">CDPlayer.cs</File>
+		<Match path="." pattern="*.cs" recurse="true">
+		    <Exclude name="CDPlayer.cs"/>		    
+		</Match>
+	    </Files>
+	</Project>
+	<Project name="MoviePlayer" path="examples\\MoviePlayer" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.MoviePlayer.MoviePlayer" assemblyName="MoviePlayer" rootNamespace="SdlDotNet.Examples.MoviePlayer" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>MoviePlayer.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>MoviePlayer.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="SimpleGame" path="examples\\SimpleGame" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.SimpleGame.GameMain" assemblyName="SimpleGame" rootNamespace="SdlDotNet.Examples.SimpleGame" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>SimpleGame.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>SimpleGame.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="BombRun" path="examples\\BombRun" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.BombRun.BombRun" assemblyName="BombRun" rootNamespace="SdlDotNet.Examples.BombRun" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>BombRun.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>BombRun.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="SnowDemo" path="examples\\SnowDemo" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.SnowDemo.SnowDemo" assemblyName="SnowDemo" rootNamespace="SdlDotNet.Examples.SnowDemo" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>SnowDemo.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>SnowDemo.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="BounceSprites" path="examples\\BounceSprites" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.BounceSprites.BounceSprites" assemblyName="BounceSprites" rootNamespace="SdlDotNet.Examples.BounceSprites" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>BounceSprites.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>BounceSprites.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="Triad" path="examples\\Triad" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.Triad.MainObject" assemblyName="Triad" rootNamespace="SdlDotNet.Examples.Triad" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>Triad.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>Triad.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Reference name="nunit.framework" localCopy="true" path="..\\..\\lib"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="GuiExample" path="examples\\GuiExample" language="C#" type="Library" assemblyName="GuiExample" rootNamespace="SdlDotNet.Examples.GuiExample">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>GuiExample.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>GuiExample.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Files>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="SpriteGuiDemos" path="examples\\SpriteGuiDemos" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.SpriteGuiDemos.SdlDemo" assemblyName="SpriteGuiDemo" rootNamespace="SdlDotNet.Examples.SpriteGuiDemos" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>SpriteGuiDemos.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>SpriteGuiDemos.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Reference name="GuiExample" localCopy="true"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="Tests" path="tests" language="C#" type="Library" assemblyName="SdlDotNet.Tests" rootNamespace="SdlDotNet.Tests">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>SdlDotNet.Tests.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>SdlDotNet.Tests.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Reference name="Tao.Sdl" localCopy="true" path="..\\lib"/>
+	    <Reference name="GuiExample" localCopy="true"/>
+	    <Reference name="nunit.framework" localCopy="true" path="..\\lib"/>
+	    <Files>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="AudioExample" path="examples\\AudioExample" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.AudioExample.AudioExample" assemblyName="AudioExample" rootNamespace="SdlDotNet.Examples.AudioExample" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>AudioExample.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>AudioExample.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="SdlDotNet.Particles" path="extras\\Particles" language="C#" type="Library" assemblyName="SdlDotNet.Particles" rootNamespace="SdlDotNet.Particles">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>SdlDotNet.Particles.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>SdlDotNet.Particles.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Files>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<Project name="ParticlesExample" path="examples\\ParticlesExample" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.ParticlesExample.ParticlesExample" assemblyName="ParticlesExample" rootNamespace="SdlDotNet.Examples.ParticlesExample" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>ParticlesExample.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>ParticlesExample.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Reference name="SdlDotNet.Particles" localCopy="true"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+	<!--<Project name="SdlDotNet.Gui" path="extras\\Gui" language="C#" type="Library" assemblyName="SdlDotNet.Gui" rootNamespace="SdlDotNet.Gui">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>SdlDotNet.Gui.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>SdlDotNet.Gui.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Files>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>-->
+	<Project name="NeHe" path="examples\\NeHe" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.NeHe.NeHe" assemblyName="NeHe" rootNamespace="SdlDotNet.Examples.NeHe" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>NeHe.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>NeHe.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="System.Windows.Forms" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Reference name="Tao.OpenGl" localCopy="true" path="..\\..\\lib"/>
+	    <Reference name="Tao.OpenGl.Glu" localCopy="true" path="..\\..\\lib"/>
+	    <Reference name="Tao.Platform.Windows" localCopy="true" path="..\\..\\lib"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<File subType="Form">NeHe.cs</File>
+		<Match path="." pattern="*.cs" recurse="true">
+		    <Exclude name="NeHe.cs"/>
+		</Match>
+	    </Files>
+	</Project>
+	<Project name="RedBook" path="examples\\RedBook" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.RedBook.RedBook" assemblyName="RedBook" rootNamespace="SdlDotNet.Examples.RedBook" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>RedBook.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>RedBook.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="System.Windows.Forms" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Reference name="Tao.OpenGl" localCopy="true" path="..\\..\\lib"/>
+	    <Reference name="Tao.OpenGl.Glu" localCopy="true" path="..\\..\\lib"/>
+	    <Reference name="Tao.FreeGlut" localCopy="true" path="..\\..\\lib"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<File subType="Form">RedBook.cs</File>
+		<Match path="." pattern="*.cs" recurse="true">
+		    <Exclude name="RedBook.cs" />
+		</Match>
+	    </Files>
+	</Project>
+	<Project name="PhysFsTest" path="examples\\PhysFsTest" language="C#" type="WinExe" startupObject="SdlDotNet.Examples.PhysFsTest.PhysFsTest" assemblyName="PhysFsTest" rootNamespace="SdlDotNet.Examples.PhysFsTest" icon="App.ico">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		    <XmlDocFile>PhysFsTest.xml</XmlDocFile>
+		    <WarningLevel>4</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		    <XmlDocFile>PhysFsTest.xml</XmlDocFile>
+		    <WarningLevel>1</WarningLevel>
+		    <SuppressWarnings>1595</SuppressWarnings>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="System.Drawing" /> 
+	    <Reference name="SdlDotNet" localCopy="true"/>
+	    <Reference name="Tao.PhysFs" localCopy="true" path="..\\..\\lib"/>
+	    <Files>
+		<File buildAction="EmbeddedResource">App.ico</File>
+		<Match path="." pattern="*.cs" recurse="true"/>
+	    </Files>
+	</Project>
+    </Solution>
+</Prebuild>

+ 187 - 0
Prebuild/doc/prebuild-example5.xml

@@ -0,0 +1,187 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<Prebuild xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.6.xsd" version="1.6">
+    <Solution name="Tao.Sdl">
+	<Configuration name="Debug">
+	    <Options>
+		<CompilerDefines>DEBUG;TRACE;WIN32</CompilerDefines>
+		<OptimizeCode>false</OptimizeCode>
+		<AllowUnsafe>true</AllowUnsafe>
+		<OutputPath>bin\Debug</OutputPath>
+		<XmlDocFile>Tao.Sdl.xml</XmlDocFile>
+		<DebugInformation>true</DebugInformation>
+	    </Options>
+	</Configuration>
+	<Configuration name="Release">
+	    <Options>
+		<CompilerDefines>TRACE;WIN32</CompilerDefines>
+		<OptimizeCode>true</OptimizeCode>
+		<AllowUnsafe>true</AllowUnsafe>
+		<OutputPath>bin\Release</OutputPath>
+		<XmlDocFile>Tao.Sdl.xml</XmlDocFile>
+		<DebugInformation>false</DebugInformation>
+	    </Options>
+	</Configuration>
+	<Files>
+	    <File>Tao.Sdl.License.txt</File>
+	    <File>Tao.Sdl.Readme.txt</File>
+	    <File>Tao.Sdl.snk</File>
+	    <File>Tao.Sdl.dll.config</File>
+	</Files>
+	<Project name="Tao.Sdl" path="." language="C#" type="Library">
+	    <Reference name="System" /> 
+	    <Files>
+		<File>AssemblyInfo.cs</File>
+		<File>Sdl.cs</File>
+		<File>SdlImage.cs</File>
+		<File>SdlMixer.cs</File>
+		<File>SdlTtf.cs</File>
+		<File>SdlNet.cs</File>
+		<File>SdlGfx.cs</File>
+		<File>Smpeg.cs</File>
+		<File>DelegateCallingConventionCdeclAttribute.cs</File>
+	    </Files>
+	</Project>
+	<Project name="Tao.Sdl.Tests" path="..\\..\\tests\\Sdl\\" language="C#" type="Library">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE;WIN32</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <XmlDocFile>Tao.Sdl.Tests.xml</XmlDocFile>
+		    <DebugInformation>true</DebugInformation>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE;WIN32</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <XmlDocFile>Tao.Sdl.Tests.xml</XmlDocFile>
+		    <DebugInformation>false</DebugInformation>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="nunit.framework.dll"/>
+	    <Reference name="Tao.Sdl" />
+	    <Files>
+		<File>AssemblyInfo.cs</File>
+		<File>SdlTest.cs</File>
+		<File>SdlTestVideo.cs</File>
+		<File>SdlTestImage.cs</File>
+		<File>SdlTestTtf.cs</File>
+		<File>SdlTestMixer.cs</File>
+		<File>SdlTestGfx.cs</File>
+		<File>SmpegTest.cs</File>
+	    </Files>
+	</Project>
+	<Project name="SdlExamples.Rectangles" path="..\\..\\examples\\SdlExamples\\Rectangles" language="C#" type="WinExe" startupObject="SdlExamples.Rectangles">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE;WIN32</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE;WIN32</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="Tao.Sdl" />
+	    <Files>
+		<File>AssemblyInfo.cs</File>
+		<File>Rectangles.cs</File>
+	    </Files>
+	</Project>
+	<Project name="SdlExamples.SmpegPlayer" path="..\\..\\examples\\SdlExamples\\SmpegPlayer" language="C#" type="WinExe" startupObject="SdlExamples.SmpegPlayer">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE;WIN32</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE;WIN32</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="Tao.Sdl" />
+	    <Files>
+		<File>AssemblyInfo.cs</File>
+		<File>SmpegPlayer.cs</File>
+	    </Files>
+	</Project>
+	<Project name="SdlExamples.GfxPrimitives" path="..\\..\\examples\\SdlExamples\\GfxPrimitives" language="C#" type="WinExe" startupObject="SdlExamples.GfxPrimitives">
+	    <Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE;WIN32</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE;WIN32</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" /> 
+	    <Reference name="Tao.Sdl" />
+	    <Files>
+		<File>AssemblyInfo.cs</File>
+		<File>GfxPrimitives.cs</File>
+	    </Files>
+	</Project>
+	<Project name="Tao.PostProcess" path="..\\Tao.PostProcess\\" language="C#" type="Exe">
+	<Configuration name="Debug">
+		<Options>
+		    <CompilerDefines>DEBUG;TRACE;WIN32</CompilerDefines>
+		    <OptimizeCode>false</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Debug</OutputPath>
+		    <DebugInformation>true</DebugInformation>
+		</Options>
+	    </Configuration>
+	    <Configuration name="Release">
+		<Options>
+		    <CompilerDefines>TRACE;WIN32</CompilerDefines>
+		    <OptimizeCode>true</OptimizeCode>
+		    <AllowUnsafe>false</AllowUnsafe>
+		    <OutputPath>bin\Release</OutputPath>
+		    <DebugInformation>false</DebugInformation>
+		</Options>
+	    </Configuration>
+	    <Reference name="System" />
+            <Files>
+                <File>AssemblyInfo.cs</File>
+                <File>AppMain.cs</File>
+                <File>BuildProcessor.cs</File>
+                <File>Options.cs</File>
+                <File>ReleaseBuildProcessor.cs</File>
+                <File>UsageHelp.cs</File>
+            </Files>
+        </Project>
+    </Solution>
+</Prebuild>

+ 2 - 0
Prebuild/prebuild

@@ -0,0 +1,2 @@
+#!/bin/sh
+exec mono [PREFIX]/prebuild.exe "$@"

+ 73 - 0
Prebuild/prebuild.xml

@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<Prebuild xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.9.xsd" version="1.9">
+	<Solution name="Prebuild" version="2.0.4">
+		<Configuration name="Debug">
+			<Options>
+				<CompilerDefines>DEBUG;TRACE</CompilerDefines>
+				<OptimizeCode>false</OptimizeCode>
+				<OutputPath>bin/Debug</OutputPath>
+				<DebugInformation>true</DebugInformation>
+				<SuppressWarnings>1595</SuppressWarnings>
+			</Options>
+		</Configuration>
+		<Configuration name="Release">
+			<Options>
+				<CompilerDefines>TRACE</CompilerDefines>
+				<OutputPath>bin/Release</OutputPath>
+				<OptimizeCode>true</OptimizeCode>
+				<DebugInformation>false</DebugInformation>
+				<SuppressWarnings>1595</SuppressWarnings>
+			</Options>
+		</Configuration>
+		<Files>
+			<File>prebuild.xml</File>
+			<File>prebuild</File>
+		</Files>
+		<Project name="Prebuild"
+		         path="src"
+		         language="C#"
+		         assemblyName="prebuild"
+		         icon="App.ico"
+		         type="Exe"
+		         rootNamespace="Prebuild"
+		         startupObject="Prebuild.Prebuild"
+		         version="2.0.3"
+		>
+			<Author>Matthew Holmes ([email protected])</Author>
+			<Author>Dan Moorehead ([email protected])</Author>
+			<Author>Dave Hudson ([email protected])</Author>
+			<Author>Rob Loach (http://robloach.net)</Author>
+			<Author>C.J. Adams-Collier ([email protected])</Author>
+			<Description>The Prebuild project generator</Description>
+			<Configuration name="Debug">
+				<Options>
+					<CompilerDefines>DEBUG;TRACE</CompilerDefines>
+					<OptimizeCode>false</OptimizeCode>
+					<OutputPath>bin/Debug</OutputPath>
+					<DebugInformation>true</DebugInformation>
+					<KeyFile>Prebuild.snk</KeyFile>
+					<SuppressWarnings>1595</SuppressWarnings>
+				</Options>
+			</Configuration>
+			<Configuration name="Release">
+				<Options>
+					<CompilerDefines>TRACE</CompilerDefines>
+					<OutputPath>bin/Release</OutputPath>
+					<OptimizeCode>true</OptimizeCode>
+					<DebugInformation>false</DebugInformation>
+					<KeyFile>Prebuild.snk</KeyFile>
+					<SuppressWarnings>1595</SuppressWarnings>
+				</Options>
+			</Configuration>
+			<Reference name="System.EnterpriseServices" />
+			<Reference name="System.Xml" />
+			<Reference name="System" />
+			<Files>
+				<Match pattern="App.ico" buildAction="EmbeddedResource"/>
+				<Match path="data" pattern="prebuild-1.9.xsd" buildAction="EmbeddedResource"/>
+				<Match path="data" pattern="autotools.xml" buildAction="EmbeddedResource"/>
+				<Match pattern="*.cs" recurse="true"/>
+			</Files>
+		</Project>
+	</Solution>
+</Prebuild>

+ 125 - 0
Prebuild/scripts/.svn/all-wcprops

@@ -0,0 +1,125 @@
+K 25
+svn:wc:ra_dav:version-url
+V 49
+/svnroot/dnpb/!svn/ver/316/trunk/Prebuild/scripts
+END
+makefile.bat
+K 25
+svn:wc:ra_dav:version-url
+V 62
+/svnroot/dnpb/!svn/ver/240/trunk/Prebuild/scripts/makefile.bat
+END
+SharpDevelop2.bat
+K 25
+svn:wc:ra_dav:version-url
+V 67
+/svnroot/dnpb/!svn/ver/205/trunk/Prebuild/scripts/SharpDevelop2.bat
+END
+makefile.sh
+K 25
+svn:wc:ra_dav:version-url
+V 61
+/svnroot/dnpb/!svn/ver/240/trunk/Prebuild/scripts/makefile.sh
+END
+Clean.bat
+K 25
+svn:wc:ra_dav:version-url
+V 59
+/svnroot/dnpb/!svn/ver/205/trunk/Prebuild/scripts/Clean.bat
+END
+Clean.sh
+K 25
+svn:wc:ra_dav:version-url
+V 58
+/svnroot/dnpb/!svn/ver/240/trunk/Prebuild/scripts/Clean.sh
+END
+Help.bat
+K 25
+svn:wc:ra_dav:version-url
+V 58
+/svnroot/dnpb/!svn/ver/205/trunk/Prebuild/scripts/Help.bat
+END
+autotools.bat
+K 25
+svn:wc:ra_dav:version-url
+V 63
+/svnroot/dnpb/!svn/ver/205/trunk/Prebuild/scripts/autotools.bat
+END
+Prebuild.nsi
+K 25
+svn:wc:ra_dav:version-url
+V 62
+/svnroot/dnpb/!svn/ver/116/trunk/Prebuild/scripts/Prebuild.nsi
+END
+VS2010.bat
+K 25
+svn:wc:ra_dav:version-url
+V 60
+/svnroot/dnpb/!svn/ver/316/trunk/Prebuild/scripts/VS2010.bat
+END
+MonoDevelop.sh
+K 25
+svn:wc:ra_dav:version-url
+V 64
+/svnroot/dnpb/!svn/ver/205/trunk/Prebuild/scripts/MonoDevelop.sh
+END
+VS2002.bat
+K 25
+svn:wc:ra_dav:version-url
+V 60
+/svnroot/dnpb/!svn/ver/205/trunk/Prebuild/scripts/VS2002.bat
+END
+SharpDevelop.bat
+K 25
+svn:wc:ra_dav:version-url
+V 66
+/svnroot/dnpb/!svn/ver/205/trunk/Prebuild/scripts/SharpDevelop.bat
+END
+autotools.sh
+K 25
+svn:wc:ra_dav:version-url
+V 62
+/svnroot/dnpb/!svn/ver/256/trunk/Prebuild/scripts/autotools.sh
+END
+VS2003.bat
+K 25
+svn:wc:ra_dav:version-url
+V 60
+/svnroot/dnpb/!svn/ver/196/trunk/Prebuild/scripts/VS2003.bat
+END
+VS2005.bat
+K 25
+svn:wc:ra_dav:version-url
+V 60
+/svnroot/dnpb/!svn/ver/205/trunk/Prebuild/scripts/VS2005.bat
+END
+nant.bat
+K 25
+svn:wc:ra_dav:version-url
+V 58
+/svnroot/dnpb/!svn/ver/205/trunk/Prebuild/scripts/nant.bat
+END
+VS2008.bat
+K 25
+svn:wc:ra_dav:version-url
+V 60
+/svnroot/dnpb/!svn/ver/288/trunk/Prebuild/scripts/VS2008.bat
+END
+xcode.bat
+K 25
+svn:wc:ra_dav:version-url
+V 59
+/svnroot/dnpb/!svn/ver/240/trunk/Prebuild/scripts/xcode.bat
+END
+nant.sh
+K 25
+svn:wc:ra_dav:version-url
+V 57
+/svnroot/dnpb/!svn/ver/205/trunk/Prebuild/scripts/nant.sh
+END
+xcode.sh
+K 25
+svn:wc:ra_dav:version-url
+V 58
+/svnroot/dnpb/!svn/ver/240/trunk/Prebuild/scripts/xcode.sh
+END

+ 6 - 0
Prebuild/scripts/.svn/dir-prop-base

@@ -0,0 +1,6 @@
+K 10
+svn:ignore
+V 12
+*.cmbx
+*.swp
+END

+ 708 - 0
Prebuild/scripts/.svn/entries

@@ -0,0 +1,708 @@
+10
+
+dir
+323
+https://dnpb.svn.sourceforge.net/svnroot/dnpb/trunk/Prebuild/scripts
+https://dnpb.svn.sourceforge.net/svnroot/dnpb
+
+
+
+2010-05-08T05:43:01.449559Z
+316
+jhurliman
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+3355ff64-970d-0410-bbe8-d0fbd18be4fb
+
+makefile.bat
+file
+
+
+
+
+2010-09-10T22:51:44.000000Z
+f6d151aad764b5bdb4113a119c9f3750
+2007-05-08T15:42:58.740059Z
+240
+jendave
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+102
+
+SharpDevelop2.bat
+file
+
+
+
+
+2010-09-10T22:51:44.000000Z
+432bf7063141f24bcc4e4a13ede3b6cf
+2007-02-13T20:58:03.716560Z
+205
+jendave
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+210
+
+makefile.sh
+file
+
+
+
+
+2010-09-10T22:51:44.000000Z
+70db5cccbafa4f0019d3d9e0fbb6d884
+2007-05-08T15:42:58.740059Z
+240
+jendave
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+155
+
+Clean.bat
+file
+
+
+
+
+2010-09-10T22:51:44.000000Z
+f33b6d088290350f0d7cbc44e6c26854
+2007-02-13T20:58:03.716560Z
+205
+jendave
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+87
+
+Clean.sh
+file
+
+
+
+
+2010-09-10T22:51:44.000000Z
+0d402c1dc3ba5fa92a22721ee7faf47c
+2007-05-08T15:42:58.740059Z
+240
+jendave
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+92
+
+Help.bat
+file
+
+
+
+
+2010-09-10T22:51:44.000000Z
+237f9b0bc08ef577209cf7119efbd456
+2007-02-13T20:58:03.716560Z
+205
+jendave
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+32
+
+autotools.bat
+file
+
+
+
+
+2010-09-10T22:51:44.000000Z
+3604bb1d38df33793e62c25e08362f59
+2007-02-13T20:58:03.716560Z
+205
+jendave
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+112
+
+Prebuild.nsi
+file
+
+
+
+
+2010-09-10T22:51:44.000000Z
+572ab49b75b83aece148667c55cb800b
+2006-06-28T00:12:05.085067Z
+116
+jendave
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+6208
+
+VS2010.bat
+file
+
+
+
+
+2010-09-10T22:51:44.000000Z
+f6f61e3b45a19c4c011c9143da1ab274
+2010-05-08T05:43:01.449559Z
+316
+jhurliman
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+192
+
+MonoDevelop.sh
+file
+
+
+
+
+2010-09-10T22:51:44.000000Z
+1499f30edeaae42e200fa27a7c605fba
+2007-02-13T20:58:03.716560Z
+205
+jendave
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+79
+
+VS2002.bat
+file
+
+
+
+
+2010-09-10T22:51:44.000000Z
+3ebbd6c68560aaf1ec9089cdd64f5fcd
+2007-02-13T20:58:03.716560Z
+205
+jendave
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+189
+
+SharpDevelop.bat
+file
+
+
+
+
+2010-09-10T22:51:44.000000Z
+68ebe8c542c03966bf15bfae465c6616
+2007-02-13T20:58:03.716560Z
+205
+jendave
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+220
+
+autotools.sh
+file
+
+
+
+
+2010-09-10T22:51:44.000000Z
+3e82233011b4b61378fdfafec75105c3
+2008-02-07T16:31:29.630257Z
+256
+cjcollier
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+163
+
+VS2003.bat
+file
+
+
+
+
+2010-09-10T22:51:44.000000Z
+d98909ce1a987763796c2d51bd51e861
+2006-12-30T09:17:33.472696Z
+196
+jendave
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+189
+
+VS2005.bat
+file
+
+
+
+
+2010-09-10T22:51:44.000000Z
+3a9c76a2bc4a7b72dacb5f9080b212a4
+2007-02-13T20:58:03.716560Z
+205
+jendave
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+203
+
+nant.bat
+file
+
+
+
+
+2010-09-10T22:51:44.000000Z
+b42b576139291f54b283c4e557f02140
+2007-02-13T20:58:03.716560Z
+205
+jendave
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+103
+
+VS2008.bat
+file
+
+
+
+
+2010-09-10T22:51:44.000000Z
+b239b3d67274fdac817fa0b41864bb01
+2009-02-09T18:52:49.114435Z
+288
+diakopter
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+192
+
+xcode.bat
+file
+
+
+
+
+2010-09-10T22:51:44.000000Z
+adbdd25e0777620fafc9d087142d0747
+2007-05-08T15:42:58.740059Z
+240
+jendave
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+103
+
+nant.sh
+file
+
+
+
+
+2010-09-10T22:51:44.000000Z
+94a22105b89b89938829d63f70a628dc
+2007-02-13T20:58:03.716560Z
+205
+jendave
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+61
+
+xcode.sh
+file
+
+
+
+
+2010-09-10T22:51:44.000000Z
+7f7b529278d58af6d9313e2a93f7f296
+2007-05-08T15:42:58.740059Z
+240
+jendave
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+62
+

+ 13 - 0
Prebuild/scripts/.svn/prop-base/Clean.bat.svn-base

@@ -0,0 +1,13 @@
+K 13
+svn:eol-style
+V 6
+native
+K 14
+svn:executable
+V 1
+*
+K 12
+svn:keywords
+V 23
+Author Date Id Revision
+END

+ 9 - 0
Prebuild/scripts/.svn/prop-base/Clean.sh.svn-base

@@ -0,0 +1,9 @@
+K 13
+svn:eol-style
+V 6
+native
+K 14
+svn:executable
+V 1
+*
+END

+ 13 - 0
Prebuild/scripts/.svn/prop-base/Help.bat.svn-base

@@ -0,0 +1,13 @@
+K 13
+svn:eol-style
+V 6
+native
+K 14
+svn:executable
+V 1
+*
+K 12
+svn:keywords
+V 23
+Author Date Id Revision
+END

+ 13 - 0
Prebuild/scripts/.svn/prop-base/MonoDevelop.sh.svn-base

@@ -0,0 +1,13 @@
+K 13
+svn:eol-style
+V 6
+native
+K 14
+svn:executable
+V 1
+*
+K 12
+svn:keywords
+V 23
+Author Date Id Revision
+END

+ 9 - 0
Prebuild/scripts/.svn/prop-base/Prebuild.nsi.svn-base

@@ -0,0 +1,9 @@
+K 13
+svn:eol-style
+V 6
+native
+K 12
+svn:keywords
+V 23
+Author Date Id Revision
+END

+ 13 - 0
Prebuild/scripts/.svn/prop-base/SharpDevelop.bat.svn-base

@@ -0,0 +1,13 @@
+K 13
+svn:eol-style
+V 6
+native
+K 14
+svn:executable
+V 1
+*
+K 12
+svn:keywords
+V 23
+Author Date Id Revision
+END

+ 5 - 0
Prebuild/scripts/.svn/prop-base/SharpDevelop2.bat.svn-base

@@ -0,0 +1,5 @@
+K 14
+svn:executable
+V 1
+*
+END

+ 13 - 0
Prebuild/scripts/.svn/prop-base/VS2002.bat.svn-base

@@ -0,0 +1,13 @@
+K 13
+svn:eol-style
+V 6
+native
+K 14
+svn:executable
+V 1
+*
+K 12
+svn:keywords
+V 23
+Author Date Id Revision
+END

+ 13 - 0
Prebuild/scripts/.svn/prop-base/VS2003.bat.svn-base

@@ -0,0 +1,13 @@
+K 13
+svn:eol-style
+V 6
+native
+K 14
+svn:executable
+V 1
+*
+K 12
+svn:keywords
+V 23
+Author Date Id Revision
+END

+ 13 - 0
Prebuild/scripts/.svn/prop-base/VS2005.bat.svn-base

@@ -0,0 +1,13 @@
+K 13
+svn:eol-style
+V 6
+native
+K 14
+svn:executable
+V 1
+*
+K 12
+svn:keywords
+V 23
+Author Date Id Revision
+END

+ 5 - 0
Prebuild/scripts/.svn/prop-base/VS2008.bat.svn-base

@@ -0,0 +1,5 @@
+K 14
+svn:executable
+V 1
+*
+END

+ 5 - 0
Prebuild/scripts/.svn/prop-base/autotools.bat.svn-base

@@ -0,0 +1,5 @@
+K 14
+svn:executable
+V 1
+*
+END

+ 5 - 0
Prebuild/scripts/.svn/prop-base/autotools.sh.svn-base

@@ -0,0 +1,5 @@
+K 14
+svn:executable
+V 1
+*
+END

+ 9 - 0
Prebuild/scripts/.svn/prop-base/makefile.bat.svn-base

@@ -0,0 +1,9 @@
+K 13
+svn:eol-style
+V 6
+native
+K 14
+svn:executable
+V 1
+*
+END

+ 9 - 0
Prebuild/scripts/.svn/prop-base/makefile.sh.svn-base

@@ -0,0 +1,9 @@
+K 13
+svn:eol-style
+V 6
+native
+K 14
+svn:executable
+V 1
+*
+END

+ 13 - 0
Prebuild/scripts/.svn/prop-base/nant.bat.svn-base

@@ -0,0 +1,13 @@
+K 13
+svn:eol-style
+V 6
+native
+K 14
+svn:executable
+V 1
+*
+K 12
+svn:keywords
+V 23
+Author Date Id Revision
+END

+ 13 - 0
Prebuild/scripts/.svn/prop-base/nant.sh.svn-base

@@ -0,0 +1,13 @@
+K 13
+svn:eol-style
+V 6
+native
+K 14
+svn:executable
+V 1
+*
+K 12
+svn:keywords
+V 23
+Author Date Id Revision
+END

+ 9 - 0
Prebuild/scripts/.svn/prop-base/xcode.bat.svn-base

@@ -0,0 +1,9 @@
+K 13
+svn:eol-style
+V 6
+native
+K 14
+svn:executable
+V 1
+*
+END

+ 9 - 0
Prebuild/scripts/.svn/prop-base/xcode.sh.svn-base

@@ -0,0 +1,9 @@
+K 13
+svn:eol-style
+V 6
+native
+K 14
+svn:executable
+V 1
+*
+END

+ 2 - 0
Prebuild/scripts/.svn/text-base/Clean.bat.svn-base

@@ -0,0 +1,2 @@
+cd ..
+Prebuild.exe /clean /yes /removedir obj /file prebuild.xml /build NET_2_0 /pause

+ 4 - 0
Prebuild/scripts/.svn/text-base/Clean.sh.svn-base

@@ -0,0 +1,4 @@
+#!/bin/sh
+
+./prebuild /clean /removedir obj /file ../prebuild.xml /pause
+rm -rf ../Makefile

+ 2 - 0
Prebuild/scripts/.svn/text-base/Help.bat.svn-base

@@ -0,0 +1,2 @@
+cd ..
+Prebuild.exe /usage /pause

+ 2 - 0
Prebuild/scripts/.svn/text-base/MonoDevelop.sh.svn-base

@@ -0,0 +1,2 @@
+#!/bin/sh
+prebuild /target monodev /file ../prebuild.xml /build NET_1_1 /pause

+ 231 - 0
Prebuild/scripts/.svn/text-base/Prebuild.nsi.svn-base

@@ -0,0 +1,231 @@
+!verbose 3
+
+!define PRODUCT_NAME "Prebuild"
+!define PRODUCT_VERSION "1.3.1"
+!define PRODUCT_PUBLISHER "Prebuild"
+!define PRODUCT_PACKAGE "prebuild"
+!define PRODUCT_WEB_SITE "http://dnpb.sourceforge.net"
+!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\Prebuild"
+!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\Prebuild"
+!define PRODUCT_UNINST_ROOT_KEY "HKLM"
+!define PRODUCT_PATH ".."
+
+;!define MUI_WELCOMEFINISHPAGE_BITMAP "PrebuildLogo.bmp"
+;!define MUI_WELCOMEFINISHPAGE_BITMAP_NOSTRETCH
+;!define MUI_UNWELCOMEFINISHPAGE_BITMAP "PrebuildLogo.bmp"
+;!define MUI_UNWELCOMEFINISHPAGE_BITMAP_NOSTRETCH
+
+BrandingText "© 2003-2006 David Hudson, http://dnpb.sourceforge.net/"
+SetCompressor lzma
+CRCCheck on
+
+; File Association defines
+;!include "fileassoc.nsh"
+
+; MUI 1.67 compatible ------
+!include "MUI.nsh"
+
+; MUI Settings
+!define MUI_ABORTWARNING
+!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
+!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
+
+;--------------------------------
+;Variables
+
+;--------------------------------
+;Installer Pages
+
+; Welcome page
+!insertmacro MUI_PAGE_WELCOME
+; License page
+!insertmacro MUI_PAGE_LICENSE "..\doc\license.txt"
+; Directory page
+!insertmacro MUI_PAGE_DIRECTORY
+
+; Instfiles page
+!insertmacro MUI_PAGE_INSTFILES
+
+; Finish page
+!insertmacro MUI_PAGE_FINISH
+
+;------------------------------------
+; Uninstaller pages
+!insertmacro MUI_UNPAGE_CONFIRM
+!insertmacro MUI_UNPAGE_INSTFILES
+!insertmacro MUI_UNPAGE_FINISH
+;------------------------------------
+
+; Language files
+!insertmacro MUI_LANGUAGE "English"
+
+; Reserve files
+!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
+
+; MUI end ------
+
+Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
+OutFile "..\${PRODUCT_PACKAGE}-${PRODUCT_VERSION}-setup.exe"
+InstallDir "$PROGRAMFILES\Prebuild"
+InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
+ShowInstDetails show
+ShowUnInstDetails show
+
+; .NET Framework check
+; http://msdn.microsoft.com/netframework/default.aspx?pull=/library/en-us/dnnetdep/html/redistdeploy1_1.asp
+; Section "Detecting that the .NET Framework 1.1 is installed"
+Function .onInit
+	ReadRegDWORD $R0 HKLM "SOFTWARE\Microsoft\NET Framework Setup\NDP\v1.1.4322" Install
+	StrCmp $R0 "" 0 CheckPreviousVersion
+	MessageBox MB_OK "Microsoft .NET Framework 1.1 was not found on this system.$\r$\n$\r$\nUnable to continue this installation."
+	Abort
+
+  CheckPreviousVersion:
+	ReadRegStr $R0 ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName"
+	StrCmp $R0 "" CheckOSVersion 0
+	MessageBox MB_OK "An old version of Prebuild is installed on this computer, please uninstall first.$\r$\n$\r$\nUnable to continue this installation."
+	Abort
+	
+  CheckOSVersion:
+        Call IsSupportedWindowsVersion
+        Pop $R0
+        StrCmp $R0 "False" NoAbort 0
+	MessageBox MB_OK "The operating system you are using is not supported by Prebuild (95/98/ME/NT3.x/NT4.x)."
+        Abort
+
+  NoAbort:
+FunctionEnd
+
+Section "Source" SecSource
+  SetOverwrite ifnewer
+  SetOutPath "$INSTDIR\src"
+  File /r /x *.swp /x .svn /x *.xml /x *.csproj /x *.user /x *.build /x *.prjx /x *.mdp /x bin /x obj /x *.nsi ${PRODUCT_PATH}\src\*.*
+
+  ;Store installation folder
+  WriteRegStr HKCU "Software\Prebuild" "" $INSTDIR
+  
+SectionEnd
+
+Section "Runtime" SecRuntime
+  SetOverwrite ifnewer
+  SetOutPath "$INSTDIR"
+  File /r /x *.swp /x .svn /x *.nsi /x src /x *.sln /x *.cmbx /x *.mds ${PRODUCT_PATH}\Prebuild.exe ${PRODUCT_PATH}\prebuild.xml
+
+  ;Store installation folder
+  WriteRegStr HKCU "Software\Prebuild" "" $INSTDIR
+  
+SectionEnd
+
+Section "Documentation" SecDocs
+  SetOverwrite ifnewer
+  SetOutPath "$INSTDIR\doc"
+  File /r /x *.swp /x .svn /x *.exe ${PRODUCT_PATH}\doc\*.*
+
+  ;Store installation folder
+  WriteRegStr HKCU "Software\Prebuild" "" $INSTDIR
+SectionEnd
+
+Section "Scripts" SecScripts
+  SetOverwrite ifnewer
+  SetOutPath "$INSTDIR\scripts"
+  File /r /x *.swp /x .svn /x *.nsi /x *.exe ${PRODUCT_PATH}\scripts\*.*
+
+  ;Store installation folder
+  WriteRegStr HKCU "Software\Prebuild" "" $INSTDIR
+SectionEnd
+
+;Language strings
+
+Section -AdditionalIcons
+  WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
+SectionEnd
+
+Section -Post
+  WriteUninstaller "$INSTDIR\uninst.exe"
+  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
+  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
+  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
+  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
+  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
+SectionEnd
+
+Section Uninstall
+
+  DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
+  DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
+  RMDir /r "$INSTDIR"
+
+SectionEnd
+
+; GetWindowsVersion, taken from NSIS help, modified for our purposes
+Function IsSupportedWindowsVersion
+
+   Push $R0
+   Push $R1
+
+   ReadRegStr $R0 HKLM \
+   "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion
+
+   IfErrors 0 lbl_winnt
+
+   ; we are not NT
+   ReadRegStr $R0 HKLM \
+   "SOFTWARE\Microsoft\Windows\CurrentVersion" VersionNumber
+
+   StrCpy $R1 $R0 1
+   StrCmp $R1 '4' 0 lbl_error
+
+   StrCpy $R1 $R0 3
+
+   StrCmp $R1 '4.0' lbl_win32_95
+   StrCmp $R1 '4.9' lbl_win32_ME lbl_win32_98
+
+   lbl_win32_95:
+     StrCpy $R0 'False'
+   Goto lbl_done
+
+   lbl_win32_98:
+     StrCpy $R0 'False'
+   Goto lbl_done
+
+   lbl_win32_ME:
+     StrCpy $R0 'False'
+   Goto lbl_done
+
+   lbl_winnt:
+
+   StrCpy $R1 $R0 1
+
+   StrCmp $R1 '3' lbl_winnt_x
+   StrCmp $R1 '4' lbl_winnt_x
+
+   StrCpy $R1 $R0 3
+
+   StrCmp $R1 '5.0' lbl_winnt_2000
+   StrCmp $R1 '5.1' lbl_winnt_XP
+   StrCmp $R1 '5.2' lbl_winnt_2003 lbl_error
+
+   lbl_winnt_x:
+     StrCpy $R0 'False'
+   Goto lbl_done
+
+   lbl_winnt_2000:
+     Strcpy $R0 'True'
+   Goto lbl_done
+
+   lbl_winnt_XP:
+     Strcpy $R0 'True'
+   Goto lbl_done
+
+   lbl_winnt_2003:
+     Strcpy $R0 'True'
+   Goto lbl_done
+
+   lbl_error:
+     Strcpy $R0 'False'
+   lbl_done:
+
+   Pop $R1
+   Exch $R0
+
+FunctionEnd

+ 4 - 0
Prebuild/scripts/.svn/text-base/SharpDevelop.bat.svn-base

@@ -0,0 +1,4 @@
+@rem Generates a combine (.cmbx) and a set of project files (.prjx) 
+@rem for SharpDevelop (http://icsharpcode.net/OpenSource/SD/Default.aspx)
+cd ..
+Prebuild.exe /target sharpdev /file prebuild.xml /build NET_1_1 /pause

+ 4 - 0
Prebuild/scripts/.svn/text-base/SharpDevelop2.bat.svn-base

@@ -0,0 +1,4 @@
+@rem Generates a combine (.cmbx) and a set of project files (.prjx) 
+@rem for SharpDevelop (http://icsharpcode.net/OpenSource/SD/Default.aspx)
+cd ..
+Prebuild.exe /target sharpdev2 /file prebuild.xml /pause

+ 4 - 0
Prebuild/scripts/.svn/text-base/VS2002.bat.svn-base

@@ -0,0 +1,4 @@
+@rem Generates a solution (.sln) and a set of project files (.csproj) 
+@rem for Microsoft Visual Studio .NET 2002
+cd ..
+Prebuild.exe /target vs2002 /file prebuild.xml /build NET_1_1 /pause

+ 4 - 0
Prebuild/scripts/.svn/text-base/VS2003.bat.svn-base

@@ -0,0 +1,4 @@
+@rem Generates a solution (.sln) and a set of project files (.csproj) 
+@rem for Microsoft Visual Studio .NET 2002
+cd ..
+Prebuild.exe /target vs2003 /file prebuild.xml /build NET_1_1 /pause

+ 4 - 0
Prebuild/scripts/.svn/text-base/VS2005.bat.svn-base

@@ -0,0 +1,4 @@
+@rem Generates a solution (.sln) and a set of project files (.csproj, .vbproj, etc.)
+@rem for Microsoft Visual Studio .NET 2005
+cd ..
+Prebuild.exe /target vs2005 /file prebuild.xml /build NET_2_0 /pause

+ 4 - 0
Prebuild/scripts/.svn/text-base/VS2008.bat.svn-base

@@ -0,0 +1,4 @@
+@rem Generates a solution (.sln) and a set of project files (.csproj, .vbproj, etc.)
+@rem for Microsoft Visual Studio .NET 2008
+cd ..
+Prebuild.exe /target vs2008 /file prebuild.xml /pause

+ 4 - 0
Prebuild/scripts/.svn/text-base/VS2010.bat.svn-base

@@ -0,0 +1,4 @@
+@rem Generates a solution (.sln) and a set of project files (.csproj, .vbproj, etc.)
+@rem for Microsoft Visual Studio .NET 2010
+cd ..
+Prebuild.exe /target vs2010 /file prebuild.xml /pause

+ 4 - 0
Prebuild/scripts/.svn/text-base/autotools.bat.svn-base

@@ -0,0 +1,4 @@
+@rem Generates Makefiles 
+@rem for autotools
+cd ..
+Prebuild.exe /target autotools /file prebuild.xml /pause

+ 5 - 0
Prebuild/scripts/.svn/text-base/autotools.sh.svn-base

@@ -0,0 +1,5 @@
+#!/bin/sh
+RUNTIME=`which mono`
+
+SCRIPTDIR=`dirname $0`
+${RUNTIME} ${SCRIPTDIR}/../Prebuild.exe /target autotools /file ${SCRIPTDIR}/../prebuild.xml /build NET_2_0

+ 4 - 0
Prebuild/scripts/.svn/text-base/makefile.bat.svn-base

@@ -0,0 +1,4 @@
+@rem Generates makefiles 
+@rem for make
+cd ..
+Prebuild.exe /target makefile /file prebuild.xml /pause

+ 10 - 0
Prebuild/scripts/.svn/text-base/makefile.sh.svn-base

@@ -0,0 +1,10 @@
+#!/bin/sh
+
+./prebuild /target makefile /file ../prebuild.xml /pause
+
+if [ -f ../Makefile ]
+then
+    rm -rf ../Makefile
+fi
+
+mv ../Prebuild.make ../Makefile

+ 4 - 0
Prebuild/scripts/.svn/text-base/nant.bat.svn-base

@@ -0,0 +1,4 @@
+@rem Generates a .build files 
+@rem for NAnt
+cd ..
+Prebuild.exe /target nant /file prebuild.xml /pause

+ 2 - 0
Prebuild/scripts/.svn/text-base/nant.sh.svn-base

@@ -0,0 +1,2 @@
+#!/bin/sh
+prebuild /target nant /file ../prebuild.xml /pause

+ 4 - 0
Prebuild/scripts/.svn/text-base/xcode.bat.svn-base

@@ -0,0 +1,4 @@
+@rem Generates a Xcode files 
+@rem for NAnt
+cd ..
+Prebuild.exe /target xcode /file prebuild.xml /pause

+ 2 - 0
Prebuild/scripts/.svn/text-base/xcode.sh.svn-base

@@ -0,0 +1,2 @@
+#!/bin/sh
+prebuild /target xcode /file ../prebuild.xml /pause

+ 2 - 0
Prebuild/scripts/Clean.bat

@@ -0,0 +1,2 @@
+cd ..
+Prebuild.exe /clean /yes /removedir obj /file prebuild.xml /build NET_2_0 /pause

+ 4 - 0
Prebuild/scripts/Clean.sh

@@ -0,0 +1,4 @@
+#!/bin/sh
+
+./prebuild /clean /removedir obj /file ../prebuild.xml /pause
+rm -rf ../Makefile

+ 2 - 0
Prebuild/scripts/Help.bat

@@ -0,0 +1,2 @@
+cd ..
+Prebuild.exe /usage /pause

+ 2 - 0
Prebuild/scripts/MonoDevelop.sh

@@ -0,0 +1,2 @@
+#!/bin/sh
+prebuild /target monodev /file ../prebuild.xml /build NET_1_1 /pause

+ 231 - 0
Prebuild/scripts/Prebuild.nsi

@@ -0,0 +1,231 @@
+!verbose 3
+
+!define PRODUCT_NAME "Prebuild"
+!define PRODUCT_VERSION "1.3.1"
+!define PRODUCT_PUBLISHER "Prebuild"
+!define PRODUCT_PACKAGE "prebuild"
+!define PRODUCT_WEB_SITE "http://dnpb.sourceforge.net"
+!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\Prebuild"
+!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\Prebuild"
+!define PRODUCT_UNINST_ROOT_KEY "HKLM"
+!define PRODUCT_PATH ".."
+
+;!define MUI_WELCOMEFINISHPAGE_BITMAP "PrebuildLogo.bmp"
+;!define MUI_WELCOMEFINISHPAGE_BITMAP_NOSTRETCH
+;!define MUI_UNWELCOMEFINISHPAGE_BITMAP "PrebuildLogo.bmp"
+;!define MUI_UNWELCOMEFINISHPAGE_BITMAP_NOSTRETCH
+
+BrandingText "© 2003-2006 David Hudson, http://dnpb.sourceforge.net/"
+SetCompressor lzma
+CRCCheck on
+
+; File Association defines
+;!include "fileassoc.nsh"
+
+; MUI 1.67 compatible ------
+!include "MUI.nsh"
+
+; MUI Settings
+!define MUI_ABORTWARNING
+!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
+!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
+
+;--------------------------------
+;Variables
+
+;--------------------------------
+;Installer Pages
+
+; Welcome page
+!insertmacro MUI_PAGE_WELCOME
+; License page
+!insertmacro MUI_PAGE_LICENSE "..\doc\license.txt"
+; Directory page
+!insertmacro MUI_PAGE_DIRECTORY
+
+; Instfiles page
+!insertmacro MUI_PAGE_INSTFILES
+
+; Finish page
+!insertmacro MUI_PAGE_FINISH
+
+;------------------------------------
+; Uninstaller pages
+!insertmacro MUI_UNPAGE_CONFIRM
+!insertmacro MUI_UNPAGE_INSTFILES
+!insertmacro MUI_UNPAGE_FINISH
+;------------------------------------
+
+; Language files
+!insertmacro MUI_LANGUAGE "English"
+
+; Reserve files
+!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
+
+; MUI end ------
+
+Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
+OutFile "..\${PRODUCT_PACKAGE}-${PRODUCT_VERSION}-setup.exe"
+InstallDir "$PROGRAMFILES\Prebuild"
+InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
+ShowInstDetails show
+ShowUnInstDetails show
+
+; .NET Framework check
+; http://msdn.microsoft.com/netframework/default.aspx?pull=/library/en-us/dnnetdep/html/redistdeploy1_1.asp
+; Section "Detecting that the .NET Framework 1.1 is installed"
+Function .onInit
+	ReadRegDWORD $R0 HKLM "SOFTWARE\Microsoft\NET Framework Setup\NDP\v1.1.4322" Install
+	StrCmp $R0 "" 0 CheckPreviousVersion
+	MessageBox MB_OK "Microsoft .NET Framework 1.1 was not found on this system.$\r$\n$\r$\nUnable to continue this installation."
+	Abort
+
+  CheckPreviousVersion:
+	ReadRegStr $R0 ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName"
+	StrCmp $R0 "" CheckOSVersion 0
+	MessageBox MB_OK "An old version of Prebuild is installed on this computer, please uninstall first.$\r$\n$\r$\nUnable to continue this installation."
+	Abort
+	
+  CheckOSVersion:
+        Call IsSupportedWindowsVersion
+        Pop $R0
+        StrCmp $R0 "False" NoAbort 0
+	MessageBox MB_OK "The operating system you are using is not supported by Prebuild (95/98/ME/NT3.x/NT4.x)."
+        Abort
+
+  NoAbort:
+FunctionEnd
+
+Section "Source" SecSource
+  SetOverwrite ifnewer
+  SetOutPath "$INSTDIR\src"
+  File /r /x *.swp /x .svn /x *.xml /x *.csproj /x *.user /x *.build /x *.prjx /x *.mdp /x bin /x obj /x *.nsi ${PRODUCT_PATH}\src\*.*
+
+  ;Store installation folder
+  WriteRegStr HKCU "Software\Prebuild" "" $INSTDIR
+  
+SectionEnd
+
+Section "Runtime" SecRuntime
+  SetOverwrite ifnewer
+  SetOutPath "$INSTDIR"
+  File /r /x *.swp /x .svn /x *.nsi /x src /x *.sln /x *.cmbx /x *.mds ${PRODUCT_PATH}\Prebuild.exe ${PRODUCT_PATH}\prebuild.xml
+
+  ;Store installation folder
+  WriteRegStr HKCU "Software\Prebuild" "" $INSTDIR
+  
+SectionEnd
+
+Section "Documentation" SecDocs
+  SetOverwrite ifnewer
+  SetOutPath "$INSTDIR\doc"
+  File /r /x *.swp /x .svn /x *.exe ${PRODUCT_PATH}\doc\*.*
+
+  ;Store installation folder
+  WriteRegStr HKCU "Software\Prebuild" "" $INSTDIR
+SectionEnd
+
+Section "Scripts" SecScripts
+  SetOverwrite ifnewer
+  SetOutPath "$INSTDIR\scripts"
+  File /r /x *.swp /x .svn /x *.nsi /x *.exe ${PRODUCT_PATH}\scripts\*.*
+
+  ;Store installation folder
+  WriteRegStr HKCU "Software\Prebuild" "" $INSTDIR
+SectionEnd
+
+;Language strings
+
+Section -AdditionalIcons
+  WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
+SectionEnd
+
+Section -Post
+  WriteUninstaller "$INSTDIR\uninst.exe"
+  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
+  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
+  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
+  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
+  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
+SectionEnd
+
+Section Uninstall
+
+  DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
+  DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
+  RMDir /r "$INSTDIR"
+
+SectionEnd
+
+; GetWindowsVersion, taken from NSIS help, modified for our purposes
+Function IsSupportedWindowsVersion
+
+   Push $R0
+   Push $R1
+
+   ReadRegStr $R0 HKLM \
+   "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion
+
+   IfErrors 0 lbl_winnt
+
+   ; we are not NT
+   ReadRegStr $R0 HKLM \
+   "SOFTWARE\Microsoft\Windows\CurrentVersion" VersionNumber
+
+   StrCpy $R1 $R0 1
+   StrCmp $R1 '4' 0 lbl_error
+
+   StrCpy $R1 $R0 3
+
+   StrCmp $R1 '4.0' lbl_win32_95
+   StrCmp $R1 '4.9' lbl_win32_ME lbl_win32_98
+
+   lbl_win32_95:
+     StrCpy $R0 'False'
+   Goto lbl_done
+
+   lbl_win32_98:
+     StrCpy $R0 'False'
+   Goto lbl_done
+
+   lbl_win32_ME:
+     StrCpy $R0 'False'
+   Goto lbl_done
+
+   lbl_winnt:
+
+   StrCpy $R1 $R0 1
+
+   StrCmp $R1 '3' lbl_winnt_x
+   StrCmp $R1 '4' lbl_winnt_x
+
+   StrCpy $R1 $R0 3
+
+   StrCmp $R1 '5.0' lbl_winnt_2000
+   StrCmp $R1 '5.1' lbl_winnt_XP
+   StrCmp $R1 '5.2' lbl_winnt_2003 lbl_error
+
+   lbl_winnt_x:
+     StrCpy $R0 'False'
+   Goto lbl_done
+
+   lbl_winnt_2000:
+     Strcpy $R0 'True'
+   Goto lbl_done
+
+   lbl_winnt_XP:
+     Strcpy $R0 'True'
+   Goto lbl_done
+
+   lbl_winnt_2003:
+     Strcpy $R0 'True'
+   Goto lbl_done
+
+   lbl_error:
+     Strcpy $R0 'False'
+   lbl_done:
+
+   Pop $R1
+   Exch $R0
+
+FunctionEnd

+ 4 - 0
Prebuild/scripts/SharpDevelop.bat

@@ -0,0 +1,4 @@
+@rem Generates a combine (.cmbx) and a set of project files (.prjx) 
+@rem for SharpDevelop (http://icsharpcode.net/OpenSource/SD/Default.aspx)
+cd ..
+Prebuild.exe /target sharpdev /file prebuild.xml /build NET_1_1 /pause

+ 4 - 0
Prebuild/scripts/SharpDevelop2.bat

@@ -0,0 +1,4 @@
+@rem Generates a combine (.cmbx) and a set of project files (.prjx) 
+@rem for SharpDevelop (http://icsharpcode.net/OpenSource/SD/Default.aspx)
+cd ..
+Prebuild.exe /target sharpdev2 /file prebuild.xml /pause

+ 4 - 0
Prebuild/scripts/VS2002.bat

@@ -0,0 +1,4 @@
+@rem Generates a solution (.sln) and a set of project files (.csproj) 
+@rem for Microsoft Visual Studio .NET 2002
+cd ..
+Prebuild.exe /target vs2002 /file prebuild.xml /build NET_1_1 /pause

+ 4 - 0
Prebuild/scripts/VS2003.bat

@@ -0,0 +1,4 @@
+@rem Generates a solution (.sln) and a set of project files (.csproj) 
+@rem for Microsoft Visual Studio .NET 2002
+cd ..
+Prebuild.exe /target vs2003 /file prebuild.xml /build NET_1_1 /pause

+ 4 - 0
Prebuild/scripts/VS2005.bat

@@ -0,0 +1,4 @@
+@rem Generates a solution (.sln) and a set of project files (.csproj, .vbproj, etc.)
+@rem for Microsoft Visual Studio .NET 2005
+cd ..
+Prebuild.exe /target vs2005 /file prebuild.xml /build NET_2_0 /pause

+ 4 - 0
Prebuild/scripts/VS2008.bat

@@ -0,0 +1,4 @@
+@rem Generates a solution (.sln) and a set of project files (.csproj, .vbproj, etc.)
+@rem for Microsoft Visual Studio .NET 2008
+cd ..
+Prebuild.exe /target vs2008 /file prebuild.xml /pause

+ 4 - 0
Prebuild/scripts/VS2010.bat

@@ -0,0 +1,4 @@
+@rem Generates a solution (.sln) and a set of project files (.csproj, .vbproj, etc.)
+@rem for Microsoft Visual Studio .NET 2010
+cd ..
+Prebuild.exe /target vs2010 /file prebuild.xml /pause

+ 4 - 0
Prebuild/scripts/autotools.bat

@@ -0,0 +1,4 @@
+@rem Generates Makefiles 
+@rem for autotools
+cd ..
+Prebuild.exe /target autotools /file prebuild.xml /pause

+ 5 - 0
Prebuild/scripts/autotools.sh

@@ -0,0 +1,5 @@
+#!/bin/sh
+RUNTIME=`which mono`
+
+SCRIPTDIR=`dirname $0`
+${RUNTIME} ${SCRIPTDIR}/../Prebuild.exe /target autotools /file ${SCRIPTDIR}/../prebuild.xml /build NET_2_0

+ 4 - 0
Prebuild/scripts/makefile.bat

@@ -0,0 +1,4 @@
+@rem Generates makefiles 
+@rem for make
+cd ..
+Prebuild.exe /target makefile /file prebuild.xml /pause

+ 10 - 0
Prebuild/scripts/makefile.sh

@@ -0,0 +1,10 @@
+#!/bin/sh
+
+./prebuild /target makefile /file ../prebuild.xml /pause
+
+if [ -f ../Makefile ]
+then
+    rm -rf ../Makefile
+fi
+
+mv ../Prebuild.make ../Makefile

+ 4 - 0
Prebuild/scripts/nant.bat

@@ -0,0 +1,4 @@
+@rem Generates a .build files 
+@rem for NAnt
+cd ..
+Prebuild.exe /target nant /file prebuild.xml /pause

+ 2 - 0
Prebuild/scripts/nant.sh

@@ -0,0 +1,2 @@
+#!/bin/sh
+prebuild /target nant /file ../prebuild.xml /pause

+ 4 - 0
Prebuild/scripts/xcode.bat

@@ -0,0 +1,4 @@
+@rem Generates a Xcode files 
+@rem for NAnt
+cd ..
+Prebuild.exe /target xcode /file prebuild.xml /pause

+ 2 - 0
Prebuild/scripts/xcode.sh

@@ -0,0 +1,2 @@
+#!/bin/sh
+prebuild /target xcode /file ../prebuild.xml /pause

+ 23 - 0
Prebuild/src/.svn/all-wcprops

@@ -0,0 +1,23 @@
+K 25
+svn:wc:ra_dav:version-url
+V 45
+/svnroot/dnpb/!svn/ver/323/trunk/Prebuild/src
+END
+Prebuild.snk
+K 25
+svn:wc:ra_dav:version-url
+V 57
+/svnroot/dnpb/!svn/ver/96/trunk/Prebuild/src/Prebuild.snk
+END
+App.ico
+K 25
+svn:wc:ra_dav:version-url
+V 52
+/svnroot/dnpb/!svn/ver/96/trunk/Prebuild/src/App.ico
+END
+Prebuild.cs
+K 25
+svn:wc:ra_dav:version-url
+V 57
+/svnroot/dnpb/!svn/ver/308/trunk/Prebuild/src/Prebuild.cs
+END

+ 16 - 0
Prebuild/src/.svn/dir-prop-base

@@ -0,0 +1,16 @@
+K 10
+svn:ignore
+V 121
+*.mdp
+*.mds
+*.pidb
+bin
+obj
+Include.am
+Prebuild.csproj
+Prebuild.csproj.user
+Prebuild.exe.build
+Prebuild.prjx
+Prebuild.xml
+
+END

+ 139 - 0
Prebuild/src/.svn/entries

@@ -0,0 +1,139 @@
+10
+
+dir
+323
+https://dnpb.svn.sourceforge.net/svnroot/dnpb/trunk/Prebuild/src
+https://dnpb.svn.sourceforge.net/svnroot/dnpb
+
+
+
+2010-09-10T17:51:36.189738Z
+323
+jhurliman
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+3355ff64-970d-0410-bbe8-d0fbd18be4fb
+
+Prebuild.snk
+file
+
+
+
+
+2010-09-10T22:51:45.000000Z
+89097ad015e09b35fc896e2128dea94d
+2006-01-19T19:45:13.000000Z
+45
+jendave
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+596
+
+Core
+dir
+
+data
+dir
+
+App.ico
+file
+
+
+
+
+2010-09-10T22:51:45.000000Z
+4ee5c8b292635af0bf1247d425ba2c0d
+2006-01-27T21:30:44.000000Z
+68
+jendave
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+4286
+
+Prebuild.cs
+file
+
+
+
+
+2010-09-10T22:51:45.000000Z
+55ae2c874ce7e9ab7f33cd6f75926733
+2009-04-15T01:33:14.373570Z
+308
+kunnis
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+5040
+
+Properties
+dir
+

+ 5 - 0
Prebuild/src/.svn/prop-base/App.ico.svn-base

@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END

+ 9 - 0
Prebuild/src/.svn/prop-base/Prebuild.cs.svn-base

@@ -0,0 +1,9 @@
+K 13
+svn:eol-style
+V 6
+native
+K 12
+svn:keywords
+V 23
+Author Date Id Revision
+END

+ 5 - 0
Prebuild/src/.svn/prop-base/Prebuild.snk.svn-base

@@ -0,0 +1,5 @@
+K 13
+svn:mime-type
+V 24
+application/octet-stream
+END

BIN
Prebuild/src/.svn/text-base/App.ico.svn-base


+ 165 - 0
Prebuild/src/.svn/text-base/Prebuild.cs.svn-base

@@ -0,0 +1,165 @@
+#region	BSD	License
+/*
+Copyright (c) 2004-2005	Matthew	Holmes ([email protected]),	Dan	Moorehead ([email protected])
+
+Redistribution and use in source and binary	forms, with	or without modification, are permitted
+provided that the following	conditions are met:
+
+* Redistributions of source	code must retain the above copyright notice, this list of conditions 
+  and the following	disclaimer.	
+* Redistributions in binary	form must reproduce	the	above copyright	notice,	this list of conditions	
+  and the following	disclaimer in the documentation	and/or other materials provided	with the 
+  distribution.	
+* The name of the author may not be	used to	endorse	or promote products	derived	from this software 
+  without specific prior written permission. 
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR	``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,	
+BUT	NOT	LIMITED	TO,	THE	IMPLIED	WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A	PARTICULAR PURPOSE 
+ARE	DISCLAIMED.	IN NO EVENT	SHALL THE AUTHOR BE	LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL	DAMAGES	(INCLUDING,	BUT	NOT	LIMITED	TO,	PROCUREMENT	OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA,	OR PROFITS;	OR BUSINESS	INTERRUPTION) HOWEVER CAUSED AND ON	ANY	THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR	TORT (INCLUDING	NEGLIGENCE OR OTHERWISE) ARISING
+IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,	EVEN IF	ADVISED	OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+#endregion
+
+#region	CVS	Information
+/*
+ * $Source$
+ * $Author$
+ * $Date$
+ * $Revision$
+ */
+#endregion
+
+using System;
+using System.Collections.Specialized;
+using System.IO;
+using System.Reflection;
+using System.Runtime.InteropServices;
+using System.EnterpriseServices.Internal;
+
+using Prebuild.Core;
+using Prebuild.Core.Utilities;
+
+namespace Prebuild 
+{
+	/// <summary>
+	/// 
+	/// </summary>
+	class Prebuild
+	{
+		#region	Main
+
+		[STAThread]
+		static void	Main(string[] args)	
+		{
+			Kernel	kernel = null;
+			try	
+			{
+				kernel = Kernel.Instance;
+				kernel.Initialize(LogTargets.File | LogTargets.Console, args);
+				bool exit =	false;
+
+				if(kernel.CommandLine.WasPassed("usage")) 
+				{
+					exit = true;
+					OutputUsage();
+				}
+				if(kernel.CommandLine.WasPassed("showtargets"))	
+				{
+					exit = true;
+					OutputTargets(kernel);
+				}
+				if(kernel.CommandLine.WasPassed("install")) 
+				{
+					exit = true;
+					InstallAssembly(kernel);
+				}
+				if(kernel.CommandLine.WasPassed("remove")) 
+				{
+					exit = true;
+					RemoveAssembly(kernel);
+				}
+
+				if(!exit)
+				{
+					kernel.Process();
+				}
+            }
+#if !DEBUG
+            catch (Exception ex)
+            {
+                Console.WriteLine("Unhandled error:	{0}", ex.Message);
+                Console.WriteLine("{0}", ex.StackTrace);
+            }
+#endif
+            finally
+            {
+				if(kernel != null && kernel.PauseAfterFinish)	
+				{
+					Console.WriteLine("\nPress enter to continue...");
+					Console.ReadLine();
+				}
+			}
+		}
+
+		#endregion
+
+		#region	Private	Methods
+
+		private static void InstallAssembly(Kernel kernel)
+		{
+			Publish publish = new Publish();
+			string file = kernel.CommandLine["install"];
+            //Console.WriteLine(".."+file+"..");
+			publish.GacInstall(file);
+		}
+
+		private static void RemoveAssembly(Kernel kernel)
+		{
+			Publish publish = new Publish();
+			string file = kernel.CommandLine["remove"];
+			publish.GacRemove(file);
+		}
+
+		private	static void	OutputUsage() 
+		{
+			Console.WriteLine("Usage: prebuild /target <target> [options]");
+			Console.WriteLine("Available command-line switches:");
+			Console.WriteLine();
+			Console.WriteLine("/target          Target for Prebuild");
+			Console.WriteLine("/clean           Clean the build files for the given target");
+			Console.WriteLine("/file            XML file to process");
+			Console.WriteLine("/log             Log file to write to");
+			Console.WriteLine("/ppo             Pre-process the file, but perform no other processing");
+			Console.WriteLine("/pause           Pauses the application after execution to view the output");
+			Console.WriteLine("/yes             Default to yes to any questions asked");
+			Console.WriteLine("/install         Install assembly into the GAC");
+			Console.WriteLine("/remove          Remove assembly from the GAC");
+			Console.WriteLine();
+			Console.WriteLine("See 'prebuild /showtargets for a list of available targets");
+			Console.WriteLine("See readme.txt or check out http://dnpb.sourceforge.net for more information");
+			Console.WriteLine();
+		}
+
+		private	static void	OutputTargets(Kernel kern)
+		{
+			Console.WriteLine("Targets available in Prebuild:");
+			Console.WriteLine("");
+			if(kern.Targets.Keys.Count > 0)
+			{
+				string[] targs = new string[kern.Targets.Keys.Count];
+				kern.Targets.Keys.CopyTo(targs,	0);
+				Array.Sort(targs);
+				foreach(string target in targs)
+				{
+					Console.WriteLine(target);
+				}
+			}
+			Console.WriteLine("");
+		}
+		
+		#endregion
+	}
+}

BIN
Prebuild/src/.svn/text-base/Prebuild.snk.svn-base


Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно