Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法为测试的DLL设置执行路径,以便在MbUnit将文件复制到临时文件夹而不使用依赖注入时找到资源文件夹?
尝试将这些额外文件作为内容并将行为设置为复制不起作用。
如果您从命令行、NAnt 或 MSBuild 运行这些测试,您可以指定应用程序基目录和工作目录参数。
使用 Gallio Icarus 或 ReSharper 集成可以使用类似的机制。