I need to somehow do the whole version thing for the generated
assemblies. There is a neat task for that in NAnt and I was just
wanting some guidance here. How do I achieve the following using boo
and Phantom?
http://codepaste.net/ftkkbo
I need to read the team city build number variable and then use that
for the assembly version.
<target name="buildnumber">
<if test="${property::exists('build.number')}">
<property name="project.fullversion" value="${build.number}" />
</if>
<asminfo output="${solution.dir}/AssemblyInfo.cs"
language="CSharp">
<imports>
<import namespace="System" />
<import namespace="System.Reflection" />
<import namespace="System.Runtime.InteropServices" />
</imports>
<attributes>
<attribute type="ComVisibleAttribute" value="false" />
<attribute type="AssemblyTitleAttribute"
value="Company.Project" />
<attribute type="AssemblyDescriptionAttribute" value="Some
silly description" />
<attribute type="AssemblyCompanyAttribute" value="Company
Name" />
<attribute type="AssemblyProductAttribute" value="Company
Name - Product Name" />
<attribute type="AssemblyVersionAttribute" value="$
{project.fullversion}" />
</attributes>
</asminfo>
</target>
To unsubscribe from this group, send email to phantom-discuss+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
On Mar 24, 11:33 am, Jeremy Skinner <jer...@jeremyskinner.co.uk>
wrote: