小编Rai*_*333的帖子

Visual Studio 2013以随机顺序打开新文件,具体取决于项目和文件类型 - 如何解决此问题

我安装了ReSharper 8.2.3和PowerTools的Visual Studio 2013 Professional Update 3.

我的问题是,无论我是从工具 - >选项 - >环境 - >选项卡和Windows - >在现有选项卡的右侧插入新选项卡,每当我打开新文件时,它们都会随机地位于选项卡视图上,具体取决于在文件扩展名和他们来自的项目上.

如何让它始终将新文件打开到最右端?

visual-studio-2013

5
推荐指数
1
解决办法
416
查看次数

VS 2017 测试资源管理器窗口空引用异常

因此,基本上当我在 VS 2017 (15.3.2.) 中使用 nunit3 和 specflow、selenium UI 测试打开我的解决方案时,我在测试资源管理器窗口中收到以下异常和错误:

在此处输入图片说明

有没有办法来解决这个问题?有一个解决方法,但它很荒谬......如果我在没有任何项目的情况下启动 VS 2017,然后从最近打开项目 - 它的工作正常。

An exception was encountered while constructing the content of this frame.  This information is also logged in "C:\Users\USER\AppData\Roaming\Microsoft\VisualStudio\15.0_6ae63cad\ActivityLog.xml".

Exception details:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.VisualStudio.TestWindow.VsHost.TestWindowToolWindow.InvokeSwapInRealTestWindow(String eventName)
   at Microsoft.VisualStudio.TestWindow.VsHost.TestWindowToolWindow.OnToolWindowCreated()
   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, UInt32 flags)
   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, ProvideToolWindowAttribute tool)
   at Microsoft.VisualStudio.Shell.Package.FindToolWindow(Type toolWindowType, Int32 id, Boolean create, ProvideToolWindowAttribute tool)
   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Guid& toolWindowType, Int32 id)
   at …
Run Code Online (Sandbox Code Playgroud)

specflow nunit-3.0 visual-studio-2017

5
推荐指数
1
解决办法
898
查看次数