在我的Azure项目中尝试访问远程桌面连接的设置时,Visual Studio 2010 SP1挂起,直到被迫关闭。我安装了新的Azure SDK(2011年11月),问题仍然存在。通过选中此框或单击“发布”窗口中的“设置..”,就会发生此问题(我试图发布屏幕截图,但不幸的是,我的声誉太低了.. ;-))
我在Visual Studio中启用了日志记录,并得到以下条目:
<entry>
<record>326</record>
<time>2011/11/15 06:55:14.972</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
<guid>{8FF02D1A-C177-4AC8-A62F-88FC6EA65F57}</guid>
</entry>
<entry>
<record>327</record>
<time>2011/11/15 06:55:14.972</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Unexpected system error mode before loading package [Visual Web Developer Project Persistance Package]</description>
<guid>{8FF02D1A-C177-4AC8-A62F-88FC6EA65F57}</guid>
</entry>
<entry>
<record>328</record>
<time>2011/11/15 06:55:14.972</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Begin package load [Visual Web Developer Project Persistance Package]</description>
<guid>{8FF02D1A-C177-4AC8-A62F-88FC6EA65F57}</guid>
</entry>
<entry>
<record>329</record>
<time>2011/11/15 06:55:14.988</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Loading UI library</description>
<guid>{8FF02D1A-C177-4AC8-A62F-88FC6EA65F57}</guid>
<path>C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Packages\*\webdirprjui.dll</path>
</entry>
<entry>
<record>330</record>
<time>2011/11/15 06:55:14.988</time>
<type>Information</type>
<source>VisualStudio</source>
<description>End package load [Visual Web Developer Project Persistance Package]</description>
<guid>{8FF02D1A-C177-4AC8-A62F-88FC6EA65F57}</guid>
</entry>
</activity>
如果有帮助,我们将乐意提供更多信息。
最佳答案
我重新创建了我的问题并解决了。脚步:
1.Add a certificate.
1.1 In the web-role project, open the configuration file under Roles and then select Certificates in the left menu.
1.2 Click Add Certificate. (just leave it as it is created).
1.3 Save.
2. Try to open Remote desktop configuration.
2.1 Visual Studio hangs.
3. Solve it.
3.1 Restart Visual studio.(Always as administrator).
3.2 Remove the certificate.
3.3 Try to open Remote desktop configuration.
3.4 It should now work. Well.. It does for me.
关于azure - Visual Studio 2010在Windows Azure的 "Configure Remote Desktop Connections"上挂起,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/8132950/