We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3299493 commit c5f76d9Copy full SHA for c5f76d9
dotnet/samples/Demos/ModelContextProtocolClientServer/MCPServer/Prompts/EmbeddedResource.cs
@@ -19,7 +19,7 @@ internal static string ReadAsString(string fileName)
19
throw new InvalidOperationException($"[{s_namespace}] {fileName} assembly not found");
20
21
// Resources are mapped like types, using the namespace and appending "." (dot) and the file name
22
- string resourceName = $"{s_namespace}." + fileName;
+ string resourceName = $"{s_namespace}.{fileName}";
23
24
Stream stream =
25
assembly.GetManifestResourceStream(resourceName) ??
0 commit comments