Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit f6a486b

Browse files
committed
Restore NuGet packages before building unit tests on build server.
1 parent 8b84d50 commit f6a486b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Automated.proj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
<ArtefactPrefix>SharpDevelop_</ArtefactPrefix>
1515
<NUnitToolPath>$(MSBuildProjectDirectory)\Tools\NUnit</NUnitToolPath>
1616
<NUnitTempToolPath>$(SharpDevelopBin)\Tools\x86NUnit</NUnitTempToolPath>
17+
<NuGetPath>$(SharpDevelopSrc)\AddIns\Misc\PackageManagement\RequiredLibraries</NuGetPath>
18+
<NuGetExecutable>&quot;$(NuGetPath)\NuGet.exe&quot;</NuGetExecutable>
1719
<SamplesSrc>$(ProjectDir)\samples</SamplesSrc>
1820

1921
<!-- we cannot use <MSBuild> to build a solution because -->
@@ -76,6 +78,8 @@
7678
</Target>
7779

7880
<Target Name="buildunittests">
81+
<Exec WorkingDirectory="$(ProjectDir)"
82+
Command="$(NuGetExecutable) restore SharpDevelop.Tests.sln"/>
7983
<Exec WorkingDirectory="$(ProjectDir)"
8084
Command="$(MSBuildExecutable) SharpDevelop.Tests.sln $(BuildProperties)"/>
8185
</Target>

0 commit comments

Comments
 (0)