Skip to content

Commit 2937bf4

Browse files
committed
docs(msbuild): note how to inspect SearchPaths
1 parent 238e69b commit 2937bf4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/msbuild/troubleshoot-assembly-references.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ SDK-style projects set a smaller default `AssemblySearchPaths` (excluding GAC/re
172172
- `{TargetFrameworkDirectory}`
173173
- `{RawFileName}`
174174
175+
To see the effective value for your build, inspect the `SearchPaths` input logged by `ResolveAssemblyReference` (for example, in MSBuild Structured Log Viewer), or preprocess the project with `msbuild /pp`.
176+
175177
Each entry can be disabled by setting the relevant flag to `false`:
176178
177179
- Searching files from the current project is disabled by setting the `AssemblySearchPath_UseCandidateAssemblyFiles` property to false.

0 commit comments

Comments
 (0)