Repository navigation
Added a fix for failing id web pipeline - #4026
Closed
saurabhsathe-ms wants to merge 1 commit into
Closed
saurabhsathe-ms wants to merge 1 commit into
saurabhsathe-ms wants to merge 1 commit into
Conversation
saurabhsathe-ms
enabled auto-merge (squash)
September 3, 2026 01:21
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> |
Collaborator
There was a problem hiding this comment.
We should fix the reference issues.
Bogdan Gavril (bgavrilMS)
requested a review
from Iarek Kovtunenko (iarekk)
September 14, 2026 12:51
Member
|
Iarek Kovtunenko (@iarekk) - this may be blocking the pipelines. |
auto-merge was automatically disabled
September 18, 2026 09:53
Pull request was closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Added a fix for failing id web pipeline
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.