Web Application Build Error: The CodeDom provider type Microsoft.VisualC.CppCodeProvider could not be located
问题 I'm building/packing a web application in a build server, and it fails with the following message: ASPNETCOMPILER error ASPCONFIG: The CodeDom provider type "Microsoft.VisualC.CppCodeProvider, CppCodeProvider, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" could not be located. This is the build server environment: Windows Server 2008 R2 Standard TeamCity 8.0.4 .NET 4.5 Windows SDK for Windows 7 and .NET 4 Windows SDK for Windows 8 and .NET 4.5 Portable Class Library