LoginSignup
3
1

More than 3 years have passed since last update.

The builds tools for v142 (Platform Toolset = 'v142') cannot be foundとなった時

Posted at

概要

visual studio 2015でビルドする際に、上記の様なエラーがでました。エラーの原因はビルドツールのバージョンなので、その点を変更すれば、ビルドできるようになりました。

実行環境

次に実行環境を示します。

Soft and Hard バージョン
Windows 10 pro 16.04
Visual studio 2015 Community update 3

手順

  1. 該当するプロジェクトもしくはソリューションをvisual studio上に開く
  2. プロジェクトもしくはソリューションを選択した状態で、右クリックする
  3. ”プロパティを選択する”
  4. 構成プロパティ -> 全般 -> プラットフォームツールセット をクリックし、バージョンを変更する。

figure1.png

まとめ

今使用しているwindowsには、visual studio 2015、visual studio 2017、visual studio 2019が入っているので、このようなエラーが出てしまったのだと考えられます。

3
1
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
3
1