Skip to content

Commit

Permalink
Merge branch 'main' into feat-add-support-for-dotnet-9
Browse files Browse the repository at this point in the history
  • Loading branch information
yufeih authored Oct 20, 2024
2 parents c133e74 + 51ac3f9 commit 50d95dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
jobs:
test:
runs-on: ${{ matrix.os }}
environment: ci
strategy:
fail-fast: false
matrix:
Expand Down
7 changes: 6 additions & 1 deletion src/Docfx.Dotnet/CompilationHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,12 @@ void GetReferenceAssembliesCore(PEFile assembly)
var file = assemblyResolver.FindAssemblyFile(reference);
if (file is null)
{
Logger.LogWarning($"Unable to resolve assembly reference {reference}", code: "InvalidAssemblyReference");
// Skip warning for some weired assembly references: https://github.com/dotnet/docfx/issues/9459
if (reference.Version?.ToString() != "0.0.0.0")
{
Logger.LogWarning($"Unable to resolve assembly reference {reference}", code: "InvalidAssemblyReference");
}

continue;
}

Expand Down

0 comments on commit 50d95dd

Please sign in to comment.