Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: /warnaserror false positive overall success #8735

Closed
AArnott opened this issue May 7, 2023 · 3 comments · Fixed by #8953
Closed

[Bug]: /warnaserror false positive overall success #8735

AArnott opened this issue May 7, 2023 · 3 comments · Fixed by #8953
Assignees
Labels
bug Priority:2 Work that is important, but not critical for the release triaged

Comments

@AArnott
Copy link
Contributor

AArnott commented May 7, 2023

Issue Description

I'm not sure if this is an msbuild issue or an issue with GitHub Actions OSX agents. The problem is unique to OSX though.

As you can see from the following GitHub Actions run, all 3 jobs experienced the same build errors (which were warnings-as-errors, BTW), but only Windows and Ubuntu reported failure. The Mac OSX agent went on and reported overall success, defeating the point of my setting MSBuildTreatWarningsAsErrors to true as an environment variable.

https://github.com/AArnott/Nerdbank.Cryptocurrencies/actions/runs/4905363640/jobs/8759094126?pr=5

Steps to Reproduce

git clone https://github.com/AArnott/Nerdbank.Cryptocurrencies
cd Nerdbank.Cryptocurrencies
git checkout 52b604bdd0ed2239ca491118ee7a886ab60963d1

Then push this commit to some branch and run github actions on your fork and observe the results.

Expected Behavior

I expect all jobs to fail.

Actual Behavior

The OSX job reports success, despite its own build log reporting several errors.

Analysis

No response

Versions & Configurations

No response

@AArnott AArnott added bug needs-triage Have yet to determine what bucket this goes in. labels May 7, 2023
@AR-May AR-May added Priority:2 Work that is important, but not critical for the release and removed needs-triage Have yet to determine what bucket this goes in. labels May 9, 2023
@JaynieBai
Copy link
Member

JaynieBai commented May 11, 2023

CentralNode_MSBuild_PID=22676_x64_BuildManager_Default.log

This should be msbuild issue. Repro this locally both on window and mac. haven't try it on Linux. But not sure why this is only repro on GitHub Actions OSX.
Repro steps locally:

git clone https://github.com/AArnott/Nerdbank.Cryptocurrencies
cd Nerdbank.Cryptocurrencies
git checkout 52b604bdd0ed2239ca491118ee7a886ab60963d1
msbuild /p:MSBuildTreatWarningsAsErrors=true /t:rebuild

when build with msbuild /p:MSBuildTreatWarningsAsErrors=true /t:rebuild /m:1, It build failed as expected all the time. But with multiple CPU counts greater than 2, the issues will repro.
image

@rainersigwald
Copy link
Member

It looks like specifying -warnaserror on the command line works correctly on macOS. That's generally preferable to setting the property via environment variable for CI scenarios (since it works for all categories of warning and doesn't hit #4038).

However, what you're doing should work and it's very confusing that it is wrong only on macOS. We should drill into that.

@AR-May
Copy link
Member

AR-May commented Jun 26, 2023

Some information we found on the issue:

The issue reproduces not only on MacOS, I managed to reproduce it on Windows as well. It seems to be a race condition in build manager from long time ago, @rokonec soon will make a fix for it. Just recently the probability of it was increased and we started to see it more. Note, if you use .NET Core version of msbuild ("dotnet build" command instead of "msbuild"), the bug often goes away. This might work as a temporary workaround.

Easy repro steps:

  1. Create a new console application.
  2. Add a class library as a second project to the solution.
  3. Make class library to throw a warning (add unused variable for example)
  4. Build with msbuild /p:MSBuildTreatWarningsAsErrors=true /t:rebuild /m:2

@AR-May AR-May assigned rokonec and unassigned JaynieBai Jun 26, 2023
@AR-May AR-May changed the title [Bug]: GitHub Actions on OSX when msbuild fails the build [Bug]: /warnaserror false positive overall success Jun 26, 2023
JaynieBai pushed a commit that referenced this issue Jun 27, 2023
Fixes #8735, possibly #5689, #2845

Context
There were race condition when ProjectFinished log message has been processed after BuildResult event. Even though ProjectFinished log message event is always send before BuildResult event from Node, because ProjectFinished is asyncronously routed by LoggingService reversing order can and do often happen.

Changes Made
Updating _overallBuildSuccess in one place when submission is considered to be done and assumed its final state.

Testing
Can't local repro.
@AR-May AR-May added the triaged label Feb 21, 2024
AArnott added a commit to AArnott/Nerdbank.NetStandardBridge that referenced this issue Apr 22, 2024
* Switch code coverage from static to dynamic instrumentation

* Upgrade Microsoft.CodeCoverage

* Fix merge coverage error when output directory already exists

* .gitignore .DS_Store

* Increase likelihood that folks set PackageProjectUrl property

* Bump Microsoft.CodeCoverage to 17.5.0-release-20230106-01

* Use latest NuGet.exe version (#188)

* Use latest NuGet.exe version

* Use 6.4.0 NuGet.exe version

* Bump Microsoft.CodeCoverage (#189)

Bumps [Microsoft.CodeCoverage](https://github.com/microsoft/vstest) from 17.5.0-release-20230106-01 to 17.5.0-release-20230131-04.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/commits)

---
updated-dependencies:
- dependency-name: Microsoft.CodeCoverage
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update the dotnet-install.ps1 script

This enables downloading newer SDK versions.

* Improve error message for unsupported versions

* Remove references to "Core" in .NET Core

* Add -SdkOnly switch

* Simplify Version cast in ps1 script

* Use LF line endings for plist files

The mac tools that read these files are sticklers for LF endings.

* Add `-interactive` switch to init.ps1

* Bump dependencies to 17.5.0 versions

* Add msbuild extension for VS Code

* Add dotnet CLI tools

* Drop test-tools as a nuget feed source

We don't need it now that we're using stable Microsoft.CodeCoverage package versions.

* Add ASP.NET Core runtime installation support

* Drop Microsoft.CodeCoverage reference

It's brought in via Microsoft.NET.Test.Sdk anyway.

* Updated SDK installer script to be able to find 7.0.200

* Bump SDK version to 7.0.201

* Move `dotnet-coverage` to repo-level tool

* Move `nbgv` into dotnet-tools.json

* Install tools except when `-NoToolRestore` is specified

* Fix ARM64 detection on Windows Powershell

* Bump up SDK and tools versions

* Copy the .config file when applying the template

* Upgrade `actions/checkout` GitHub action to v3

This resolves a warning about old node.js version based github actions.

* Elevate CA1062 for shipping code

* Bump Nerdbank.GitVersioning to 3.6.128

* Update Dockerfile

* Fix placement of $RestoreArguments construction

* Switch from `MSBuildTreatWarningsAsErrors` to `-warnaserror`

This is per @rainersigwald's suggestion in dotnet/msbuild#8735 (comment)

* Bump .NET SDK to 7.0.302

* Bump NB.GV to 3.6.132

* Bump CSharpIsNullAnalyzer from 0.1.329 to 0.1.495 (#204)

* Crank up dependabot

* Bump CSharpIsNullAnalyzer from 0.1.329 to 0.1.495

Bumps [CSharpIsNullAnalyzer](https://github.com/AArnott/CSharpIsNull) from 0.1.329 to 0.1.495.
- [Release notes](https://github.com/AArnott/CSharpIsNull/releases)
- [Commits](https://github.com/AArnott/CSharpIsNull/commits)

---
updated-dependencies:
- dependency-name: CSharpIsNullAnalyzer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Andrew Arnott <andrewarnott@live.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump Microsoft.NET.Test.Sdk from 17.5.0 to 17.6.0 (#202)

* Crank up dependabot

* Bump Microsoft.NET.Test.Sdk from 17.5.0 to 17.6.0

Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.5.0 to 17.6.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](microsoft/vstest@v17.5.0...v17.6.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Andrew Arnott <andrewarnott@live.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump dotnet-coverage from 17.7.0 to 17.7.1 (#205)

* Crank up dependabot

* Bump dotnet-coverage from 17.7.0 to 17.7.1

Bumps [dotnet-coverage](https://github.com/microsoft/codecoverage) from 17.7.0 to 17.7.1.
- [Commits](https://github.com/microsoft/codecoverage/commits)

---
updated-dependencies:
- dependency-name: dotnet-coverage
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Andrew Arnott <andrewarnott@live.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump Nerdbank.GitVersioning to 3.6.133

* Bump Microsoft.NET.Test.Sdk to 17.6.1

* Bump Microsoft.NET.Test.Sdk to 17.6.2

* Fix symbol file selection for R2R outputs

* Bump dotnet-coverage to 17.7.2

* Bump StyleCop.Analyzers.Unstable from 1.2.0.435 to 1.2.0.507 (#207)

Bumps [StyleCop.Analyzers.Unstable](https://github.com/DotNetAnalyzers/StyleCopAnalyzers) from 1.2.0.435 to 1.2.0.507.
- [Release notes](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/releases)
- [Changelog](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/KnownChanges.md)
- [Commits](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/commits)

---
updated-dependencies:
- dependency-name: StyleCop.Analyzers.Unstable
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump dotnet-coverage from 17.7.2 to 17.7.3 (#208)

Bumps [dotnet-coverage](https://github.com/microsoft/codecoverage) from 17.7.2 to 17.7.3.
- [Commits](https://github.com/microsoft/codecoverage/commits)

---
updated-dependencies:
- dependency-name: dotnet-coverage
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump Microsoft.NET.Test.Sdk to 17.6.3

* Bump powershell to 7.3.5

* Automatically include a README.md from the project directory

* Bump xunit.runner.visualstudio from 2.4.5 to 2.5.0 (#210)

Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.4.5 to 2.5.0.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](xunit/visualstudio.xunit@v2.4.5...2.5.0)

---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump xunit from 2.4.2 to 2.5.0 (#209)

* Remove `tool run` from `dotnet nbgv` invocation

I have an Azure Pipeline where `InsertVersionsValues.ps1` (in the microbuild branch) works but this step fails, and the only difference is that one omits `tool run` from `dotnet nbgv`.

I continue to believe this is a bug in the `dotnet tool` command.

* Dependabot to ignore dotnet-format

* Set tab settings for .ps1 files

* Bump powershell from 7.3.5 to 7.3.6 (#212)

Bumps [powershell](https://github.com/PowerShell/PowerShell) from 7.3.5 to 7.3.6.
- [Release notes](https://github.com/PowerShell/PowerShell/releases)
- [Commits](PowerShell/PowerShell@v7.3.5...v7.3.6)

---
updated-dependencies:
- dependency-name: powershell
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump dotnet-coverage from 17.7.3 to 17.8.0 (#211)

Bumps [dotnet-coverage](https://github.com/microsoft/codecoverage) from 17.7.3 to 17.8.0.
- [Commits](https://github.com/microsoft/codecoverage/commits)

---
updated-dependencies:
- dependency-name: dotnet-coverage
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump dotnet-coverage to 17.8.2

* Bump Microsoft.NET.Test.Sdk from 17.6.3 to 17.7.0 (#213)

Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.6.3 to 17.7.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](microsoft/vstest@v17.6.3...v17.7.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump Microsoft.NET.Test.Sdk from 17.7.0 to 17.7.1 (#214)

Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.7.0 to 17.7.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](microsoft/vstest@v17.7.0...v17.7.1)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump dotnet-coverage from 17.8.2 to 17.8.4 (#215)

Bumps [dotnet-coverage](https://github.com/microsoft/codecoverage) from 17.8.2 to 17.8.4.
- [Commits](https://github.com/microsoft/codecoverage/commits)

---
updated-dependencies:
- dependency-name: dotnet-coverage
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Align YAML indentation more consistently

* Bump Microsoft.NET.Test.Sdk from 17.7.1 to 17.7.2 (#218)

Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.7.1 to 17.7.2.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](microsoft/vstest@v17.7.1...v17.7.2)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix typo in comment

* Bump dotnet-coverage to 17.8.6

* Bump xunit from 2.5.0 to 2.5.1 (#219)

Bumps [xunit](https://github.com/xunit/xunit) from 2.5.0 to 2.5.1.
- [Commits](xunit/xunit@2.5.0...2.5.1)

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump xunit.runner.visualstudio from 2.5.0 to 2.5.1 (#220)

* Bump powershell to 7.3.7

* Fix LangVersion at 11

Using `latest` allows VS previews to encourage use of syntax that will later fail when built with the SDK prescribed in our global.json file.

* Bump dotnet-coverage to 17.8.7

* Revert "Bump dotnet-coverage to 17.8.7"

This reverts commit 9ed3b09.

* Bump .NET SDK to 7.0.401

* Bump xunit.runner.visualstudio from 2.5.1 to 2.5.3 (#224)

Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.5.1 to 2.5.3.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](xunit/visualstudio.xunit@2.5.1...2.5.3)

---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump dotnet-coverage from 17.8.6 to 17.9.1 (#222)

Bumps [dotnet-coverage](https://github.com/microsoft/codecoverage) from 17.8.6 to 17.9.1.
- [Commits](https://github.com/microsoft/codecoverage/commits)

---
updated-dependencies:
- dependency-name: dotnet-coverage
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump powershell from 7.3.7 to 7.3.8 (#221)

Bumps [powershell](https://github.com/PowerShell/PowerShell) from 7.3.7 to 7.3.8.
- [Release notes](https://github.com/PowerShell/PowerShell/releases)
- [Commits](PowerShell/PowerShell@v7.3.7...v7.3.8)

---
updated-dependencies:
- dependency-name: powershell
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump xunit from 2.5.1 to 2.5.2 (#223)

* Bump xunit from 2.5.2 to 2.5.3 (#226)

Bumps [xunit](https://github.com/xunit/xunit) from 2.5.2 to 2.5.3.
- [Commits](xunit/xunit@2.5.2...2.5.3)

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump dotnet-coverage from 17.9.1 to 17.9.3 (#225)

Bumps [dotnet-coverage](https://github.com/microsoft/codecoverage) from 17.9.1 to 17.9.3.
- [Commits](https://github.com/microsoft/codecoverage/commits)

---
updated-dependencies:
- dependency-name: dotnet-coverage
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump powershell from 7.3.8 to 7.3.9 (#227)

Bumps [powershell](https://github.com/PowerShell/PowerShell) from 7.3.8 to 7.3.9.
- [Release notes](https://github.com/PowerShell/PowerShell/releases)
- [Commits](PowerShell/PowerShell@v7.3.8...v7.3.9)

---
updated-dependencies:
- dependency-name: powershell
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump xunit from 2.5.3 to 2.6.1 (#228)

Bumps [xunit](https://github.com/xunit/xunit) from 2.5.3 to 2.6.1.
- [Commits](xunit/xunit@2.5.3...2.6.1)

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Ignore `dotnet-format` v9 versions

* Bump Microsoft.NET.Test.Sdk from 17.7.2 to 17.8.0 (#229)

Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.7.2 to 17.8.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](microsoft/vstest@v17.7.2...v17.8.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Apply Directory.Packages.props in Apply-Template.ps1

* Bump to the .NET 8.0.100 SDK

* Bump xunit from 2.6.1 to 2.6.2 (#234)

Bumps [xunit](https://github.com/xunit/xunit) from 2.6.1 to 2.6.2.
- [Commits](xunit/xunit@2.6.1...2.6.2)

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump Microsoft.SourceLink.GitHub from 1.1.1 to 8.0.0 (#232)

Bumps [Microsoft.SourceLink.GitHub](https://github.com/dotnet/sourcelink) from 1.1.1 to 8.0.0.
- [Release notes](https://github.com/dotnet/sourcelink/releases)
- [Commits](dotnet/sourcelink@1.1.1...8.0.0)

---
updated-dependencies:
- dependency-name: Microsoft.SourceLink.GitHub
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump powershell from 7.3.9 to 7.4.0 (#231)

Bumps [powershell](https://github.com/PowerShell/PowerShell) from 7.3.9 to 7.4.0.
- [Release notes](https://github.com/PowerShell/PowerShell/releases)
- [Commits](PowerShell/PowerShell@v7.3.9...v7.4.0)

---
updated-dependencies:
- dependency-name: powershell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump xunit.runner.visualstudio from 2.5.3 to 2.5.4 (#233)

* Validate formatted code in builds

* Enable auto-format on save in VS and VS Code

* Remove `dotnet-format` as a tool

It's part of the SDK now, and the version on nuget.org is no longer maintained.

* Make symbolic link failures more detectable

* Add xml header to msbuild files

MSBuild doesn't need them, but Azure Repos won't recognize .targets and .props files as xml files without it. And recognizing them means syntax coloring, which is worthwhile.

* Stop VS Code from wrapping xml files

* Add dotnet_separate_import_directive_groups to .editorconfig

This is the default setting in VS, but folks who have changed the setting can cause noise in PRs unless we pin the setting at the repo level.

* Bump xunit from 2.6.2 to 2.6.3 (#239)

Bumps [xunit](https://github.com/xunit/xunit) from 2.6.2 to 2.6.3.
- [Commits](xunit/xunit@2.6.2...2.6.3)

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump dotnet-coverage from 17.9.3 to 17.9.5 (#238)

Bumps [dotnet-coverage](https://github.com/microsoft/codecoverage) from 17.9.3 to 17.9.5.
- [Commits](https://github.com/microsoft/codecoverage/commits)

---
updated-dependencies:
- dependency-name: dotnet-coverage
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump xunit.runner.visualstudio from 2.5.4 to 2.5.5 (#237)

* Bump dotnet-coverage from 17.9.5 to 17.9.6 (#240)

Bumps [dotnet-coverage](https://github.com/microsoft/codecoverage) from 17.9.5 to 17.9.6.
- [Commits](https://github.com/microsoft/codecoverage/commits)

---
updated-dependencies:
- dependency-name: dotnet-coverage
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump xunit.runner.visualstudio from 2.5.5 to 2.5.6 (#243)

Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.5.5 to 2.5.6.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](xunit/visualstudio.xunit@2.5.5...2.5.6)

---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump xunit from 2.6.3 to 2.6.4 (#242)

* Bump StyleCop.Analyzers.Unstable from 1.2.0.507 to 1.2.0.556 (#241)

Bumps [StyleCop.Analyzers.Unstable](https://github.com/DotNetAnalyzers/StyleCopAnalyzers) from 1.2.0.507 to 1.2.0.556.
- [Release notes](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/releases)
- [Changelog](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/KnownChanges.md)
- [Commits](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/commits)

---
updated-dependencies:
- dependency-name: StyleCop.Analyzers.Unstable
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump powershell from 7.4.0 to 7.4.1 (#245)

Bumps [powershell](https://github.com/PowerShell/PowerShell) from 7.4.0 to 7.4.1.
- [Release notes](https://github.com/PowerShell/PowerShell/releases)
- [Commits](PowerShell/PowerShell@v7.4.0...v7.4.1)

---
updated-dependencies:
- dependency-name: powershell
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump xunit from 2.6.4 to 2.6.6

* Add switch to avoid creating symbolic links

Symbolic links present a problem, at least for "1ES PT".

* Clarify parameter type in AzP template

* Bump dotnet-coverage from 17.9.6 to 17.10.1Bumps [dotnet-coverage](https://github.com/microsoft/codecoverage) from 17.9.6 to 17.10.1.- [Commits](https://github.com/microsoft/codecoverage/commits)---updated-dependencies:- dependency-name: dotnet-coverage  dependency-type: direct:production  update-type: version-update:semver-minor...Signed-off-by: dependabot[bot] <support@github.com>

* Bump dotnet-coverage from 17.9.6 to 17.10.1

Bumps [dotnet-coverage](https://github.com/microsoft/codecoverage) from 17.9.6 to 17.10.1.
- [Commits](https://github.com/microsoft/codecoverage/commits)

---
updated-dependencies:
- dependency-name: dotnet-coverage
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Format init.ps1

* Bump dotnet-coverage from 17.10.1 to 17.10.2 (#250)

Bumps [dotnet-coverage](https://github.com/microsoft/codecoverage) from 17.10.1 to 17.10.2.
- [Commits](https://github.com/microsoft/codecoverage/commits)

---
updated-dependencies:
- dependency-name: dotnet-coverage
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Recommend prettier

* Identify AzP-related YAML files

* Bump Microsoft.NET.Test.Sdk from 17.8.0 to 17.9.0 (#251)

Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.8.0 to 17.9.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](microsoft/vstest@v17.8.0...v17.9.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump .NET SDK from 8.0.100 to 8.0.201

* Bump xunit.runner.visualstudio from 2.5.6 to 2.5.7 (#254)

Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.5.6 to 2.5.7.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](xunit/visualstudio.xunit@2.5.6...2.5.7)

---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump dotnet-coverage from 17.10.2 to 17.10.3 (#252)

Bumps [dotnet-coverage](https://github.com/microsoft/codecoverage) from 17.10.2 to 17.10.3.
- [Commits](https://github.com/microsoft/codecoverage/commits)

---
updated-dependencies:
- dependency-name: dotnet-coverage
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump xunit from 2.6.6 to 2.7.0 (#253)

* fix typo

* Bump dotnet-coverage from 17.10.3 to 17.10.4 (#264)

* Bump dependencies

* Drop support for anything less than `net462`

- Drop `net40`.
- Bump the `net461` target to `net462`.

The oldest Microsoft-supported runtime is net462.

* Fix compiler warnings

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Kartheek Penagamuri <52756182+kartheekp-ms@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ericdotnet added a commit to ericdotnet/Streams-Nerdbank-pro that referenced this issue May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Priority:2 Work that is important, but not critical for the release triaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants