あるフリーランスエンジニアの色んなメモ!! ITスキル・ライフハックとか

Visual Studio2017:1>Object reference not set to an instance of an object

事象

プロジェクトをビルドした際に以下のエラーが発生

1>Object reference not set to an instance of an object.

原因

不要なキャッシュが残っているため


対策

以下のディレクトリ内のファイルを削除し、Visual Studioを再起動する

C:\Users\user\AppData\Local\Microsoft\VisualStudio\version\ComponentModelCache
comments powered by Disqus