|
11 | 11 | </PropertyGroup> |
12 | 12 |
|
13 | 13 | <PropertyGroup> |
14 | | - <NuGetUrl Condition=" '$(NuGetUrl)' == '' ">https://dist.nuget.org/win-x86-commandline/v3.4.4/NuGet.exe</NuGetUrl> |
| 14 | + <NuGetUrl Condition=" '$(NuGetUrl)' == '' ">https://dist.nuget.org/win-x86-commandline/latest/nuget.exe</NuGetUrl> |
15 | 15 | <RestorePackages>false</RestorePackages> |
16 | 16 | <RunCodeAnalysis Condition=" '$(RunCodeAnalysis)' == ''">false</RunCodeAnalysis> |
17 | 17 | <IntermediateOutputPath>.nuget\</IntermediateOutputPath> |
|
22 | 22 | </PropertyGroup> |
23 | 23 |
|
24 | 24 | <ItemGroup> |
| 25 | + <Solution Include="external\ApiIntersect\ApiIntersect.sln" /> |
25 | 26 | <Solution Include="src\Build\NuGet.Build.Packaging.sln" /> |
26 | 27 | <Solution Include="src\VisualStudio\NuGet.Packaging.VisualStudio.15\NuGet.Packaging.VisualStudio.15.csproj" /> |
27 | 28 | <TestProject Include="src\Build\**\*Tests.csproj" /> |
|
75 | 76 |
|
76 | 77 | <Target Name="Restore"> |
77 | 78 | <ItemGroup> |
78 | | - <NuGetRestore Include="src\Build\NuGet.Build.Packaging.Tests\Scenarios\given_a_library_with_non_nugetized_reference\b.sln" /> |
79 | | - <NuGetRestore Include="src\Build\NuGet.Build.Packaging.Tests\Scenarios\given_a_multi_platform_solution\forms.sln" /> |
80 | | - <NuGetRestore Include="src\Build\NuGet.Build.Packaging.Tests\Scenarios\given_a_library_with_json_dependencies\project.json" /> |
81 | | - <MSBuildRestore Include="src\Build\NuGet.Build.Packaging.Tests\Scenarios\given_a_packaging_project_with_netstandard\a.nuproj" /> |
82 | | - <MSBuildRestore Include="src\Build\NuGet.Build.Packaging.Tests\Scenarios\given_a_library_with_private_assets_reference\a.csproj" /> |
83 | | - |
84 | | - <MSBuildRestore Include="external\ApiIntersect\ApiIntersect.sln" /> |
85 | | - <MSBuildRestore Include="src\Build\NuGet.Build.Packaging.sln" /> |
86 | | - <MSBuildRestore Include="src\VisualStudio\NuGet.Packaging.VisualStudio.sln" /> |
| 79 | + <RestoreProject Include="src\Build\NuGet.Build.Packaging.Tests\Scenarios\given_a_library_with_non_nugetized_reference\b.sln" /> |
| 80 | + <RestoreProject Include="src\Build\NuGet.Build.Packaging.Tests\Scenarios\given_a_multi_platform_solution\forms.sln" /> |
| 81 | + <RestoreProject Include="src\Build\NuGet.Build.Packaging.Tests\Scenarios\given_a_library_with_json_dependencies\a.csproj" /> |
| 82 | + <RestoreProject Include="src\Build\NuGet.Build.Packaging.Tests\Scenarios\given_a_packaging_project_with_netstandard\a.nuproj" /> |
| 83 | + <RestoreProject Include="src\Build\NuGet.Build.Packaging.Tests\Scenarios\given_a_library_with_private_assets_reference\a.csproj" /> |
| 84 | + |
87 | 85 | </ItemGroup> |
88 | 86 |
|
89 | | - <Exec Command='"$(NuGet)" Restore "%(NuGetRestore.Identity)" -Verbosity quiet' |
90 | | - WorkingDirectory='%(RestoreSolution.RootDir)%(RestoreSolution.Directory)'/> |
91 | | - |
92 | | - <Exec Command='"$(MSBuildBinPath)\MSBuild.exe" /t:Restore "%(MSBuildRestore.Identity)" /v:Minimal' |
93 | | - WorkingDirectory='%(RestoreSolution.RootDir)%(RestoreSolution.Directory)'/> |
| 87 | + <MSBuild Projects="@(Solution);@(TestProject);@(RestoreProject)" Targets="Restore" Properties="$(CommonBuildProperties)" /> |
94 | 88 | </Target> |
95 | 89 |
|
96 | 90 | <Target Name="Coverage" DependsOnTargets="Build"> |
|
0 commit comments