El TecnoBaúl de Kiquenet

Kiquenet boring stories

Posts Tagged ‘Visual Studio’

Unable to build custom action named ‘Primary output from MyProject (Release .NET)’ because it references an object that has been removed from the project.

Posted by kiquenet en 6 mayo 2010

Alguna vez con Visual Studio 2008 SP1 aparece este error trabajando con proyectos de Instalación (Setup Projects).

Unable to build custom action named ‘Primary output from MyProject (Release .NET)’ because it references an object that has been removed from the project.

En la referencia indicada se describen las posibles soluciones.

La clave es: “the project had the Primary Output listed as a custom action for all four custom action types–Install, Commit, Rollback, and Uninstall.”

”Open the property of the item which is underlined with red curvy line. Look at the file path for this item. Most likely there’s no physical file matching this path.”

”Delete and add again failing custom action items. It will help.”

Básicamente, en Custom Action Editor del proyecto Setup se eliminan los Primary Output que no tengan el SourcePath establecido, y se vuelven a agregar.

Referencia:
http://weblogs.asp.net/pjohnson/archive/2006/08/14/Windows-service-setup-projects-_2D00_-Unable-to-build-custom-action-error.aspx

Posted in .NET, Soporte | Etiquetado: , | Leave a Comment »

Comando gacutil

Posted by kiquenet en 6 noviembre 2009

Se puede utilizar en Eventos Pre-Build de Visual Studio

“%ProgramFiles%\Microsoft SDKs\Windows\v6.0A\bin\gacutil.exe” /u “Frk.Common, Version=2.0.0.0, Culture=neutral, PublicKeyToken=151111f474b3ca5b”

Posted in Comandos | Etiquetado: | Leave a Comment »