English 中文(简体)
管理系统测试:单位测试——未找到的投稿......
原标题:MSTest: Unit testing - Input file not found ... vsmdi

我计划增加一个单位测试。 该项目的其他单位测试由以前的开发商撰写。 我有幸测试一个读物和XML文档的物体。 为此,我选择测试项目,并增加一个单位测试,然后选择我想要测试的类别。 摇摇摇摇摇摇篮的分类是自动产生的,我可以成功地汇编该项目,但在我出行时,我会发现错误。

未找到的投稿: C:BlahBlahBlahMYPROJECTNAME.vsmdi。

我试图核对测试解决方案中的所有档案,并重新测试单位测试,但我仍然有同样的错误。

您:

  1. There are no vsmdi files in my project
  2. Running Visual Studio 2010
  3. TFS 2010
  4. Targeting the .NET 2.0 runtime (can t go to 4.0 due to management restriction)
  5. This is a console application
  6. Using MSTest

任何帮助都将受到赞赏。 ...... Orin

问题回答

我有同样的问题。 我做了些什么:

  1. Closed solution and Visual Studio
  2. Removed partial read only from the folder with project
  3. Open VS again and launched tests

我在“产出测试”窗口中仍然有这一信息,但测试是可以执行的。

希望会有所帮助。

如果这个问题对你来说仍是一个问题,我建议检查一下,如果你重新经营服务器建设,那么你会在当地和建筑服务器上书写制作VSMDI文档的名录。 如果我正确回顾一下,如果VS不能创建VSMDI档案,你就会收到这一信息。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签