Voici un problème intéressant qui m'a vraiment gratter la tête. J'ai un projet en cours de construction dans TeamCity. Cela fonctionne correctement jusqu'à ce qu'un développeur ajoute un fichier de ressources à l'un des projets avec des chaînes pour un autre paramètre régional. Il a ajouté le fichier .resx dans le dossier Propriétés à côté du fichier par défaut. Voici le message d'erreur du journal de construction:Échec de construction parce qu'il ne peut pas trouver AL.exe
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(2105, 9):
error MSB3091: Task failed because "AL.exe" was not found, or the correct
Microsoft Windows SDK is not installed. The task is looking for "AL.exe" in the "bin"
subdirectory beneath the location specified in the InstallationFolder value
of the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v6.0A.
You may be able to solve the problem by doing one of the following:
1) Install the Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5.
2) Install Visual Studio 2008.
3) Manually set the above registry key to the correct location.
4) Pass the correct location into the "ToolPath" parameter of the task.
Il y a un certain nombre de choses ici que je ne peux pas établir. - Comment se fait-il qu'il trouve AL.exe pour le fichier .resx par défaut mais pas pour ce nouveau fichier? - Pourquoi regarde-t-il une clé de registre qui semble spécifique à Vista, lorsque la version est exécutée sur Server 2003?
Des idées?
J'ai eu le même problème sur la machine de développement et j'ai juste copié le al.exe de 6.1A à 6.0A et ai travaillé. L'installation du sdk n'a pas fonctionné. –