microsoft / microsoft/MSBuildCache

Is building a specific project in a solution supposed to work?

Open
#149 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
64
Forks
24
Avg merge
1d 14h
Merged PRs (30d)
2

Description

When I run msbuild.exe /t:AProjectInThatSolution /graph /reportfileaccesses the output looks like

  1. Starts up and runs the plugin like usual
  2. Build succeeds, 0 cache hits, 0 cache misses, NaN cache hit ratio

Is this the intended behaviour?

MSBuild page describing how to build a specific project in a solution https://learn.microsoft.com/en-us/visualstudio/msbuild/how-to-build-specific-targets-in-solutions-by-using-msbuild-exe?view=visualstudio

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

Begin by reproducing the reported msbuild.exe command with a solution and a project target, then compare the output with the linked MSBuild documentation. Done means determining whether the zero cache activity and NaN ratio are intended, and documenting or correcting the behavior accordingly.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.