File tree 1 file changed +4
-10
lines changed
1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<SolutionDir Condition =" $(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'" >$(MSBuildProjectDirectory)\..\</SolutionDir >
5
5
6
- <NuGetToolsPath >$(SolutionDir).nuget</NuGetToolsPath >
7
-
8
6
<!-- Enable the restore command to run before builds -->
9
7
<RestorePackages Condition =" '$(RestorePackages)' == '' " >false</RestorePackages >
10
8
27
25
-->
28
26
</ItemGroup >
29
27
30
- <!-- Windows specific commands -->
31
- <!--
32
28
<PropertyGroup Condition =" '$(OS)' == 'Windows_NT'" >
29
+ <!-- Windows specific commands -->
33
30
<NuGetToolsPath >$([System.IO.Path]::Combine($(SolutionDir), ".nuget"))</NuGetToolsPath >
34
31
</PropertyGroup >
35
- -->
36
-
37
- <!-- We need to launch nuget.exe with the mono command if we're not on windows -->
38
- <!--
32
+
39
33
<PropertyGroup Condition =" '$(OS)' != 'Windows_NT'" >
34
+ <!-- We need to launch nuget.exe with the mono command if we're not on windows -->
40
35
<NuGetToolsPath >$(SolutionDir).nuget</NuGetToolsPath >
41
36
</PropertyGroup >
42
- -->
43
37
44
38
<PropertyGroup >
45
39
<PackagesProjectConfig Condition =" '$(OS)' == 'Windows_NT'" >$(MSBuildProjectDirectory)\packages.$(MSBuildProjectName.Replace(' ', '_')).config</PackagesProjectConfig >
103
97
<Exec Command =" $(RestoreCommand)"
104
98
Condition =" '$(OS)' != 'Windows_NT' And Exists('$(PackagesConfig)')" />
105
99
106
- <!-- LogStandardErrorAsError="true" -->
107
100
<Exec Command =" $(RestoreCommand)"
101
+ LogStandardErrorAsError =" true"
108
102
Condition =" '$(OS)' == 'Windows_NT' And Exists('$(PackagesConfig)')" />
109
103
</Target >
110
104
You can’t perform that action at this time.
0 commit comments