We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 95bd10c + c5f76d9 commit ee9438bCopy full SHA for ee9438b
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