IronLanguages / IronLanguages/ironpython3
Build fails intermittently due to missing XML documentation files
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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