File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 1313 <TrackFileAccess >false</TrackFileAccess >
1414 <SolutionDir Condition =" $(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'" >$(MSBuildProjectDirectory)</SolutionDir >
1515 <NuGetExePath Condition =" '$(NuGetExePath)' == '' " >$(SolutionDir)\.nuget\nuget.exe</NuGetExePath >
16+ <NuGetNoCache ></NuGetNoCache >
1617 </PropertyGroup >
1718 <ItemGroup >
1819 <NuspecFiles Include =" **\*.nuspec" />
2526
2627 <!-- Build server targets -->
2728
28- <Target Name =" CI" DependsOnTargets =" Clean;PackageRestore;SetVersionNumber;Build;GitLink;Packages;ZipArtifacts" />
29+ <Target Name =" CI" DependsOnTargets =" _NoCache; Clean;PackageRestore;SetVersionNumber;Build;GitLink;Packages;ZipArtifacts" />
2930 <Target Name =" TeamCity" DependsOnTargets =" CI;PushMyGet" />
3031 <Target Name =" Release" DependsOnTargets =" Clean;PackageRestore;Build;Packages;ZipArtifacts" />
3132
4647 <Message Text =" Restoring NuGet packages..." Importance =" High" />
4748 <Exec Command =" " $(NuGetExePath)" install xunit.buildtasks -Source @(PackageSource) -SolutionDir " $(SolutionDir)" -Verbosity quiet -ExcludeVersion" Condition =" !Exists('$(SolutionDir)\packages\xunit.buildtasks\')" />
4849 <Exec Command =" " $(NuGetExePath)" install gitlink -SolutionDir " $(SolutionDir)" -Verbosity quiet -ExcludeVersion" Condition =" !Exists('$(SolutionDir)\packages\gitlink\')" />
49- <Exec Command =" " $(NuGetExePath)" restore " $(SolutionDir)\visualstudio.xunit.sln" -NonInteractive -Source @(PackageSource) -Verbosity quiet" />
50+ <Exec Command =" " $(NuGetExePath)" restore " $(SolutionDir)\visualstudio.xunit.sln" -NonInteractive -Source @(PackageSource) -Verbosity quiet $(NuGetNoCache) " />
5051 </Target >
5152
5253 <Target Name =" Build" DependsOnTargets =" PackageRestore;_BuildProject" />
54+
55+ <Target Name =" _NoCache" >
56+ <PropertyGroup >
57+ <NuGetNoCache >-NoCache</NuGetNoCache >
58+ </PropertyGroup >
59+ </Target >
5360
5461 <Target Name =" _BuildProject" >
5562 <MSBuild
You can’t perform that action at this time.
0 commit comments