Skip to content

Commit

Permalink
Temporarily downgrade assembly reference load warnings to messages
Browse files Browse the repository at this point in the history
See #46236
This is necessary to unblock dependency flow into runtime.
  • Loading branch information
ViktorHofer authored Jan 23, 2025
1 parent 8307d63 commit 44d555d
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,10 @@ private void ResolveReferences(PEReader peReader, string assemblyName, string ro

if (!found)
{
_log.LogWarning(AssemblyReferenceNotFoundErrorCode,
string.Format(Resources.CouldNotResolveReference, assemblyReferenceName, rootAssemblyDisplayString));
// Temporarily downgrade assembly reference load warnings to messages: https://github.com/dotnet/sdk/issues/46236
// _log.LogWarning(AssemblyReferenceNotFoundErrorCode,
// string.Format(Resources.CouldNotResolveReference, assemblyReferenceName, rootAssemblyDisplayString));
_log.LogMessage(MessageImportance.High, string.Format(Resources.CouldNotResolveReference, assemblyReferenceName, rootAssemblyDisplayString));
}
}
}
Expand Down

0 comments on commit 44d555d

Please sign in to comment.