We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1906b36 commit 61f13beCopy full SHA for 61f13be
src/ModelContextProtocol/Client/McpClientFactory.cs
@@ -19,7 +19,7 @@ public static class McpClientFactory
19
/// <summary>Creates default client options to use when no options are supplied.</summary>
20
private static McpClientOptions CreateDefaultClientOptions()
21
{
22
- var asmName = (Assembly.GetEntryAssembly() ?? Assembly.GetCallingAssembly()).GetName();
+ var asmName = (Assembly.GetEntryAssembly() ?? Assembly.GetExecutingAssembly()).GetName();
23
return new()
24
25
ClientInfo = new()
0 commit comments