Skip to content

Fixing net472 CI leg failure#34218

Merged
maryamariyan merged 1 commit intodotnet:masterfrom
maryamariyan:ifdef
Mar 27, 2020
Merged

Fixing net472 CI leg failure#34218
maryamariyan merged 1 commit intodotnet:masterfrom
maryamariyan:ifdef

Conversation

@maryamariyan
Copy link
Contributor

@maryamariyan maryamariyan commented Mar 27, 2020

FrameworkSkipConditionAttribute.cs is used in Configuration.Xml tests: https://github.com/dotnet/runtime/blob/master/src/libraries/Microsoft.Extensions.Configuration.Xml/tests/Microsoft.Extensions.Configuration.Xml.Tests.csproj#L21-L23

This PR fixes CI leg failure for netfx:

src\libraries\Common\tests\Extensions\TestingUtils\Microsoft.AspNetCore.Testing\src\xunit\FrameworkSkipConditionAttribute.cs(53,8): error CS1029: (NETCORE_ENGINEERING_TELEMETRY=Build) #error: 'Target frameworks need to be updated.'

https://github.com/dotnet/runtime/pull/34207/checks?check_run_id=540330536

Fixes: #34216

@danmoseley
Copy link
Member

this break got through because it's not a leg run in gated checkin?

@maryamariyan
Copy link
Contributor Author

I had enabled the Configuration.Xml tests in this PR: #34174 and it was completely green. So I don't know why it didnt show up earlier.

But today I noticed this failure on other open PRs and hence pushed up this fix.

@maryamariyan maryamariyan mentioned this pull request Mar 27, 2020
1 task
@danmoseley
Copy link
Member

If it's currently breaking the build of other PR's, I suggest to just hit merge if you've verified locally.

@danmoseley
Copy link
Member

In this simple case

@maryamariyan
Copy link
Contributor Author

Merging as it already went green for runtime (Libraries Build Windows_NT net472 x86 Release) on this PR.

@maryamariyan maryamariyan merged commit 14a2f78 into dotnet:master Mar 27, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI net472 leg failure: 'Target frameworks need to be updated'

2 participants