¿Alguien consigue que las aplicaciones de .NET 4.0 se compilen en un servidor de CI sin instalar Visual Studio 2010 en un servidor de CI?.NET 4.0 problemas de compilación en el servidor de CI
No existe SDK para .NET 4.0. Han instalado .NET 4.0 en el servidor CI. Msbuild.exe trabaja para proyectos sencillos y dar la siguiente advertencia:
(GetReferenceAssemblyPaths target) -> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(847,9): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.
¿Cómo puedo hacer que esto sea un error fatal en lugar de una advertencia? Está oculto en nuestro registro de compilación y en su lugar falla más adelante con un mensaje críptico sobre mscorlib.dll –