gpt4 book ai didi

visual-studio-2010 - Windows Azure 培训套件的困难

转载 作者:行者123 更新时间:2023-12-03 04:40:05 25 4
gpt4 key购买 nike

我下载了 Windows Azure Training Kit 。我使用的是 Visual Studio 2010,尽管我的计算机上也有 VS 2008。

我运行了下载的安装程序,并被定向到 HTML 页面。我正在做“面向 VS 2010 开发人员的 Windows Azure 简介”实验室。按照说明,我启动了 VS 2010 命令提示符,并运行了 SetupLab.cmd。

它检测到所有依赖项均已安装。然后它提示我安装代码片段。我将所有复选框都选中。点击“下一步”,然后单击跳过身份验证警告。它询问我想在 Visual Studio 2008 中的哪个位置安装代码片段(为什么不是 VS 2010?)我选择默认位置并单击“下一步”。

然后,出现这个错误:

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: value
at System.Windows.Forms.ImageList.ImageCollection.Add(Image value)
at VSContentInstaller.SnippetLanguagePage.SnippetLanguagePage_Load_1(Object sender, EventArgs e)
at System.Windows.Forms.UserControl.OnLoad(EventArgs e)
at System.Windows.Forms.UserControl.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.ControlCollection.Add(Control value)
at Microsoft.WizardFramework.WizardForm.ActivatePage(WizardPage page)
at Microsoft.WizardFramework.WizardPage.Activate()
at Microsoft.WizardFramework.WizardForm.OnNext()
at Microsoft.WizardFramework.WizardForm.OnNextClicked(Object sender, EventArgs e)
at Microsoft.WizardFramework.NavigationButtonBar.OnNext(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4952 (win7RTMGDR.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
VSContentInstaller
Assembly Version: 10.0.0.0
Win32 Version: 10.0.30319.1
CodeBase: file:///c:/Program%20Files/Common%20Files/Microsoft%20Shared/MSEnv/VSContentInstaller.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualStudio.VSContentInstaller
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualStudio.VSContentInstaller/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.VSContentInstaller.dll
----------------------------------------
Microsoft.VisualStudio.Zip
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.762
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualStudio.Zip/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Zip.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.WizardFramework
Assembly Version: 8.0.0.0
Win32 Version: 10.0.30319.1
CodeBase: file:///c:/Program%20Files/Common%20Files/Microsoft%20Shared/MSEnv/Microsoft.WizardFramework.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

我点击“继续”,然后出现两个页面,就像我刚刚点击“下一步”的页面一样:“选择安装每个 LANG 片段的位置”,其中 LANG 是“VB”或“C#”。这次没有任何条目。我通过它们点击“下一步”,然后进入安装页面。它安装一半的片段,并跳过其余的。

我在这里做错了什么?这是一个错误,还是我犯了一个错误?有什么解决办法吗?

最佳答案

有两件事:

  1. 当您打开 Visual Studio 命令提示符时,您是否选择了以管理员身份运行?这是必要的。
  2. 当系统提示您在何处安装代码片段时,您不想选中所有复选框。您想要选择左侧的所有代码片段,然后只需选中右侧顶部的“我的代码片段”复选框即可。这是左侧所有代码片段安装的位置。而且...如果您只使用一种语言,例如 C#,则无需安装 VB 代码片段。

希望这可以帮助您解决安装问题。

关于visual-studio-2010 - Windows Azure 培训套件的困难,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3648318/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com