<i id='lau6U'><tr id='lau6U'><dt id='lau6U'><q id='lau6U'><span id='lau6U'><b id='lau6U'><form id='lau6U'><ins id='lau6U'></ins><ul id='lau6U'></ul><sub id='lau6U'></sub></form><legend id='lau6U'></legend><bdo id='lau6U'><pre id='lau6U'><center id='lau6U'></center></pre></bdo></b><th id='lau6U'></th></span></q></dt></tr></i><div id='lau6U'><tfoot id='lau6U'></tfoot><dl id='lau6U'><fieldset id='lau6U'></fieldset></dl></div>

<small id='lau6U'></small><noframes id='lau6U'>

    <bdo id='lau6U'></bdo><ul id='lau6U'></ul>
  • <tfoot id='lau6U'></tfoot>

    1. <legend id='lau6U'><style id='lau6U'><dir id='lau6U'><q id='lau6U'></q></dir></style></legend>

      1. Visual Studio 2017 中缺少创建单元测试上下文菜单选项?

        Create Unit Tests context menu option missing in Visual Studio 2017?(Visual Studio 2017 中缺少创建单元测试上下文菜单选项?)

          <tbody id='znjQZ'></tbody>
        • <tfoot id='znjQZ'></tfoot>
        • <i id='znjQZ'><tr id='znjQZ'><dt id='znjQZ'><q id='znjQZ'><span id='znjQZ'><b id='znjQZ'><form id='znjQZ'><ins id='znjQZ'></ins><ul id='znjQZ'></ul><sub id='znjQZ'></sub></form><legend id='znjQZ'></legend><bdo id='znjQZ'><pre id='znjQZ'><center id='znjQZ'></center></pre></bdo></b><th id='znjQZ'></th></span></q></dt></tr></i><div id='znjQZ'><tfoot id='znjQZ'></tfoot><dl id='znjQZ'><fieldset id='znjQZ'></fieldset></dl></div>

        • <legend id='znjQZ'><style id='znjQZ'><dir id='znjQZ'><q id='znjQZ'></q></dir></style></legend>

            <small id='znjQZ'></small><noframes id='znjQZ'>

              • <bdo id='znjQZ'></bdo><ul id='znjQZ'></ul>

                  本文介绍了Visual Studio 2017 中缺少创建单元测试上下文菜单选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我的 VS2017 副本中似乎缺少创建单元测试"上下文菜单选项.

                  我知道它被删除的历史有一段历史,并且

                  编辑 2:我可以确认这已在最新版本的 VS 中得到修复.

                  解决方案

                  这似乎是一个已知问题,如下所述:

                  <块引用>

                  Visual Studio 团队 · 6 天前 0(2017 年 3 月 17 日)

                  感谢您的反馈!我们已经修复了问题和错误修复将包含在下一个更新版本中.谢谢你帮助我们构建更好的 Visual Studio!

                  https://developercommunity.visualstudio.com/content/problem/24835/create-unit-tests-missing-when-right-click-in-meth.html

                  我可以确认这在最新版本的 VS 中现已修复(针对针对完整 .NET 框架的项目).

                  注意:这仍然不适用于 .NET Core 项目 根据这个问题.

                  The 'Create Unit Test' context menu option seems to be missing from my copy of VS2017.

                  I know there was a bit of history where it was removed and then re-added in VS2015 after much outcry, but as far as I can tell from the Microsoft documentation for VS2017 it should be there now?

                  The solution I'm working on contains an ASP.NET Web API 2 app, a C# Class Library and a couple of test projects, all targeting .NET Framework 4.5.1. (I'm aware that this option shouldn't be there for .Net Core or .Net Standard projects (as discussed at length in this question).

                  I've tried right clicking the class name and method name in the code window, the class name tab and the class file in solution explorer all to no avail.

                  Edit: The "Testing tools core features" is already installed in my copy of VS:

                  Edit 2: I can confirm this is now fixed in the latest versions of VS.

                  解决方案

                  This appears to be a known issue as stated here:

                  Visual Studio Team · 6 days ago 0 (March 17, 2017)

                  Thank you for your feedback! We have fixed the problem and the bug fix will be included in an next update release. Thank you for helping us build a better Visual Studio!

                  https://developercommunity.visualstudio.com/content/problem/24835/create-unit-tests-missing-when-right-click-in-meth.html

                  Edit: I can confirm this is now fixed (for projects targeting the full .NET framework) in the latest versions of VS.

                  NB: This is still not expected to be working for .NET Core projects as per this question.

                  这篇关于Visual Studio 2017 中缺少创建单元测试上下文菜单选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Force JsonConvert.SerializeXmlNode to serialize node value as an Integer or a Boolean(强制 JsonConvert.SerializeXmlNode 将节点值序列化为整数或布尔值)
                  Using JSON to Serialize/Deserialize TimeSpan(使用 JSON 序列化/反序列化 TimeSpan)
                  Could not determine JSON object type for type quot;Classquot;(无法确定类型“Class的 JSON 对象类型.)
                  How to deserialize a JSONP response (preferably with JsonTextReader and not a string)?(如何反序列化 JSONP 响应(最好使用 JsonTextReader 而不是字符串)?)
                  how to de-serialize JSON data in which Timestamp it-self contains fields?(如何反序列化时间戳本身包含字段的JSON数据?)
                  JSON.Net custom contract serialization and Collections(JSON.Net 自定义合约序列化和集合)
                    <legend id='S7rBX'><style id='S7rBX'><dir id='S7rBX'><q id='S7rBX'></q></dir></style></legend>

                      <i id='S7rBX'><tr id='S7rBX'><dt id='S7rBX'><q id='S7rBX'><span id='S7rBX'><b id='S7rBX'><form id='S7rBX'><ins id='S7rBX'></ins><ul id='S7rBX'></ul><sub id='S7rBX'></sub></form><legend id='S7rBX'></legend><bdo id='S7rBX'><pre id='S7rBX'><center id='S7rBX'></center></pre></bdo></b><th id='S7rBX'></th></span></q></dt></tr></i><div id='S7rBX'><tfoot id='S7rBX'></tfoot><dl id='S7rBX'><fieldset id='S7rBX'></fieldset></dl></div>

                      <tfoot id='S7rBX'></tfoot>

                        • <bdo id='S7rBX'></bdo><ul id='S7rBX'></ul>

                          1. <small id='S7rBX'></small><noframes id='S7rBX'>

                              <tbody id='S7rBX'></tbody>