<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://springrts-wiki.p2004a.com/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=EjpQ76</id>
	<title>Spring - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://springrts-wiki.p2004a.com/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=EjpQ76"/>
	<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/wiki/Special:Contributions/EjpQ76"/>
	<updated>2026-11-08T21:34:58Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=CSAI_Build_Instructions&amp;diff=3958</id>
		<title>CSAI Build Instructions</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=CSAI_Build_Instructions&amp;diff=3958"/>
		<updated>2007-07-04T04:18:52Z</updated>

		<summary type="html">&lt;p&gt;EjpQ76: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building CSAI ==&lt;br /&gt;
&lt;br /&gt;
The CSAI zipfile comes with the binaries prebuilt.  You might wish to build CSAI if:&lt;br /&gt;
*you want to modify/extend the C# AI&lt;br /&gt;
*you want to extend the C  /C# AI interface&lt;br /&gt;
&lt;br /&gt;
=== You will need ===&lt;br /&gt;
&lt;br /&gt;
If you wish to modify the C# AI, ie the CSAI directory, you will need:&lt;br /&gt;
*Framework .Net 1.1 runtime (only need runtime, not SDK)&lt;br /&gt;
*nant&lt;br /&gt;
*Spring&lt;br /&gt;
*Contents of CSharpAI.zip&lt;br /&gt;
&lt;br /&gt;
If you want to extend the C  /C# interface, ie change the files in the CSAILoader or CSAIInterfaces directory, you will need in addition:&lt;br /&gt;
*Visual C   2003 compiler&lt;br /&gt;
*Microsoft Platform SDK&lt;br /&gt;
*Spring sourcecode&lt;br /&gt;
&lt;br /&gt;
nant will automatically detect if you changed files in the CSAILoader or CSAIInterfaces directory, so as long as you dont change files in these directories it wont ask you for the C   compiler.&lt;br /&gt;
&lt;br /&gt;
=== Build instructions, C# AI only ===&lt;br /&gt;
&lt;br /&gt;
Using nant:&lt;br /&gt;
&lt;br /&gt;
*open a cmd prompt and go to the unzipped CSharpAI directory&lt;br /&gt;
*open AllCSAI.build file with a text editor, and specify the locations of:&lt;br /&gt;
**spring (directory containing spring.exe)&lt;br /&gt;
*add nant to PATH&lt;br /&gt;
*type &amp;quot;nant&amp;quot; and press return&lt;br /&gt;
&lt;br /&gt;
The C# AI dll should build and be copied into the appropriate place in the Spring application directory tree.&lt;br /&gt;
&lt;br /&gt;
Alternatively, using Visual C# 2003:&lt;br /&gt;
&lt;br /&gt;
*Create a new project of type &amp;quot;class library&amp;quot; called &amp;quot;CSAI&amp;quot;&lt;br /&gt;
*Add CSAIInterfaces\CSAIInterfaces.dll as a Reference&lt;br /&gt;
*Add the .cs files in the CSAI to the project&lt;br /&gt;
*Select &amp;quot;Build&amp;quot;&lt;br /&gt;
*Manually copy the CSAI.dll and CSAI.pdb files from the project&#039;s Debug directory into the AI\CSAI subdirectory of the spring application directory&lt;br /&gt;
&lt;br /&gt;
=== Build instructions, C# AI and C# AI Interface ===&lt;br /&gt;
&lt;br /&gt;
*open the msvcvars.bat cmd prompt and go to the unzipped CSharpAI directory&lt;br /&gt;
*open AllCSAI.build file with a text editor, and specify the locations of:&lt;br /&gt;
**spring (directory containing spring.exe)&lt;br /&gt;
**spring sourcecode &lt;br /&gt;
**Microsoft Platform SDK&lt;br /&gt;
*add nant to PATH&lt;br /&gt;
*type &amp;quot;nant&amp;quot; and press return&lt;br /&gt;
&lt;br /&gt;
With everything configured ok, the dlls should build and be copied into the appropriate place in the Spring application directory tree.&lt;/div&gt;</summary>
		<author><name>EjpQ76</name></author>
	</entry>
</feed>