You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,16 @@ Replace `/path/to/DotNetMetadataMcpServer` with the actual path to the published
81
81
-**The project must be built before scanning.** The server relies on compiled assemblies to extract type information, so make sure to build your project before using the tools.
82
82
-**The tool doesn't follow references to other projects.** It only inspects the specified project and its NuGet dependencies. If you need to analyze multiple projects, you'll need to scan each one separately.
83
83
84
+
### How project outputs are located
85
+
86
+
When scanning a project, the server needs the compiled assembly path. `MsBuildHelper` evaluates the project and attempts to locate the output assembly by probing configurations in this order:
87
+
88
+
- the requested configuration (by default Debug), then
89
+
- Release, and if still not found,
90
+
- falls back to checking Debug again as a safe default.
91
+
92
+
The first existing output wins. If no output is found, a reasonable default path is assumed and a warning is logged. This makes local runs (often Debug) and CI runs (often Release) behave consistently. Ensure you build the project in one of these configurations before scanning.
93
+
84
94
## Usage
85
95
86
96
The server provides five main tools that can be used by AI agents:
0 commit comments