Math.NET Numerics
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
786 B

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Go" ToolsVersion="4.0">
<UsingTask AssemblyFile="$(MSBuildThisFileDirectory)/../MSBuild.Community.Tasks.v1.2.0.306/MSBuild.Community.Tasks.dll" TaskName="MSBuild.Community.Tasks.FileUpdate" />
<Target Name="Go" DependsOnTargets="PatchFSharpAssemblyInfo"/>
<!-- TeamCity AssemblyInfo patcher doesn't support F# yet, hence we do it manually: -->
<Target Name="PatchFSharpAssemblyInfo">
<ItemGroup>
<FSharpAssemblyInfoFiles Include="$(MSBuildThisFileDirectory)/../../src/FSharp/AssemblyInfo.fs" />
</ItemGroup>
<FileUpdate
Files="@(FSharpAssemblyInfoFiles)"
Regex="(Version\(&quot;[^&quot;]*&quot;\))"
ReplacementText="Version(&quot;$(BUILD_NUMBER)&quot;)"/>
</Target>
</Project>