Commits

Michael Garnett committed f4b5a7c

Backed out changeset: 44c570185e7b

  • Participants
  • Parent commits f5f673d

Comments (0)

Files changed (1)

File build/IntelliFactory.FSharp.targets

     <LibDir>$(MSBuildThisFileDirectory)\..\Lib</LibDir>
     <LibUrl>http://bitbucket.org/IntelliFactory/websharper/downloads</LibUrl>
   </PropertyGroup>
-  <Target Name="CreateLibDir" Condition="!Exists('$(LibDir)')">
+  <Target Name="DownloadDependencies" Condition="!Exists('$(LibDir)\build.tmp')">
     <MakeDir Directories="$(LibDir)" />
+    <Touch AlwaysCreate="true" Files="$(LibDir)\build.tmp" />
+    <MSBuild.ExtensionPack.Web.WebClient
+	TaskAction="DownloadFile"
+	Url="$(LibUrl)/Mono.Cecil.dll"
+	FileName="$(LibDir)\Mono.Cecil.dll" />
+    <MSBuild.ExtensionPack.Web.WebClient
+	TaskAction="DownloadFile"
+	Url="$(LibUrl)/Mono.Cecil.Pdb.dll"
+	FileName="$(LibDir)\Mono.Cecil.Pdb.dll" />
+    <MSBuild.ExtensionPack.Web.WebClient
+	TaskAction="DownloadFile"
+	Url="$(LibUrl)/Mono.Cecil.Mdb.dll"
+	FileName="$(LibDir)\Mono.Cecil.Mdb.dll" />
   </Target>
-  <Target Name="DownloadMonoCecil" Condition="!Exists('$(LibDir)\Mono.Cecil.dll')">
-    <MSBuild.ExtensionPack.Web.WebClient
-	  TaskAction="DownloadFile"
-	  Url="$(LibUrl)/Mono.Cecil.dll"
-	  FileName="$(LibDir)\Mono.Cecil.dll" />
-  </Target>
-  <Target Name="DownloadMonoCecilPdb" Condition="!Exists('$(LibDir)\Mono.Cecil.Pdb.dll')">
-    <MSBuild.ExtensionPack.Web.WebClient
-	  TaskAction="DownloadFile"
-	  Url="$(LibUrl)/Mono.Cecil.Pdb.dll"
-	  FileName="$(LibDir)\Mono.Cecil.Pdb.dll" />
-  </Target>
-  <Target Name="DownloadMonoCecilMdb" Condition="!Exists('$(LibDir)\Mono.Cecil.Mdb.dll')">
-    <MSBuild.ExtensionPack.Web.WebClient
-	  TaskAction="DownloadFile"
-	  Url="$(LibUrl)/Mono.Cecil.Mdb.dll"
-	  FileName="$(LibDir)\Mono.Cecil.Mdb.dll" />
-  </Target>
-  <Target Name="DownloadDependencies" DependsOnTargets="CreateLibDir;DownloadMonoCecil;DownloadMonoCecilPdb;DownloadMonoCecilMdb"  />
 </Project>