前景提要
corefx System.Net.Sockets 源码中无法添加打印 ManagedThreadId 代码的问题
0 悬赏园豆: 30 [待解决问题] 在 .net core corefx 源码的 System.Net.Sockets 解决方案中添加下面的 C# 代码 Console.WriteLine($"Current thread id is {System.Threading.Thread.CurrentThread.ManagedThreadId}");
用下面的命令 build ../../build-managed.cmd -OSGroup=Linux -ConfigurationGroup=Release
出现下面的错误: error CS1069: The type name 'Thread' could not be found in the namespace 'System.Threading'. This type has been forwarded to assembly 'System.Threading.Thread, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' Consider adding a reference to that assembly.
请问如何解决? .net core corefx dudu | 高人七级 | 园豆: 39003
提问于:2019-05-04 08:07 显示帮助
使用"Ctrl+Enter"可进行快捷提交,评论支持部分 Markdown 语法:[link](http://example.com) _italic_ **bold** `code`。
< > 分享
分享您的问题
清除回答草稿
您需要 登录 以后才能回答,未注册用户请先 注册 。