forked from tsai/mathnet-numerics
1 changed files with 14 additions and 7 deletions
@ -1,9 +1,16 @@ |
|||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Go" ToolsVersion="4.0"> |
<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="ApplyTemplates"/> |
|
||||
|
<Target Name="Go" DependsOnTargets="PatchFSharpAssemblyInfo"/> |
||||
<Target Name="ApplyTemplates"> |
|
||||
<!--Exec Command="$(MSBuildProjectDirectory)\apply-t4-templates.bat"/--> |
<!-- TeamCity AssemblyInfo patcher doesn't support F# yet, hence we do it manually: --> |
||||
</Target> |
<Target Name="PatchFSharpAssemblyInfo"> |
||||
|
<ItemGroup> |
||||
|
<FSharpAssemblyInfoFiles Include="$(MSBuildThisFileDirectory)/../../src/FSharp/AssemblyInfo.fs" /> |
||||
|
</ItemGroup> |
||||
|
<FileUpdate |
||||
|
Files="@(FSharpAssemblyInfoFiles)" |
||||
|
Regex="(Version\("[^"]*"\))" |
||||
|
ReplacementText="Version("$(BUILD_NUMBER)")"/> |
||||
|
</Target> |
||||
</Project> |
</Project> |
||||
Loading…
Reference in new issue