Skip to content

[Microsoft.Build] Investigate non-deterministic test behavior  #6781

@YuliiaKovalova

Description

@YuliiaKovalova

Product

dotnet CLI (dotnet new)

Describe The Bug

When a new item template is instantiated, the warning "Failed to evaluate bind symbol 'langVersion', it will be skipped." is generated sometimes.

Identify what triggers this scenario.
Can be reproduced in the src/Tests/dotnet-new.Tests/DotnetClassTemplateTests.cs tests

To Reproduce

Steps:

  1. Go to src/Tests/dotnet-new.Tests/DotnetClassTemplateTests.cs
  2. Comment custom scrubber that removes the warning message
  3. Run tests a couple of times.

dotnet Info

release/7.2.0xx

Metadata

Metadata

Labels

Iteration:2023JunePriority:1Work that is critical for the release, but we could probably ship without

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions