我有一个实现 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:1033Additional 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 崩溃。