Error MSB4019: Imported item not Found "C:\Program Files (x86) \msbuild\microsoft\visualstudio\v11.0\webapplications\ Microsoft.WebApplication.targets "

Source: Internet
Author: User

Error MSB4019: Imported item not Found "C:\Program Files (x86) \msbuild\microsoft\visualstudio\v11.0\webapplications\ Microsoft.WebApplication.targets "

 this is  very easy to do . Open your build definition and go to the  process
      page. Then under the  3. Advanced   group you had a property called  msbuild Arguments  " . Place the parameter there with the following syntax  " /p:visualstudioversion=12.0  . Of course without the quotes. If you had more parameters, separate them with a space and not a comma. 
%systemroot%\microsoft.net\framework\v4. 0.30319  /t:rebuild/p:configuration=release/p:visualstudioversion=12.0::/l:filelogger, microsoft.build.engine;logfile=build1.logmsbuild  /t:resolvereferences; compile/t:_wppcopywebapplication/p:configuration=release/p:visualstudioversion=12.0 /P: Webprojectoutputdir=. \.. \release::/l:filelogger,microsoft.build.engine;logfile=Build2.logecho Compile current project complete pause

Add compilation parameters:

/p:visualstudioversion=12.0

Error MSB4019: Imported item not Found "C:\Program Files (x86) \msbuild\microsoft\visualstudio\v11.0\webapplications\ Microsoft.WebApplication.targets "

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.