Dynamics AX 2012 : The reference assemblies for framework ".NETFramework,Version=v.4.0" were not found.

Lors de la synchronisation avec TFS, les messages suivants sont apparus:

MSB3644: The reference assemblies for framework ".NETFramework,Version=v.4.0" were not found.

AX1004: Reference System.Core, Version 4.0.0.0, Culture=neutral,PublicKeyToken=b77a5c561934e089 was not a valid model assembly.





C’est davantage un problème avec .NET Framework que Dynamics AX. Lorsque j’ai voulu installer Windows SDK for Windows 7 with .NET Framework 4, je recevais le message d'erreur suivant:

Some Windows SDK components require the RTM .NET Framework 4. Setup detected a pre-release version of .NET Framework 4. If you continue with Setup, these components will not be installed. If you want to install these components, click Cancel, then install the .NET Framework 4 from https://go.microsoft.com/fwlink/?LinkID=187668 and then rerun Setup.
Click OK to continue.

Ensuite, j’ai voulu installer Microsoft .NET Framework 4, mais je recevais le message d’erreur suivant :

The Microsoft .NET Framework 4 is already part of the operating system. No need to install the .NET Framework 4 redistributable. More information. An equal or higher version of the .NET Framework 4 has already been installed on the computer.

Afin de résoudre le problème, j’ai suivi les étapes mentionnées ici: Windows SDK Setup failure. J’ai changé temporairement la donnée de la valeur version pour 4.0.30319 dans les clés suivantes:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\Full\Version
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\Client\Version

Ensuite, j’ai pu installer Windows SDK. Ensuite, j’ai remis la valeur originale. 


Previous
« Prev Post