June 19, 2004 .net

Longhorn 4074, MSBuild + GetOutputAssembly

If you’re using Longhorn 4074 and MSBuild is telling you this, The target GetOutputAssembly” does not exist in the project.’, then try these steps to solve the problem:

  • Backup %windows%\microsoft.net\windows\v6.0.4030\WindowsCommon.Target because you’re about to modify it

  • In WindowsCommon.Target, replace all GetOutputAssembly with BuildOutputGroup

  • Save and Close WindowsCommon.Target

  • Re-run MSBuild and enjoy