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

Failures while building vstest tests in VMR #14994

Closed
NikolaMilosavljevic opened this issue Jan 29, 2025 · 1 comment · Fixed by #14995
Closed

Failures while building vstest tests in VMR #14994

NikolaMilosavljevic opened this issue Jan 29, 2025 · 1 comment · Fixed by #14995

Comments

@NikolaMilosavljevic
Copy link
Member

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

@nohwnd
Copy link
Member

nohwnd commented Jan 29, 2025

Should be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants