microsoft / microsoft/MSBuildSdks
"error MSB3030: Could not copy the file" when using Microsoft.Build.CopyOnWrite
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 508
- Forks
- 94
- Avg merge
- 6h 40m
- Merged PRs (30d)
- 2
Description
We have a solution that consists of 100+ projects, both managed and native. The source code and various package caches are located on the DevDrive. When building the solution, both from command line and from Visual Studio, we get random MSB3030 errors "Could not copy the file".
How do I go about figuring out the root of the problem? Can I produce a detailed log that will be helpful for you to analyze?
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 by reproducing the build from the command line and Visual Studio for the 100+ project solution on the DevDrive. Capture a detailed log around the MSB3030 copy failures and compare which files fail; done means identifying enough consistent evidence to explain the random copy errors.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100