简体   繁体   中英

Visual studio Build Error

I installed the VS 2015 & 2013. And i am trying to Buils my Custom Web Application using the "MSBuild version is 4.0.30319".

I am getting the following error :

The imported project "C:\Program Files (x86)\
   MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\
   Microsoft.WebApplications.targets" was not found.

Could any one replay why the folder is not created after VS installation. When V10.0 file will create and which version of VS in need to install ?

But Visual Studio normal build is working. How its working ?

Since you install VS 2015 & 2013, please use MSBuild 14.0 (12.0) to build your visual studio 2015 (2013) project.

You may encounter many problems when you use earliest version msbuild to visual studio 2013 and visual studio 2015 project.

Update:

The target files will be found when you install visual studio 2010. Or you could copy the target file to related path manually.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM