File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 2323 <GlobalPackageReference Include =" CSharpIsNullAnalyzer" Version =" 0.1.593" />
2424 <GlobalPackageReference Include =" DotNetAnalyzers.DocumentationAnalyzers" Version =" 1.0.0-beta.59" />
2525 <GlobalPackageReference Include =" Microsoft.VisualStudio.Internal.MicroBuild.VisualStudio" Version =" $(MicroBuildVersion)" />
26- <!-- The condition works around https://github.com/dotnet/sdk/issues/44951 -->
27- <GlobalPackageReference Include =" Nerdbank.GitVersioning" Version =" 3.7.115" Condition =" !('$(TF_BUILD)'=='true' and '$(dotnetformat)'=='true')" />
26+ <GlobalPackageReference Include =" Nerdbank.GitVersioning" Version =" 3.7.115" />
2827 <GlobalPackageReference Include =" PolySharp" Version =" 1.15.0" />
2928 <GlobalPackageReference Include =" StyleCop.Analyzers.Unstable" Version =" 1.2.0.556" />
3029 </ItemGroup >
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ jobs:
198198 IsOptProf : ${{ parameters.IsOptProf }}
199199
200200 - ${{ if and(parameters.EnableDotNetFormatCheck, not(parameters.EnableLinuxBuild)) }} :
201- - script : dotnet format --verify-no-changes
201+ - script : dotnet format --verify-no-changes --no-restore
202202 displayName : 💅 Verify formatted code
203203 env :
204204 dotnetformat : true # part of a workaround for https://github.com/dotnet/sdk/issues/44951
@@ -242,7 +242,7 @@ jobs:
242242 Is1ESPT : ${{ parameters.Is1ESPT }}
243243 RunTests : ${{ parameters.RunTests }}
244244 - ${{ if parameters.EnableDotNetFormatCheck }} :
245- - script : dotnet format --verify-no-changes
245+ - script : dotnet format --verify-no-changes --no-restore
246246 displayName : 💅 Verify formatted code
247247 env :
248248 dotnetformat : true # part of a workaround for https://github.com/dotnet/sdk/issues/44951
You can’t perform that action at this time.
0 commit comments