LoginSignup
0
0

More than 3 years have passed since last update.

VisualStudioでC++プロジェクトが作成できなくなった時のメモ

Posted at

Visual Studio2019を更新してC++プロジェクトを作成しようとするとオブジェクト参照がオブジェクトインスタンスに設定されていませんというエラーがでて作成できなくなってしまいました。

修復や再インストールを試してみましたがそれもだめでした。
最終的に以下のことをすれば解決しました。
実行する場合は自己責任でお願いします。

1. Visual Studio2019をアンインストールする
2. Program Files(x86)フォルダの下の'Visual Studio'と付くフォルダを全て削除する
3. Program Files(x86)フォルダの下のMSBuildフォルダを削除する
4. 環境変数のVisual Studio関連の変数を削除する
5. PCの再起動
6. Visual Studio2019をインストールする
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0