File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1919 <ItemGroup Label =" Library.Template" >
2020 <GlobalPackageReference Include =" CSharpIsNullAnalyzer" Version =" 0.1.593" />
2121 <GlobalPackageReference Include =" DotNetAnalyzers.DocumentationAnalyzers" Version =" 1.0.0-beta.59" />
22- <GlobalPackageReference Include =" Nerdbank.GitVersioning" Version =" 3.7.115" />
22+ <!-- The condition works around https://github.com/dotnet/sdk/issues/44951 -->
23+ <GlobalPackageReference Include =" Nerdbank.GitVersioning" Version =" 3.7.115" Condition =" !('$(TF_BUILD)'=='true' and '$(dotnetformat)'=='true')" />
2324 <GlobalPackageReference Include =" PolySharp" Version =" 1.15.0" />
2425 <GlobalPackageReference Include =" StyleCop.Analyzers.Unstable" Version =" 1.2.0.556" />
2526 </ItemGroup >
Original file line number Diff line number Diff line change 3737 - template : dotnet.yml
3838 parameters :
3939 RunTests : ${{ parameters.RunTests }}
40- - script : dotnet format --verify-no-changes --no-restore
40+ - script : dotnet format --verify-no-changes
4141 displayName : 💅 Verify formatted code
42+ env :
43+ dotnetformat : true # part of a workaround for https://github.com/dotnet/sdk/issues/44951
4244 - template : expand-template.yml
4345
4446- job : macOS
You can’t perform that action at this time.
0 commit comments