Our build servers are unable to find the “GraphCmd.exe” file after Visual Studio 2012 was installed on them. It worked with only Visual Studio 2010 installed (now both versions are installed – VS2010 and VS2012).
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\ArchitectureTools\Microsoft.VisualStudio.TeamArchitect.LayerDesigner.targets (148): The "GraphCmd" task failed unexpectedly. System.InvalidOperationException: Cannot start process because a file name has not been provided.
I found an issue in the TeamArchitect targets file:
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\ArchitectureTools\Microsoft.VisualStudio.TeamArchitect.LayerDesigner.targets
The last GraphCmdPath property definition works only if MSBuild is running as 32bit process because the registry entry was written by a 32bit process and thus it is under der “Wow6432Node” section of the registry:
<!-- Determine GraphCmd location -->
I have found a workaround so that we can use VS2012 with our Modeling projects. See the Workaround section of this bug entry.