Running Universal Windows unit tests from the command line
问题 How do you run Universal Windows (UWP) unit test projects from the command line? I am using the MSTestFramework. 回答1: Short answer: vstest.console.exe /Platform:x64 AppPackages\UnitTestProject1_1.0.0.0_x64_Debug_Test\UnitTestProject1_1.0.0.0_x64_Debug.appx Long answer: Create the project by selecting Universal / Unit Test App (Universal Windows) template: Build it with command line using in the folder where the solution file is msbuild /p:Platform=x64;Configuration=Debug Try running the