我在虚拟机(VM)中安装了Visual Studio 2010 Premium,直到今天,我卸载了Office 2010试用版,安装了Office 2010 Professional并创建了我的VM快照.
现在,当我打开Visual Studio时,界面会出现一两秒钟后消失.当我打开一个解决方案(.sln)文件(它在加载解决方案后崩溃)或刚刚打开Visual Studio 2010(即使在安全模式下)时,问题就出现了.
我该如何解决?
Here is the log:
<?xml-stylesheet type="text/xsl" href="ActivityLog.xsl"?>
<activity>
<entry>
<record>1</record>
<time>2011/10/03 13:41:20.894</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Microsoft Visual Studio 2010 version: 10.0.30319.1</description>
</entry>
<entry>
<record>2</record>
<time>2011/10/03 13:41:21.234</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Running in User Groups: Administrators Users</description>
</entry>
<entry>
<record>3</record>
<time>2011/10/03 13:41:21.304</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Available Drive Space: C:\ drive has 11464269824 bytes</description>
</entry>
<entry>
<record>4</record>
<time>2011/10/03 13:41:21.334</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Internet Explorer Version: 8.0.6001.19120</description>
</entry>
<entry>
<record>5</record>
<time>2011/10/03 13:41:21.725</time>
<type>Information</type>
<source>VisualStudio</source>
<description>.NET Framework …Run Code Online (Sandbox Code Playgroud) 我正在使用以下代码创建Signal R自托管服务器:
internal class Config
{
internal static string serverurl = null;
internal static Microsoft.AspNet.SignalR.HubConfiguration hubconfiguration = null;
internal static SignalRHub Hub { get; set; }
internal static void StartServer()
{
serverurl = "http://localhost:8080";
// In this method, a web application of type Startup is started at the specified URL (http://localhost:8080).
{
Microsoft.Owin.Hosting.WebApp.Start<Startup>(serverurl);
Log.AddMessage("Server running on " + serverurl);
}
catch(Exception ex)
{
Log.AddMessage("An error occurred when starting Server: " + ex);
}
}
}
class Startup
{
// the …Run Code Online (Sandbox Code Playgroud)