###前提・実現したいこと
Visual Studio 2015が起動後にハンドルされない例外を検出してプロセスが中止されます。
Visual Studio がきちんと動作するようにしたいです。
###試したこと
devenv.exe /safemode で起動しても変わりませんでした。
プログラムと機能から修復しても変わりませんでした。
###直前の動作
VBAで使用するCOMをC#で作成しておりました。
RegAsm.exeでレジストリに登録およびtlbファイルの生成をしてVBAで使用することはできました。
COMを使用するに当たり、RegAsm.exeを使う側でやらせずにできる方法はないかと思い、
dllのインストーラを作成してやってみようとしていました。
使用したインストーラーはVisual Studio installerです。
ファイルシステムのアプリケーションフォルダとグローバルアセンブリキャッシュにプライマリ出力を追加しました。
dllをインストール後、PCの動作が遅くなったため再起動しました。
再起動後に本現象が発生しました。
###補足情報(言語/FW/ツール等のバージョンなど)
Visual Studio 2015
###ログなど
イベントビューアは以下の2つがエラーレベルで発生していました。
アプリケーション:devenv.exe フレームワークのバージョン:v4.0.30319 説明: ハンドルされない例外のため、プロセスが中止されました。 例外情報:System.BadImageFormatException 例外情報:System.BadImageFormatException 場所 Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean) 場所 Microsoft.VisualStudio.Services.VsTask.GetResult() 場所 Microsoft.VisualStudio.Services.AsyncQueryService.AsyncServiceProvider+<GetAsyncServiceByGuidThrowing>d__14.MoveNext() 場所 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) 場所 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) 場所 Microsoft.VisualStudio.Services.AsyncQueryService.AsyncServiceProvider+<GetObjectOrNullForFaultedTask>d__15.MoveNext() 場所 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task) 場所 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) 場所 Microsoft.VisualStudio.Telemetry.VSTelemetryPackage+<<CreateSqmUploader>b__11_1>d.MoveNext() 場所 System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_0(System.Object) 場所 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) 場所 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) 場所 System.Windows.Threading.DispatcherOperation.InvokeImpl() 場所 System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object) 場所 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) 場所 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) 場所 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) 場所 MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object) 場所 System.Windows.Threading.DispatcherOperation.Invoke() 場所 System.Windows.Threading.Dispatcher.ProcessQueue() 場所 System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) 場所 MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) 場所 MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) 場所 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) 場所 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) 場所 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) 場所 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
障害が発生しているアプリケーション名: devenv.exe、バージョン: 14.0.23107.0、タイム スタンプ: 0x559b7ead 障害が発生しているモジュール名: KERNELBASE.dll、バージョン: 6.1.7601.23572、タイム スタンプ: 0x57fd0379 例外コード: 0xe0434352 障害オフセット: 0x0000c54f 障害が発生しているプロセス ID: 0x176c 障害が発生しているアプリケーションの開始時刻: 0x01d3587503cc43b1 障害が発生しているアプリケーション パス: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe 障害が発生しているモジュール パス: C:\Windows\syswow64\KERNELBASE.dll レポート ID: 4aeac775-c468-11e7-80c4-e89a8fddda37

回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/11/10 04:20