MSTest复制文件以测试运行文件夹 [英] MSTest copy file to test run folder

查看:76
本文介绍了MSTest复制文件以测试运行文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个测试,要求读取XML文件并进行解析.每次如何将这个文件复制到测试运行文件夹中?

I've got a test which requires an XML file to be read in and then parsed. How can I have this file copied into the test run folder each time?

XML文件设置为如果更新则复制",并将编译模式设置为无"(因为它实际上不是可编译的东西)

The XML file is set to "Copy if newer" and a compile mode of "none" (since it's not really a compile-able thing)

推荐答案

使用

这篇关于MSTest复制文件以测试运行文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆