<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Publication on Gabriel Mongeon</title><link>https://gabrielmongeon.ca/en/tags/publication/</link><description>Recent content in Publication on Gabriel Mongeon</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 12 Feb 2015 00:00:00 -0500</lastBuildDate><atom:link href="https://gabrielmongeon.ca/en/tags/publication/index.xml" rel="self" type="application/rss+xml"/><item><title>Exclude TFS DLLs During Publication</title><link>https://gabrielmongeon.ca/en/2015/02/exclude-tfs-dlls-during-publication/</link><pubDate>Thu, 12 Feb 2015 00:00:00 -0500</pubDate><guid>https://gabrielmongeon.ca/en/2015/02/exclude-tfs-dlls-during-publication/</guid><description>&lt;p>In one of my projects, I use an ASP.Net MVC site to communicate with Team Foundation Server (TFS) to display metrics/graphs/reports. The site is hosted on the same server that hosts TFS and during publication, it publishes the file &lt;em>Microsoft.TeamFoundation.WorkItemTracking.Client.DataStoreLoader.dll&lt;/em> in the bin folder each time, which causes an ASP.Net error because the dll is already on the server.&lt;/p>
&lt;p>It is possible in an ASP.Net MVC project to exclude files and directories &lt;a href="http://www.asp.net/web-forms/overview/deployment/advanced-enterprise-web-deployment/excluding-files-and-folders-from-deployment">by creating a .wpp.targets file&lt;/a>. This allows you to define the exclusions as well as the source/reason for the exclusion.&lt;/p></description></item></channel></rss>