Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Osenkov <github@osenkov.com>2017-03-31 01:50:58 +0300
committerKirill Osenkov <github@osenkov.com>2017-03-31 01:50:58 +0300
commit79d2e85e4ea0771058852a06a92dac94cc5859b1 (patch)
treedecbd723d940b65edff9dacf38c5ed02361dc4c4 /main/winbuild.bat
parent3c6882d15280c7e9e12f874a719cd69e448d2123 (diff)
Restore Paket references before building on Windows.
The way the F# projects are set up right now at the bottom of the .fsproj we import StrongNamer.targets, but at the time of evaluation the packages are not restored yet and so the StrongNamer.targets are not imported. They are only imported during subsequent builds when the targets file is already present on disk. This change calls into Paket and restores packages for the MonoDevelop.FSharpBinding project, which includes StrongNamer. This ensures that by the time the build evaluation happens the targets file for StrongNamer is already on disk.
Diffstat (limited to 'main/winbuild.bat')
-rw-r--r--main/winbuild.bat2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/winbuild.bat b/main/winbuild.bat
index eb585f291c..b2fd74d87e 100644
--- a/main/winbuild.bat
+++ b/main/winbuild.bat
@@ -18,6 +18,8 @@ git submodule sync || goto :error
git submodule update --init --recursive || goto :error
"external\nuget-binary\NuGet.exe" restore Main.sln || goto :error
+"%MSBUILD_EXE%" external\fsharpbinding\.paket\paket.targets /t:RestorePackages /p:PaketReferences="%~dp0external\fsharpbinding\MonoDevelop.FSharpBinding\paket.references"
+
set "CONFIG=DebugWin32"
set "PLATFORM=Any CPU"