Tout le monde parvient à obtenir des applications .NET 4.0 compilant sur un serveur CI sans installer Visual Studio 2010 sur un serveur CI?Problèmes de génération .NET 4.0 sur le serveur CI
Aucun SDK n'existe pour .NET 4.0. Avoir installé .NET 4.0 sur le serveur CI. Msbuild.exe travaille pour des projets simples et donner l'avertissement suivant:
(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.
Comment puis-je en faire une erreur fatale plutôt qu'un avertissement? Il est caché dans notre journal de construction et à la place il échoue plus bas avec un message cryptique sur mscorlib.dll –