我正在尝试使用 nmake 调用 MSTest
TEST="%VS90COMNTOOLS%..\IDE\MSTest.exe"
test:
$(TEST) /testcontainer:Test.dll
当我运行 nmake 时,我得到了:
$ nmake test
'C:\Program' is not recognized as an internal or external command,
双引号不能正常工作
编辑:
谢谢“埃里克梅尔斯基”。我创建了类似的东西:
TEST_="%VS90COMNTOOLS%..\IDE\MSTest.exe"
TEST="$(TEST_)" /nologo /noresults
test:
$(TEST) /testcontainer:Test.dll