2020年11月18日 星期三

Microsoft.WebApplication.targets was not found

 build servers that do not have Visual Studio installed using scripts

 have created websites with old versions of Visual Studio and upgrade them when a new one comes out

change VSToolsPath in proj

<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildProgramFiles32)\MSBuild\Microsoft\VisualStudio\v14.0</VSToolsPath>