Mac 远程桌面上的 Visual Studio - 有问题吗?
我需要一台新笔记本电脑,并且正在考虑购买 Mac。 然而,我日常工作的一个重要部分涉及到我的办公室计算机 (Vista) 的远程桌面操作以及运行 Visual Studio 2008。有人这样做过吗? 有什么具体问题需要注意吗?
谢谢!
I am in need of a new laptop, and I'm considering going for a Mac. However, an import part of my day-to-day work involves remote desktop'ing to my office computer (Vista), and running Visual Studio 2008. Has anyone done this? Are there specific issues to be aware of?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(9)
远程桌面工作没有任何缺陷。
广告功能键 - 伙计们,你检查了吗?
系统偏好设置
->键盘
并在“键盘选项卡”下选中带有文本的复选框:之后这样您的功能键将按预期工作...
Remote desktop works without flaws.
Ad Function keys - Guys, do you checked?
System Preferences
->Keyboard
and under the "Keyboard tab" check the checkbox with text:After this your function keys will works as expected...
如果您想使用 Visual Studio 默认设置进行调试,除了功能键之外,您只需要使用命令键,因此“单步执行”是
命令-f10
而不是简单地按 f10。
If you'd like to use the Visual Studio defaults for debugging you just need to use the command key in addition to the function key, so 'step over', for example, is
command-f10
instead of simply f10.
效果很好。 我很多时候都是在家里做的。 使用我的 MacBook Air 在我的四核工作站上进行远程开发。 我能想到的唯一问题(键盘快捷键除外)是你没有 Aero 可用:)
It works great. I've done it at home lots of the time. Using my MacBook Air to develop on my quad-core workstation remotely. The only issue I can think of (except keyboard shortcuts) is that you don't have Aero available :)
根据 Aaron 的建议,我今天只需执行此操作,在我的 MacBook Pro 上,大多数功能键都可以使用 fn-ctrl-[功能键] 而不是 command-[功能键],但它很快就会变得混乱,尤其是当您的快捷方式需要多个功能键时键。 即停止调试的 Shift-F5 变为 shift-fn-ctrl-F5。 如果您是 resharper 用户,您可能还会发现禁用 resharper 快捷方式以避免混淆很有用。
我不确定这是否是 Mac、RDP、VS 和/或 Resharper 之间的键映射冲突问题,但 fn-ctrl-F11 最初对调试步骤不起作用。 我必须在 VS 中的 options=>environment=>keyboard=>Debug.StepInto 下显式设置命令。 可能还有其他类似的问题。
总之,您需要的大部分操作可能都可以完成,但是您可能会发现自己在远程工作时更改设置,并且必须记住一组新的快捷方式。
to Aaron's suggestion, I just had to do this today and fn-ctrl-[function key] rather than command-[function key] works on my MacBook Pro for most function keys, but it gets confusing fast, especially when your shortcuts require multiple keys. i.e. Shift-F5 to stop debugging becomes shift-fn-ctrl-F5. If you're a resharper user you may also find it useful to disable the resharper shortcuts to avoid confusion.
I'm not sure if this is an issue of key mapping collisions between the Mac, RDP, VS and/or Resharper, but fn-ctrl-F11 did not work for the debug-step into command initially. I had to set the command explicitly in VS under options=>environment=>keyboard=>Debug.StepInto. There are probably other issues like this.
In conclusion, probably most of what you need can be done, but you'll probably find yourself changing settings whenever you work remotely, and having to remember a new set of shortcuts.
我一直使用远程桌面连接从我的 Mac 到多个 Windows 2008 R2 服务器。 效果很好。 它在我身上崩溃过几次,但这种情况非常罕见。 我在 Mac 上使用一个名为 Palua 的应用程序,它会自动切换Fn 键的打开和关闭取决于正在使用的应用程序。 我也为 VMWare Fusion 打开它。
我正在考虑使用 RDP 而不是虚拟机进行开发。
I use Remote Desktop Connection all the time from my mac to several Windows 2008 R2 servers. It works great. It has crashed on me a couple times, but that is very infrequent. I use an app called Palua on the Mac that automatically switches the fn key on and off based on which app is in use. I turn it on for VMWare Fusion too.
I'm thinking of use RDP instead of a virtual machine for development.
它确实运作得很好。 我只是想强调键盘快捷键上的Mehrdad点。 你一定会想念他们的。 很多!。 我知道这可能只是我不知道该怎么做,但直到今天,我还无法使 F10 和 F11(对于调试非常重要的键)正常工作。
It does work very well indeed. I just want to stress Mehrdad point on keyboard's shorcuts. You will definitely miss them. A Lot!. I know this could be just me not knowing how to do it, but until today, I wasn't able to enable F10 and F11 (very important keys for debugging) working properly.
我会将 Visual Studios 快捷方式更改为类似于 X-Code 的快捷方式。 需要时间,但这是值得的。 我还记得 Mac 的远程桌面可以重新映射 mac 键以充当 Windows 键 - 如果我没有记错的话,请尝试这样做。 否则远程桌面工作正常,没有任何问题。
I'd change Visual Studios shortcuts to be like X-Code's ones. Need time but it's worth it. And I also remember that remote Desktop for mac can re-map mac keys to act as windows ones - if I'm not mistaken try doing that. Otherwise remote desktop works fine, no problems at all.
我使用的是 MBP2015,并使用 Visual Studio 2013 远程桌面进入我的 Win10 工作环境。例如,调试键 F10、F11(我假设其他键也是如此)不起作用。
我尝试了别人的建议,使用 Command+F10,但这不起作用。
然后我尝试了 Command + fn + F10 ,效果很好。
I am on MBP2015, and remote desktoping into my Win10 work environment using Visual Studio 2013. Debugging keys F10, F11 for example (I assume others, too) are not working.
I tried someone elses suggestion to use Command+F10 and that is NOT working.
Then I tried Command + fn + F10 and that works.
如果您在 Bootcamp 中使用 Windows 10 并连接到另一个也是 Windows 10 的远程桌面,则在未按下 Fn 键的情况下,Visual Studio 将不会接受您的 F5 至 F12 键。 如果您想避免使用 Fn 键,请从系统托盘中打开 Boot Camp 控制面板,然后勾选“使用所有 F1、F2 等键..”,如屏幕截图所示。

If you are using Windows 10 in bootcamp and connect to another remote desktop which is Windows 10 also, Visual Studio won't accept your keys F5 though F12 without Fn key being pressed. If you want to avoid Fn key, open the Boot Camp Control Panel from systray and tick "Use all F1, F2, etc. keys.." as in the screenshot.
