Visual Studio 允许您启动 Windows 8 模拟器来测试应用程序。默认情况下,模拟器使用与我的机器相同的用户帐户。有没有办法指定不同的帐户?
1 回答
This answer comes with one important caveat: It will require an installable (registerable) version of Windows 8.
Use the Hyper-V Manager to create a new virtual machine and install Windows 8 on that. You will be able to create whatever accounts you need, either local or Microsoft accounts. Install the Visual Studio 2012 Remote Debugging tool on that machine. In my case, I joined the VM to my local WORKGROUP.
In your VS 2012 project, you can then select Remote Machine instead of Simulator or Local. If, for some reason, the remote connections dialog box doesn't show up to allow you to select the VM, you can also go to Properties > Debug > Start Options and select Remote Machine and use the Find button to locate it.