IronLanguages / IronLanguages/ironpython3

Build fails intermittently due to missing XML documentation files

Open
#1,045 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
2.8k
Forks
316
Avg merge
1d 9h
Merged PRs (30d)
1

Description

When building locally, I see intermittent build errors like:

C:\Code\ironlang\ironpython3\Build\After.targets(42,5): error MSB3030: Could not copy the file "C:\Code\ironlang\ironpython3\bin\Release\IronPython.Wpf.xml" because it was not found. [C:\Code\ironlang\ironpython3\Src\IronPython.Wpf\IronPython.Wpf.csproj]
C:\Code\ironlang\ironpython3\Build\After.targets(42,5): error MSB3030: Could not copy the file "C:\Code\ironlang\ironpython3\bin\Release\netcoreapp3.1\IronPython.Wpf.xml" because it was not found. [C:\Code\ironlang\ironpython3\Src\IronPython.Wpf\IronPython.Wpf.csproj]

Running the build again sometimes may succeed without errors (and sometimes generate more errors). This can also happen with debug builds. I started getting these errors after the upgrade to .NET 5.0, although it seems more a build timing isuse than a functional issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Build/After.targets at line 42 and the IronPython.Wpf.csproj referenced by the errors. Reproduce both Release and Debug builds, including a repeated build, and observe when the XML files are missing. Done means the intermittent MSB3030 errors no longer occur.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.