预编译的用户控件使VS崩溃 [英] Precompiled user control crashes VS

查看:109
本文介绍了预编译的用户控件使VS崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了预编译的用户控件。基本步骤是创建一个网站项目,然后发布以生成DLL。

I have created a precompiled user control. The basic steps are to create a Web Site project then publish to generate the DLL.

然后,我创建了一个Web应用程序项目,并添加了对DLL的引用。在我的页面中,我注册了DLL,并且能够以< prefix:control_ascx ... /> 的形式访问控件。

Then I created a Web Application project and added a reference to the DLL. In my page I registered the DLL and was able to access the control as <prefix:control_ascx ... />.

如果我运行时未调试 Ctrl + F5 ,则一切正常。如果运行调试 F5 ,Visual Studio 2008会崩溃。我安装了VS Service Pack:版本9.0.30729.1 SP 。任何想法如何解决此问题?

If I run without debugging Ctrl+F5, everything works as expected. If I run with debugging F5 Visual Studio 2008 crashes. I have the VS service pack installed: Version 9.0.30729.1 SP. Any ideas how to fix this?

Problem signature:
  Problem Event Name:   BEX
  Application Name: devenv.exe
  Application Version:  9.0.30729.1
  Application Timestamp:    488f2b50
  Fault Module Name:    MSVCR90.dll
  Fault Module Version: 9.0.30729.4974
  Fault Module Timestamp:   4b7a226f
  Exception Offset: 0003523b
  Exception Code:   c0000417
  Exception Data:   00000000
  OS Version:   6.1.7600.2.0.0.256.48
  Locale ID:    1033
  Additional Information 1: 228d
  Additional Information 2: 228d061655d5d251935c240a855d1597
  Additional Information 3: a62e
  Additional Information 4: a62e597a147799b95fd60928a6816817


推荐答案

您的项目使Visual Studio崩溃。这是VS中的一个错误,异常代码表明它正在使用无效的参数调用C运行时库。这样会立即终止程序。

Your project crashed Visual Studio. It's a bug in VS, the exception code indicates that it is making a call to the C runtime library with an invalid argument. That immediately terminates the program.

这将很难解决,该错误无疑存在于VS代码库内部。它可能与您的项目有关,但几乎无法准确诊断出它可能有什么问题。您需要一些训练有素的眼睛来发现潜在的错误(如果有)。如果您自己公司内没有任何人为您执行此操作,则可以致电Microsoft支持以获取帮助。

This is going to be difficult to deal with, the bug lives deep inside the VS codebase no doubt. It is likely that it has something to do with your project but it is next to impossible to diagnose exactly what might be wrong with it. You'll need some trained eyes to spot the potential mistake, if any. If you don't have anybody inside your own company to do this for you, you can call Microsoft Support to get help.

他们将需要您的项目,以便他们进行复制碰撞。最好的办法是提供一个最少的repro项目,该项目可以轻松演示该错误。在致电之前,准备好将其与信用卡一起上传。在创建此repro项目的过程中,您经常会发现原因。

They will need your project so they can repro the crash. Best thing to do is the provide a minimum repro project, one that easily demonstrates the bug. Have it ready to upload before you call, along with your credit card. In the process of creating this repro project, you often discover the reason.

这篇关于预编译的用户控件使VS崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆