LoginSignup
0
5

More than 5 years have passed since last update.

Visual C++ 2013のプロジェクトをVisual Studio 2017に移行

Last updated at Posted at 2017-03-18

Visual Studio 2013で作成したVisual C++プロジェクトをVisual Studio 2017へ移行します。

環境

Windows 7 Professional SP1 64bit
Visual Studio 2017 Community

手順

Visual Studio 2013で作成したVisual C++プロジェクトのソリューションファイル(*.sln)をVisual Studio 2017で開くと以下のダイアログが表示されます。

aaa.png

今回はそのままOKボタンをクリックします。

そのままビルドすると以下のエラーが発生しました。
移行元のプロジェクトが Windows SDK 8.1 を使っていたためのようです。

bbb.png

説明の通りソリューションを右クリックして[ソリューションの再ターゲット]を選択します。

cccc.png

ターゲットプラットホームを選択する画面が表示されるので Windows SDK のバージョンを選択します。

ddd.png

これで問題なくビルドできるようになりました。

0
5
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
5