Gregory 的个人资料Stop Making Sense照片日志网络 工具 帮助

日志


3月28日

Adding Items to the Visual Studio Toolbox

As most of you already know, I am currently running the Visual Studio 2008 beta. I know it says it is a release product, but occasionally I find that that expectation is unrealistic, so I will call it beta and be content. :-)

My current issue is with toolbox. I cannot add custom items to the toolbox. I have cleared temporary files, used devenv /setup and devenv /resetskippkgs and even reset the toolbox. This shows my desperation? Still the IDE crashes.

Finally, after dinking around a bit, an inspiration came to me. Something is loading in the toolbox that is messing things up. If this is true, then the proper way to clear things out, when reset does not work is to use safe mode. So, here is what I have done to solve this problem.

  1. Open a Visual Studio command prompt
  2. Type in devenv /safemode
  3. Right click on the toolbox and choose the option Choose Items
  4. Click each tab. Somewhere in the process, you will notice an exception loading one of the controls
  5. Restart Visual Studio normally
  6. Add controls

Suddenly, I am in coding "heaven" again. Until next time ...

Peace and Grace,
Greg

评论 (3)

请稍候...
很抱歉,您输入的评论太长。请缩短您的评论。
您没有输入任何内容,请重试。
很抱歉,我们当前无法添加您的评论。请稍后重试。
若要添加评论,需要您的家长授予您相应权限。请求权限
您的家长禁用了评论功能。
很抱歉,我们当前无法删除您的评论。请稍后重试。
您已超过了一天之内允许提供的评论数上限。请在 24 小时后重试。
因为我们的系统表明您可能在向其他用户提供垃圾评论,您的帐户已禁用了评论功能。如果您认为我们错误地禁用了您的帐户,请联系 Windows Live 支持部门
完成下面的安全检查,您提供评论的过程才能完成。
您在安全检查中键入的字符必须与图片或音频中的字符一致。

若要添加评论,请使用您的 Windows Live ID 登录(如果您使用过 Hotmail、Messenger 或 Xbox LIVE,您就拥有 Windows Live ID)。登录


还没有 Windows Live ID 吗?请注册

Solved my problems too, Thx
10 月 23 日
Mihai发表:
I have the same issue, however VS 2008 crashes in /safemode when trying to initilize the toolbox.... There is no way to right-click the toolbox without VS starting to initilize and crash.
3 月 21 日
匿名 的图片
John 发表:
Thankyou!

Applies to the release version of VS2008 as well (even SP1), and I think the following item on Microsoft Connect is related:

http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=345965

I will copy the link to this blog entry onto that item (hope that is OK) so that anyone lese suffering can find the solution.

Regards


John
10 月 30 日

引用通告

此日志的引用通告 URL 是:
http://gregorybeamer.spaces.live.com/blog/cns!B036196EAF9B34A8!532.trak
引用此项的网络日志