Mostrando entradas con la etiqueta Web.Config Transformations. Mostrar todas las entradas
Mostrando entradas con la etiqueta Web.Config Transformations. Mostrar todas las entradas

martes, 12 de febrero de 2013

Links útiles #21 Team Foundation Server

1-TFS Build Extension Enero 2013

http://mikefourie.wordpress.com/2013/01/31/community-tfs-build-extensions-jan-2013-release-available/

2-Reporting sobre TFS 2010

http://blogs.msdn.com/b/sunder/archive/2009/11/24/reporting-in-team-foundation-server-2010-part-1-introduction.aspx

http://blogs.msdn.com/b/sunder/archive/2010/01/05/reporting-in-team-foundation-server-2010-part-2-sharepoint-dashboards-sharepoint-server-dashboard.aspx

http://blogs.msdn.com/b/sunder/archive/2010/01/07/reporting-in-team-foundation-server-2010-part-3-sharepoint-dashboards-sharepoint-server-dashboard-customization.aspx

http://blogs.msdn.com/b/sunder/archive/2010/02/02/reporting-in-team-foundation-server-2010-part-4-sharepoint-dashboards-creating-a-team-dashboard.aspx

http://blogs.msdn.com/b/sunder/archive/2010/02/18/reporting-in-team-foundation-server-2010-part-5-sharepoint-foundation-dashboard.aspx

http://blogs.msdn.com/b/sunder/archive/2010/02/23/reporting-in-team-foundation-server-2010-part-6-rich-sql-reporting-services-reports.aspx

http://blogs.msdn.com/b/sunder/archive/2010/02/24/adding-reports-dashboards-and-updating-reports-on-an-existing-team-project.aspx

http://blogs.msdn.com/b/sunder/archive/2010/03/02/reporting-in-team-foundation-server-part-7-excel-reports-from-work-item-queries.aspx

http://blogs.msdn.com/b/sunder/archive/2010/04/07/reporting-in-team-foundation-server-2010-part-8-custom-reports-options-tools.aspx

http://blogs.microsoft.co.il/blogs/eranruso/archive/2013/01/29/sharepoint-dashboards-modification-queries.aspx?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+EranRuso+%28Eran+Ruso%29

3-TFS API – comentarios sobre work items

http://www.codewrecks.com/blog/index.php/2013/02/02/tfs-api-to-associate-work-item-with-check-in-using-comment-tags

4-Team Foundation Mobile (OData)

http://programandonet.com/web/team-foundation-service-mobile/

5-PSExec con TFS Build

http://www.codewrecks.com/blog/index.php/2010/07/10/deploy-remotely-with-tfs-build/

http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx

http://blogs.itpro.es/david/2011/09/02/ejecutando-aplicaciones-de-manera-remota-con-psexec/

http://stackoverflow.com/questions/9496949/psexec-with-tfs-build

http://www.danielcolomb.com/2011/06/27/deploying-windows-services-from-tfs/

http://www.andygeldman.com/index.php/2012/02/case-study-automated-build-deployment-of-a-legacy-web-app/

6-Custom Activity counters

http://geekswithblogs.net/charliemott/archive/2013/02/04/tfs-build-custom-activity--todo-counter.aspx

7-SCOM 2012 (Operations Manager 2012) y TFS 2010/2012

http://blogs.like10.com/2013/02/04/welcome-to-the-new-age-scom-2012-sp1-and-tfs-20102012-devops/

8-TF.exe ejemplos de uso

http://mohamedradwan.wordpress.com/2013/02/03/tf-exe-fast-overview/

9-TFS Build y archivos .config – transformations

http://geeklyeverafter.blogspot.pt/2013/02/xdt-transformsmostly-known-as-web.html

10-Extensiones útiles para Visual Studio y TFS

http://visualstudiogallery.msdn.microsoft.com/96ca3487-ef76-4c99-8e9e-0d4ae53a11f9

http://visualstudiogallery.msdn.microsoft.com/2c490d1b-bfa4-45e9-b991-3c9a0a0fbadd

http://visualstudiogallery.msdn.microsoft.com/a306ddcc-abe1-4ec3-ba77-56a807c34f8f

11-Customize Build Template para TFS 2012

http://lajak.wordpress.com/2013/01/29/customize-build-template-in-tfs2012-to-build-all-solutions-part-1/

http://lajak.wordpress.com/2013/01/30/customize-build-template-in-tfs2012-to-build-all-solutions-part-2/

miércoles, 23 de mayo de 2012

Tips/Info #4 Team Foundation Server

1-Config transformations

Si tu solución tiene configurado transformations para web.config, es posible configurarlo en TFS para que al generar el build se obtenga el archivo de configuración correcta.

En la sección “Items to build”, configuro la opción “Configuration to build” con el ambiente deseado (Ej: release)

ConfigTransformTFS_thumb

A continuación configuro la opción “MSBuid Arguments” con TransformConfigFiles=true

La otra manera es dejar Configurations to build a default y pasar como parámetro a MSBuild la siguiente opción:

/p:Configuration=Release
2-Cache local de TFS
C:\Users\[USERNAME]\AppData\Local\Microsoft\Team Foundation\2.0\Cache
C:\Users\[USERNAME]\AppData\Local\Microsoft\Team Foundation\3.0\Cache
3-Error al generar un build: Not enough storage is available to complete this operation
Posiblemente sea por falta de memoria RAM en el servidor de BUILD.

4-Copiar los archivos de _PublishedWebsites a otra ubicación


Usar la actividad CopyDirectory, setear la propiedad Source BuildDetail.DropLocation + "\_PublishedWebsites\" y la propiedad destino a Destination a la ubicación deseada. Agrega esta actividad al final del proceso de build.


5-Error: he permissions granted to user XXXXXXX are insufficient for performing this operation (rsAccessDenied) en el web part de Reporting Services de TFS


Use la herramienta http://tfsadmin.codeplex.com/




6-TFS administration tool: limpiar cache


Ingresar a C:\Users\USERNAME\AppData\Local\Microsoft\Team Foundation\3.0\


y borrar todos su contenido. Al ingresar de nuevo a TFS Administration Tool, la cache se regenerá.


7-Parámetro ReferencePath


Si tu proyecto usa referencias a librerias externas, controles custom, será necesario indicarle a TFS donde estan esos assemblies, es se hace mediante el parámetro ReferencePath del MSBuild.


En los argumentos de MSBuild de la build definition podré definir el siguiente parámetro:


/p:referencepath=”C:\Build\referenced assemblies\”


Si usted tiene los assemblies en el source control, podrá hacer referencia al folder que los contiene: http://lajak.wordpress.com/2011/03/13/pass-relative-path-arguments-to-msbuild-in-tfs2010-team-build/


Se podrá indicar múltiples paths: /p:ReferencePath="c:\builds\...\path1;c:\builds\...\path2


8-TFSConfig


Con TFSConfig podrá configurar muchos aspectos de TFS.Su ubicación es la siguiente:


Drive:\Program Files\Microsoft Team Foundation Server 2010\Tools.


9-Instalar el servicio TFSJOBAgent de forma  manual


C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe /LogFile="C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\TfsJobAgent\TfsJobAgent.InstallLog" /LogToConsole=true /username=Dominio\ TFSSERVICE /password=xxxx TFSJobAgent.exe


El job TFS Job Agent ejecuta jobs via plug-ins. Plug-in implementan el método Run en la interface ITeamFoundationJobExtension.Los Assemblies con uno o más jobs plug-in se ubican en %ProgramFiles%\Microsoft Team Foundation Server 2010\Application Tier\TFSJobAgent\plugins\


El job usa reflection para cargar las DLL. Cuando un plgu-in retorna un resultado (Succeeded, Partially Succeeded, Failed, …) y un mensaje.|


Más info: http://blogs.msdn.com/b/chrisid/archive/2010/02/15/introducing-the-tfs-background-job-agent-and-service.aspx