Hi, When I look at the merged assembly of an Asp.Net application the version of the dll is 0.0.0,
How do I configure the build script to set an assembly version or auto-increment one?
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="MergeWebSite" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PhysicalPath>C:\DEMO\DemoWebSite\DemoWebSite</PhysicalPath>
<TargetPath>C:\DEMO\DemoWebSite_Precompiled</TargetPath>
<VirtualPath>DemoWebSite</VirtualPath>
<Force>true</Force>
<Debug>false</Debug>
<AssemblyName>DemoWebSite</AssemblyName>
<ApplicationVersion>1.0.1.0</ApplicationVersion>
</PropertyGroup>
<Target Name="CompileWebSite">
<Message Text="Compiling $(VirtualPath)" />
<AspNetCompiler
PhysicalPath="$(PhysicalPath)"
TargetPath="$(TargetPath)"
VirtualPath="$(VirtualPath)"
Force="$(Force)"
Debug="$(Debug)"
/>
</Target>
<Target Name="MergeWebSite" DependsOnTargets ="CompileWebSite">
<Message Text="Merging compiled site" />
<Exec Command='aspnet_merge.exe "$(TargetPath)" -o $(AssemblyName)'
WorkingDirectory="C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin"
/>
</Target>
</Project>
I.W Coetzer