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 "