Describe the bug
For the test executed using .NET SDK 10.0.100, the generated logger output does not contain any test case properties.
dotnet test --logger \"nunit;LogFilePath=\"{assembly}\"-\"{framework}\"-test-output.xml\"
produce an error MSB4177: Invalid property. The name "{assembly}-{framework}-test-output.xml" contains an invalid character "{".
dotnet test --logger "nunit;LogFilePath=test-output.xml"
The same command for the same codebase executed using .NET 8.0.x SDK generates a proper report (in both cases, the target framework is net8.0).
- Test Framework (choose one): Nunit
- .NET project version, sdk version (choose applicable): net8.0
- Command line used (please share the test run command):
dotnet test --logger \"nunit;LogFilePath=\"{assembly}\"-\"{framework}\"-test-output.xml\"
- OS: Windows
Expected behavior
The test case properties are present in the generated logger output.
Other details
Additional context
Describe the bug
For the test executed using .NET SDK 10.0.100, the generated logger output does not contain any test case properties.
produce an error MSB4177: Invalid property. The name "{assembly}-{framework}-test-output.xml" contains an invalid character "{".
The same command for the same codebase executed using .NET 8.0.x SDK generates a proper report (in both cases, the target framework is net8.0).
dotnet test --logger \"nunit;LogFilePath=\"{assembly}\"-\"{framework}\"-test-output.xml\"Expected behavior
The test case properties are present in the generated logger output.
Other details
Additional context