0

我有一个实现 IValueConverter 的类。每次我构建解决方案时,Visual Studio 都会在构建成功后立即崩溃。

public class BoolToEditOrCreateConverter : IValueConverter
{
    public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
    {
        return string.Empty;
    }

    public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
    {
        return new object();
    }
}

Visual Studio 问题详情:

问题签名:问题事件名称:APPCRASH 应用程序名称:devenv.exe 应用程序版本:10.0.30319.1 应用程序时间戳:4ba1fab3 故障模块名称:clr.dll 故障模块版本:4.0.30319.1 故障模块时间戳:4ba1d9ef 异常代码:c00000fd 异常偏移量: 000018d7 操作系统版本:6.1.7600.2.0.0.256.48
区域设置 ID:1033

Additional information about the problem:   LCID: 1033

Read our privacy statement online:   http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy

离线声明:
C:\Windows\system32\en-US\erofflps.txt

然后我必须从项目中删除整个类,以防止 Visual Studio 崩溃。

4

1 回答 1

1

微软刚刚发布了 Visual Studio 2010 的 SP1,据说它修复了一堆崩溃问题。我不知道它是否能解决你的问题,但尝试一下肯定不会有什么坏处。

这是下载链接:

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=75568aa6-8107-475d-948a-ef22627e57a5&displaylang=en

这是相关的知识库文章:

http://support.microsoft.com/kb/983509

希望这可以帮助!

于 2011-04-14T17:32:43.933 回答