0

Visual Studio 2003プロジェクト(SimpleIni)をビジュアルスタジオ2015に作成しようとしています。警告MSB8012 - ビジュアルスタジオでVisual Studio 2003プロジェクトを構築する2015

プロジェクトを開いた後、自動アップグレードするオプションが表示されました。 しかし、私はソリューションをビルドすることができないんだアップグレードすると、次の警告を取得した後:私はしかし

warning MSB8012 : make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile)

How do I fix warning MSB8012 in a static library project in Visual C++ 2010?

1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(1189,5): warning MSB8012: TargetPath(E:\abc\VisualStudioCpp\test\simpleini-master\Debug Unicode\SimpleIni.exe) does not match the Linker's OutputFile property value (E:\abc\VisualStudioCpp\test\simpleini-master\Debug Unicode\testsi.exe). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile). 
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(1191,5): warning MSB8012: TargetName(SimpleIni) does not match the Linker's OutputFile property value (testsi). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile). 
1>ConvertUTF.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/SAFESEH' specification 

私は、以下のリンクを介して行っていますVisual Studio 2015でリンカー設定を変更する方法が見つかりません。

C誰かがビジュアルスタジオ2015でVisual Studio 2003プロジェクトを構築する方法を教えてくれますか?

General tab -> Target Name = SimpleIni, Target Extension = .exe

また、プロジェクトのアプリケーションの種類がアプリケーションであること、[全般]タブのチェックに:あなたは次のようにプロジェクトのオプションを変更する必要があり、問題を解決するには

+0

は警告がビルドを失敗しない提供しました。 Visual Studio 2015で表示されるエラーは何ですか? – Nikita

+0

@Nikita:プログラムを実行しようとすると、次のようなエラーが発生します: '' "E:\ abc \ VisualStudioCpp \ test \ simpleini-master \ Debug Unicode \ SimpleIni.exe" 'が内部または外部として認識されませんコマンド 実行可能なプログラムまたはバッチファイル。 – user3898160

+0

このエラーは、 'Sim pleIni.exe'が存在しないことを意味します。 VS2015でソリューションリビルドを実行すると、どのようなエラーが表示されますか? – Nikita

答えて

2

添付のスクリーンショットに表示されているこれらのオプションはすべて:このオプションは、怒鳴るのスクリーンショットにマークされている enter image description here

Linker tab -> All parameters -> Output file -> $(OutDir)$(TargetName)$(TargetExt)

:ほとんどのケースで enter image description here

+0

答えをありがとう。いくつかのスナップショットを追加することができれば、私が言及したリンクで同じ回答を提供しているので、確かに役立つでしょう。 – user3898160

+0

@ user3898160はい、上記のリンクであまりにも多くの情報が問題を解決する必要はありません。私はそれをより明確にするためにconfigsの画面を添付します – Nikita

+0

@ user3898160おそらく更新された答えはもっと役立つでしょう、それを確認してください。 – Nikita

関連する問題