Skip to content

Added a fix for failing id web pipeline - #4026

Closed
saurabhsathe-ms wants to merge 1 commit into
masterfrom
ssathe/fix-id-web-pipeline
Closed

saurabhsathe-ms wants to merge 1 commit into
masterfrom
ssathe/fix-id-web-pipeline

Conversation

@saurabhsathe-ms

@saurabhsathe-ms saurabhsathe-ms commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

Added a fix for failing id web pipeline

  • [*] You've read the Contributor Guide and Code of Conduct.
  • [*] You've included unit or integration tests for your change, where applicable.
  • [*] You've included inline docs for your change, where applicable.
  • [*] There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

Summary of the changes (Less than 80 chars)

Description

What

Treat  MSB3277  as a message when building the  net472  target of  Microsoft.Identity.Web.Test .

Why

The official build started failing because the warning count increased from 0 to 1. The new warning is  MSB3277 , reported while building  Microsoft.Identity.Web.Test  for  net472 .

Root cause

PR #4006 added  Microsoft.Identity.Web.OWIN  as a project reference for the  net472  test target. This brought two incompatible assembly versions into the test build:

•  Microsoft.IdentityModel.Protocols.WsFederation 5.7.1  exposes assembly version  0.0.1.0 .
•  Microsoft.Owin.Security.ActiveDirectory 4.2.2  expects assembly version  5.3.0.0 .

MSBuild reports this known conflict as  MSB3277 . The OWIN project already treats this warning as a message, but that setting does not propagate to the consuming test project. This change applies the same narrowly scoped handling to the  net472  test target, returning the official build warning count to zero without suppressing other warnings.

@saurabhsathe-ms
saurabhsathe-ms requested a review from a team as a code owner September 3, 2026 01:03
@saurabhsathe-ms
saurabhsathe-ms enabled auto-merge (squash) September 3, 2026 01:21
@bgavrilMS

Bogdan Gavril (bgavrilMS) commented Sep 3, 2026 •

Copy link
Copy Markdown
Member

What is MSB3277 ? i.e. what is the actual warning?

https://learn.microsoft.com/en-us/visualstudio/msbuild/errors/msb3277?view=visualstudio

can this be fixed instead?


<PropertyGroup Condition="'$(TargetFramework)' == 'net472'">
<DefineConstants>$(DefineConstants);DOTNET_472</DefineConstants>
<MSBuildWarningsAsMessages>$(MSBuildWarningsAsMessages);MSB3277</MSBuildWarningsAsMessages>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should fix the reference issues.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be beacuse of the 0.0.0.1 issue
image

@bgavrilMS

Copy link
Copy Markdown
Member

Iarek Kovtunenko (@iarekk) - this may be blocking the pipelines.

auto-merge was automatically disabled September 18, 2026 09:53

Pull request was closed

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 this pull request may close these issues.

3 participants