Skip to content

Failures while building vstest tests in VMR #14994

@NikolaMilosavljevic

Description

@NikolaMilosavljevic

Here are the errors encountered when we tried to enable building tests in VMR:

C:\git\dotnet\src\vstest\test\Microsoft.TestPlatform.Acceptance.IntegrationTests\TranslationLayerTests\EventHandler\DiscoveryEventHandler.cs(153,10): error IDE0055: Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055) [C:\git\dotnet\src\vstest\test\Microsoft.TestPlatform.Acceptance.IntegrationTests\Microsoft.TestPlatform.Acceptance.IntegrationTests.csproj::TargetFramework=net9.0]
C:\git\dotnet\src\vstest\test\Microsoft.TestPlatform.Acceptance.IntegrationTests\TranslationLayerTests\EventHandler\DiscoveryEventHandler.cs(153,10): error IDE0055: Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055) [C:\git\dotnet\src\vstest\test\Microsoft.TestPlatform.Acceptance.IntegrationTests\Microsoft.TestPlatform.Acceptance.IntegrationTests.csproj::TargetFramework=net48]

For repro, add /p:DotNetBuildTests=true to your Windows VMR build command, i.e.: build -prepareMachine -c Release /p:TargetOS=windows /p:TargetArchitecture=x64 /bl /p:DotNetBuildTests=true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions