<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ARB Security Solutions</title>
	<atom:link href="http://www.sharepointsecurity.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sharepointsecurity.com</link>
	<description>The Authorative Resource For SharePoint Security Articles, Research, Software, And Security Integration Consulting</description>
	<lastBuildDate>Tue, 09 Feb 2010 04:50:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>TeamBuild &#8211; Error &#8211; Failure: unknown user name or bad password</title>
		<link>http://www.sharepointsecurity.com/sharepoint/team-foundation-server/teambuild-error-failure-unknown-user-name-or-bad-password/</link>
		<comments>http://www.sharepointsecurity.com/sharepoint/team-foundation-server/teambuild-error-failure-unknown-user-name-or-bad-password/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 15:08:54 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Team Foundation Server]]></category>

		<guid isPermaLink="false">http://www.sharepointsecurity.com/?p=3268</guid>
		<description><![CDATA[This particular error can be a pain in the ass to track down, and it will cause Team Build to be unable to create the drop directory. But there are only really two causes for it. 
1) You will generally start seeing this error after a problem occurs with a build machine that causes you [...]


Related posts:<ol><li><a href='http://www.sharepointsecurity.com/sharepoint/ad-password-management-webpart/' rel='bookmark' title='Permanent Link: AD Password Management WebPart'>AD Password Management WebPart</a></li>
<li><a href='http://www.sharepointsecurity.com/syndicated-content/how-to-set-user-permissions-programmatically/' rel='bookmark' title='Permanent Link: How to set user permissions programmatically?'>How to set user permissions programmatically?</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/building-com-visible-sharepoint-components-caused-tfs-build-server-error/' rel='bookmark' title='Permanent Link: Building COM Visible SharePoint Components Caused TFS Build Server Error'>Building COM Visible SharePoint Components Caused TFS Build Server Error</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This particular error can be a pain in the ass to track down, and it will cause Team Build to be unable to create the drop directory. But there are only really two causes for it. </p>
<p>1) You will generally start seeing this error after a problem occurs with a build machine that causes you to recreate the drop location (meaning, it&#8217;s the only time I have seen it). Or something dealing with you remaking the drop location.<br />
2) It can also come up with cross-domain development environments.</p>
<p>If you think you are experiencing problem #1<br />
1) check whether the same same build agent for all the builds<br />
2) check whether instead of an alias to refer to the machine you can use the IP</p>
<p>If you think you are experiencing problem #2</p>
<p>1) 9 times out of 10 this is a domain trust problem. Simply put, a TFS user domain doesn&#8217;t trust the TFSService account, thus when users are added the TFSService account doesn&#8217;t have the read permission on the domain controller. So you can either implement the domain trust or change the TFSService account to use the other domain. </p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.sharepointsecurity.com%2Fsharepoint%2Fteam-foundation-server%2Fteambuild-error-failure-unknown-user-name-or-bad-password%2F&amp;linkname=TeamBuild%20%26%238211%3B%20Error%20%26%238211%3B%20Failure%3A%20unknown%20user%20name%20or%20bad%20password"><img src="http://www.sharepointsecurity.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>

<p>Related posts:</p><ol><li><a href='http://www.sharepointsecurity.com/sharepoint/ad-password-management-webpart/' rel='bookmark' title='Permanent Link: AD Password Management WebPart'>AD Password Management WebPart</a></li>
<li><a href='http://www.sharepointsecurity.com/syndicated-content/how-to-set-user-permissions-programmatically/' rel='bookmark' title='Permanent Link: How to set user permissions programmatically?'>How to set user permissions programmatically?</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/building-com-visible-sharepoint-components-caused-tfs-build-server-error/' rel='bookmark' title='Permanent Link: Building COM Visible SharePoint Components Caused TFS Build Server Error'>Building COM Visible SharePoint Components Caused TFS Build Server Error</a></li>
</ol>
	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li>No related posts.</li>
	</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.sharepointsecurity.com/sharepoint/team-foundation-server/teambuild-error-failure-unknown-user-name-or-bad-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Including Code Coverage Results In TFS Alerts</title>
		<link>http://www.sharepointsecurity.com/sharepoint/team-foundation-server/including-code-coverage-results-in-tfs-alerts/</link>
		<comments>http://www.sharepointsecurity.com/sharepoint/team-foundation-server/including-code-coverage-results-in-tfs-alerts/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 18:58:00 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Team Foundation Server]]></category>
		<category><![CDATA[E]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[point]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[TFS]]></category>

		<guid isPermaLink="false">http://www.sharepointsecurity.com/?p=3255</guid>
		<description><![CDATA[Notifications are a fundamental component of a successful SharePoint continuous integration strategy approach. Maintaining continuous feedback on SharePoint products is an important counterpart of continuous integration for realizing agile SharePoint development. Without timely notifications about the status of a build, mostly broken builds, bottle necks can occur which negate the benefits of a SharePoint CI [...]


Related posts:<ol><li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/setting-continuous-integration-for-webparts-for-hourly-builds/' rel='bookmark' title='Permanent Link: Setting Continuous Integration For WebParts For Hourly Builds'>Setting Continuous Integration For WebParts For Hourly Builds</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/sharepoint-security/code-access-security-in-moss/' rel='bookmark' title='Permanent Link: Code Access Security in MOSS'>Code Access Security in MOSS</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/deleting-sharepoint-builds-with-out-of-drop-location-files/' rel='bookmark' title='Permanent Link: Deleting SharePoint Builds With Out Of Drop Location Files'>Deleting SharePoint Builds With Out Of Drop Location Files</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Notifications are a fundamental component of a successful SharePoint continuous integration strategy approach. Maintaining continuous feedback on SharePoint products is an important counterpart of continuous integration for realizing agile SharePoint development. Without timely notifications about the status of a build, mostly broken builds, bottle necks can occur which negate the benefits of a SharePoint CI implementation. </p>
<p>While doing a TFS 2008 upgrade that was heavily used for SharePoint development I was recently doing for a financial institution customizing these emails came up to adapt to the organizations CI policy. Specifically, how one could include the code coverage results in the email.</p>
<p>Under normal circumstances TFS provides a pretty reasonable mechanism to achieve notifications for CI. Individual email alerts are structured around an XSL template found in the TFS server installation directory then under <strong>Web Services -> Services -> v1.0 -> Transforms</strong>.  Adjusting the XSL will change things like the text that the user receives. It is important to note that these files, like most hived files in SharePoint, are mutable with service packs and changing them can mean that future installers will not pick up the files due to the adjusted timestamp. Thus, it is typical to make a backup of the file to restore when applying updates, then rolling in the custom changes that were made previously into the updated files. </p>
<p>Now for the disappointing news. After scouring the completion event schemas for builds there is no field that provides the code coverage metrics, thus it makes it really hard if one  wants to include code coverage data. Without this, you can’t not only not add it to the email, but to the Build webform. As a really poor substitute you can get the code coverage data from TSWA though, and you could point the email to look at the code coverage data through that medium. I think it’s a pretty lame solution.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.sharepointsecurity.com%2Fsharepoint%2Fteam-foundation-server%2Fincluding-code-coverage-results-in-tfs-alerts%2F&amp;linkname=Including%20Code%20Coverage%20Results%20In%20TFS%20Alerts"><img src="http://www.sharepointsecurity.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>

<p>Related posts:</p><ol><li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/setting-continuous-integration-for-webparts-for-hourly-builds/' rel='bookmark' title='Permanent Link: Setting Continuous Integration For WebParts For Hourly Builds'>Setting Continuous Integration For WebParts For Hourly Builds</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/sharepoint-security/code-access-security-in-moss/' rel='bookmark' title='Permanent Link: Code Access Security in MOSS'>Code Access Security in MOSS</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/deleting-sharepoint-builds-with-out-of-drop-location-files/' rel='bookmark' title='Permanent Link: Deleting SharePoint Builds With Out Of Drop Location Files'>Deleting SharePoint Builds With Out Of Drop Location Files</a></li>
</ol>
	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.sharepointsecurity.com/syndicated-content/startup-huddle-wins-microsoft-sharepoint-contest-microsoft-pays/" title="Startup Huddle wins Microsoft SharePoint contest; Microsoft pays &#8230; (February 2, 2010)">Startup Huddle wins Microsoft SharePoint contest; Microsoft pays &#8230;</a> (0)</li>
	<li><a href="http://www.sharepointsecurity.com/sharepoint/sharepoint-development/simplechart-org-chart-webpart-for-sharepoint-v2-now-with-active-directory/" title="SimpleChart (Org Chart WebPart) For SharePoint V2 &#8211; Now With Active Directory (October 16, 2009)">SimpleChart (Org Chart WebPart) For SharePoint V2 &#8211; Now With Active Directory</a> (38)</li>
	<li><a href="http://www.sharepointsecurity.com/sharepoint/claims-based-authentication/sharepoint-federated-identity-process-part-4-the-benefits-and-limitations-of-sharepoint-identity-federation/" title="SharePoint Federated Identity Process &#8211; Part 4 &#8211; The Benefits and Limitations of SharePoint Identity Federation (December 10, 2009)">SharePoint Federated Identity Process &#8211; Part 4 &#8211; The Benefits and Limitations of SharePoint Identity Federation</a> (2)</li>
	<li><a href="http://www.sharepointsecurity.com/sharepoint/claims-based-authentication/sharepoint-federated-identity-process-part-3-exploring-the-sharepoint-federated-identity-solution/" title="SharePoint Federated Identity Process &#8211; Part 3 &#8211; Exploring the SharePoint Federated Identity Solution (December 10, 2009)">SharePoint Federated Identity Process &#8211; Part 3 &#8211; Exploring the SharePoint Federated Identity Solution</a> (1)</li>
	<li><a href="http://www.sharepointsecurity.com/sharepoint/claims-based-authentication/sharepoint-federated-identity-process-part-2-federated-identity-environment-requirements/" title="SharePoint Federated Identity Process &#8211; Part 2 &#8211; Federated Identity Environment Requirements (December 10, 2009)">SharePoint Federated Identity Process &#8211; Part 2 &#8211; Federated Identity Environment Requirements</a> (1)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.sharepointsecurity.com/sharepoint/team-foundation-server/including-code-coverage-results-in-tfs-alerts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An ACTUAL Fix For TFS SSRS Error Query Execution Failed For Data Set</title>
		<link>http://www.sharepointsecurity.com/sharepoint/team-foundation-server/an-actual-fix-for-tfs-ssrs-error-query-execution-failed-for-data-set/</link>
		<comments>http://www.sharepointsecurity.com/sharepoint/team-foundation-server/an-actual-fix-for-tfs-ssrs-error-query-execution-failed-for-data-set/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 17:33:14 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Team Foundation Server]]></category>

		<guid isPermaLink="false">http://www.sharepointsecurity.com/?p=3235</guid>
		<description><![CDATA[After doing a TFS migration between 2005 &#8211; 2008/2010, you may notice that there is a problem with your SSRS displaying reports. Most frequently this will occur when a service pack is applied. While some, such as the Velocity report, just won&#8217;t display data, others like those dealing with bugs will lead to the following [...]


Related posts:<ol><li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/teambuild-error-failure-unknown-user-name-or-bad-password/' rel='bookmark' title='Permanent Link: TeamBuild &#8211; Error &#8211; Failure: unknown user name or bad password'>TeamBuild &#8211; Error &#8211; Failure: unknown user name or bad password</a></li>
<li><a href='http://www.sharepointsecurity.com/general/comments-error-fixed/' rel='bookmark' title='Permanent Link: Comments Error Fixed'>Comments Error Fixed</a></li>
<li><a href='http://www.sharepointsecurity.com/general/found-block-that-points-outside-data-file-at/' rel='bookmark' title='Permanent Link: Found Block That Points Outside Data File At <BLAH>'>Found Block That Points Outside Data File At <BLAH></a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>After doing a TFS migration between 2005 &#8211; 2008/2010, you may notice that there is a problem with your SSRS displaying reports. Most frequently this will occur when a service pack is applied. While some, such as the Velocity report, just won&#8217;t display data, others like those dealing with bugs will lead to the following SSRS error being reported:</p>
<blockquote><p>
An error has occurred during report processing. (rsProcessingAborted)<br />
Query execution failed for data set &#8216;PriorityParam&#8217;. (rsErrorExecutingCommand)<br />
Query (19, 2) The ALLMEMBERS function expects a hierarchy expression for the argument. A member expression was used.
</p></blockquote>
<p>The data set parameter in the exception return will vary depending on the report you are doing, but it is a consistent error regardless.<br />
Now at first glance, this is post migration / potentially post service pack, so it would lead one to believe that for some reason the <strong>.rdl </strong>files didn&#8217;t get updated to the new version. Since I didn&#8217;t have a ton of projects I unpackaged them out of the fitting.stp files, and tried manually uploading them in the Report Manager. This had no effect.<br />
After Googling my butt off, trying all these ambiguous fixes, and trying to rebuild the TFS warehouse with 50,000 different permutations on the available switches, I sat down and found the fix myself. </p>
<p>Where this problem crops up is for some reason the <strong>TBL_Database</strong> table in the<strong> TfsIntegration </strong>database has a remote server, <em>a.k.a your source TFS server for migration</em>, name for SSAS. Now why the hell is this? Well, it&#8217;s because the <strong>MSIProperty.ini</strong> file has an entry for the same remote SSAS instance and this can be picked up and employed by service packs and other updates. When the warehouse controller starts the adapters, the process attempt to hit the remote server, which will causes the reports to fail. Once you change the SSAS server value in <strong>MSIProperty.ini </strong>and the server parameter inside <strong>TBL_Database</strong> of the <strong>TFSIntegration</strong> table, the warehouse controller will be able to run the adapters successfully.<br />
Once the adapters are run the reports will start showing up successfully.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.sharepointsecurity.com%2Fsharepoint%2Fteam-foundation-server%2Fan-actual-fix-for-tfs-ssrs-error-query-execution-failed-for-data-set%2F&amp;linkname=An%20ACTUAL%20Fix%20For%20TFS%20SSRS%20Error%20Query%20Execution%20Failed%20For%20Data%20Set"><img src="http://www.sharepointsecurity.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>

<p>Related posts:</p><ol><li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/teambuild-error-failure-unknown-user-name-or-bad-password/' rel='bookmark' title='Permanent Link: TeamBuild &#8211; Error &#8211; Failure: unknown user name or bad password'>TeamBuild &#8211; Error &#8211; Failure: unknown user name or bad password</a></li>
<li><a href='http://www.sharepointsecurity.com/general/comments-error-fixed/' rel='bookmark' title='Permanent Link: Comments Error Fixed'>Comments Error Fixed</a></li>
<li><a href='http://www.sharepointsecurity.com/general/found-block-that-points-outside-data-file-at/' rel='bookmark' title='Permanent Link: Found Block That Points Outside Data File At <BLAH>'>Found Block That Points Outside Data File At <BLAH></a></li>
</ol>
	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li>No related posts.</li>
	</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.sharepointsecurity.com/sharepoint/team-foundation-server/an-actual-fix-for-tfs-ssrs-error-query-execution-failed-for-data-set/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IAG Custom Endpoint Application Detection &#8211; Structure</title>
		<link>http://www.sharepointsecurity.com/sharepoint/isa-server/iag-custom-endpoint-application-detection-structure/</link>
		<comments>http://www.sharepointsecurity.com/sharepoint/isa-server/iag-custom-endpoint-application-detection-structure/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 18:38:19 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[ISA Server]]></category>

		<guid isPermaLink="false">http://www.sharepointsecurity.com/?p=3223</guid>
		<description><![CDATA[When you are writing custom endpoint detection scripts, I found the documentation regarding the use of different values very, very confusing. So here is a breakdown of em after reflecting on how UAG uses them. 
Name: This represents the name of the variable, since you add the required XML file to the customupdate folder and [...]


Related posts:<ol><li><a href='http://www.sharepointsecurity.com/sharepoint/sharepoint-software/adam-active-directory-in-application-mode-custom-role-provider/' rel='bookmark' title='Permanent Link: ADAM (Active Directory In Application Mode) Custom Role Provider'>ADAM (Active Directory In Application Mode) Custom Role Provider</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/sharepoint-security-templates/sharepoint-intrusion-detection-policy-template/' rel='bookmark' title='Permanent Link: SharePoint Intrusion Detection Policy Template'>SharePoint Intrusion Detection Policy Template</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/sharepoint-development/working-with-application-config-files-remotely/' rel='bookmark' title='Permanent Link: Working With Application Config Files Remotely'>Working With Application Config Files Remotely</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>When you are writing custom endpoint detection scripts, I found the documentation regarding the use of different values very, very confusing. So here is a breakdown of em after reflecting on how UAG uses them. </p>
<p><strong>Name</strong>: This represents the name of the variable, since you add the required XML file to the customupdate folder and that represents your custom variable.<br />
<strong>ID</strong>: The results variable you are using to record the return.<br />
<strong>Type </strong>: the TYPE of endpoint detection your adding, but it gets tricky because it can either be something specific or an expression. Like you can just check for a certain IE version or bundle up the check with other stuff into an expression.<br />
<strong>Value</strong>: the default value you want to use to make endpoint detection fail.<br />
<strong>Description</strong>: A description of the variable.<br />
<strong>Section</strong> &#8211; section to display in the interface.<br />
<strong>Flags</strong> – This is kinda funny because this is actually because the product was acquired by Whale, they used the flags variable to detect things like host file inclusions.</p>
<p>That’s all of em.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.sharepointsecurity.com%2Fsharepoint%2Fisa-server%2Fiag-custom-endpoint-application-detection-structure%2F&amp;linkname=IAG%20Custom%20Endpoint%20Application%20Detection%20%26%238211%3B%20Structure"><img src="http://www.sharepointsecurity.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>

<p>Related posts:</p><ol><li><a href='http://www.sharepointsecurity.com/sharepoint/sharepoint-software/adam-active-directory-in-application-mode-custom-role-provider/' rel='bookmark' title='Permanent Link: ADAM (Active Directory In Application Mode) Custom Role Provider'>ADAM (Active Directory In Application Mode) Custom Role Provider</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/sharepoint-security-templates/sharepoint-intrusion-detection-policy-template/' rel='bookmark' title='Permanent Link: SharePoint Intrusion Detection Policy Template'>SharePoint Intrusion Detection Policy Template</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/sharepoint-development/working-with-application-config-files-remotely/' rel='bookmark' title='Permanent Link: Working With Application Config Files Remotely'>Working With Application Config Files Remotely</a></li>
</ol>
	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li>No related posts.</li>
	</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.sharepointsecurity.com/sharepoint/isa-server/iag-custom-endpoint-application-detection-structure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Tip: Use Simple Trunks External SharePoint IAG HAT</title>
		<link>http://www.sharepointsecurity.com/sharepoint/isa-server/quick-tip-use-simple-trunks-external-sharepoint-iag-hat/</link>
		<comments>http://www.sharepointsecurity.com/sharepoint/isa-server/quick-tip-use-simple-trunks-external-sharepoint-iag-hat/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 18:08:44 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[ISA Server]]></category>

		<guid isPermaLink="false">http://www.sharepointsecurity.com/?p=3220</guid>
		<description><![CDATA[If you don&#8217;t want your public facing SharePoint sites in environments to be subject to public HAT &#038; address rewriting, remember that you have to enable a Basic trunk. This can be done by creating a new trunk under HTTP and selecting the &#8220;basic trunk&#8221; option. If truly public, it is also best to disable [...]


Related posts:<ol><li><a href='http://www.sharepointsecurity.com/syndicated-content/creating-an-external-storage-solution-for-sharepoint-persian/' rel='bookmark' title='Permanent Link: Creating an External Storage Solution for SharePoint &#8211; Persian &#8230;'>Creating an External Storage Solution for SharePoint &#8211; Persian &#8230;</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/sharepoint-development/building-a-simple-sharepoint-2007-wss-v3-webpart/' rel='bookmark' title='Permanent Link: Building A Simple SharePoint 2007 / WSS v3 WebPart'>Building A Simple SharePoint 2007 / WSS v3 WebPart</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/antigen-services-and-simple-command-line-job-management/' rel='bookmark' title='Permanent Link: Antigen Services and Simple Command Line Job Management'>Antigen Services and Simple Command Line Job Management</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If you don&#8217;t want your public facing SharePoint sites in environments to be subject to public HAT &#038; address rewriting, remember that you have to enable a Basic trunk. This can be done by creating a new trunk under HTTP and selecting the &#8220;basic trunk&#8221; option. If truly public, it is also best to disable the installation of endpoint components and toggle any authentication stuff.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.sharepointsecurity.com%2Fsharepoint%2Fisa-server%2Fquick-tip-use-simple-trunks-external-sharepoint-iag-hat%2F&amp;linkname=Quick%20Tip%3A%20Use%20Simple%20Trunks%20External%20SharePoint%20IAG%20HAT"><img src="http://www.sharepointsecurity.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>

<p>Related posts:</p><ol><li><a href='http://www.sharepointsecurity.com/syndicated-content/creating-an-external-storage-solution-for-sharepoint-persian/' rel='bookmark' title='Permanent Link: Creating an External Storage Solution for SharePoint &#8211; Persian &#8230;'>Creating an External Storage Solution for SharePoint &#8211; Persian &#8230;</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/sharepoint-development/building-a-simple-sharepoint-2007-wss-v3-webpart/' rel='bookmark' title='Permanent Link: Building A Simple SharePoint 2007 / WSS v3 WebPart'>Building A Simple SharePoint 2007 / WSS v3 WebPart</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/antigen-services-and-simple-command-line-job-management/' rel='bookmark' title='Permanent Link: Antigen Services and Simple Command Line Job Management'>Antigen Services and Simple Command Line Job Management</a></li>
</ol>
	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li>No related posts.</li>
	</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.sharepointsecurity.com/sharepoint/isa-server/quick-tip-use-simple-trunks-external-sharepoint-iag-hat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Executing (Multiple) Target Injection in TFS</title>
		<link>http://www.sharepointsecurity.com/sharepoint/team-foundation-server/executing-multiple-target-injection-in-tfs/</link>
		<comments>http://www.sharepointsecurity.com/sharepoint/team-foundation-server/executing-multiple-target-injection-in-tfs/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 17:33:14 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Team Foundation Server]]></category>

		<guid isPermaLink="false">http://www.sharepointsecurity.com/?p=3218</guid>
		<description><![CDATA[It seems I am never going to be rid of finishing these automating events! One problem that we tackled today dealt with TFS target injection, where you want to call other targets at different points in the build process. An example of this is when you want to wire a target before/after something like SolutionToBuild [...]


Related posts:<ol><li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/large-sharepoint-components-with-continuous-integration-cause-time-outs-with-automated-builds/' rel='bookmark' title='Permanent Link: Large SharePoint Components with Continuous Integration Cause Time Outs With Automated Builds'>Large SharePoint Components with Continuous Integration Cause Time Outs With Automated Builds</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/forefront/forefront-support-for-multiple-scan-engines-multiple-engine-management/' rel='bookmark' title='Permanent Link: Forefront Support for Multiple Scan Engines (Multiple Engine Management)'>Forefront Support for Multiple Scan Engines (Multiple Engine Management)</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/tfs-automation-and-sharepoint-corecompile-does-not-compile-all-files/' rel='bookmark' title='Permanent Link: TFS Automation And SharePoint &#8211; CoreCompile Does Not Compile All Files'>TFS Automation And SharePoint &#8211; CoreCompile Does Not Compile All Files</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>It seems I am never going to be rid of finishing these automating events! One problem that we tackled today dealt with TFS target injection, where you want to call other targets at different points in the build process. An example of this is when you want to wire a target before/after something like <strong>SolutionToBuild</strong> and <strong>ConfigurationToBuild</strong>, perhaps to do a little work before the build starts. In this case, the build was chained to **another** build to do a get on a separate VC instance, and build a related solution beforehand. There was also some WIT stuff to be done too.</p>
<p>Fortunately, TFS Build makes this pretty easy through the use of the <strong>Before*</strong> or <strong>After*</strong> targets (which are easily grafted from <strong>Microsoft.TeamFoundation.Build.targets</strong>), most you will ever need are existing but if you need a different one you can use a <strong>CallTarget</strong> with a MSBuild task. This can get even cooler, because you can actually start to build chained dependencies through something like:</p>
<div class="igBar"><span id="lxml-3"><a href="#" onclick="javascript:showPlainTxt('xml-3'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">XML:</span>
<div id="xml-3">
<div class="xml">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;Target</span> <span style="color: #000066;">Name</span>=<span style="color: #ff0000;">"BeforeCompile"</span> <span style="color: #000066;">DependsOnTargets</span>=<span style="color: #ff0000;">"CustomTarget"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Pretty neat!</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.sharepointsecurity.com%2Fsharepoint%2Fteam-foundation-server%2Fexecuting-multiple-target-injection-in-tfs%2F&amp;linkname=Executing%20%28Multiple%29%20Target%20Injection%20in%20TFS"><img src="http://www.sharepointsecurity.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>

<p>Related posts:</p><ol><li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/large-sharepoint-components-with-continuous-integration-cause-time-outs-with-automated-builds/' rel='bookmark' title='Permanent Link: Large SharePoint Components with Continuous Integration Cause Time Outs With Automated Builds'>Large SharePoint Components with Continuous Integration Cause Time Outs With Automated Builds</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/forefront/forefront-support-for-multiple-scan-engines-multiple-engine-management/' rel='bookmark' title='Permanent Link: Forefront Support for Multiple Scan Engines (Multiple Engine Management)'>Forefront Support for Multiple Scan Engines (Multiple Engine Management)</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/tfs-automation-and-sharepoint-corecompile-does-not-compile-all-files/' rel='bookmark' title='Permanent Link: TFS Automation And SharePoint &#8211; CoreCompile Does Not Compile All Files'>TFS Automation And SharePoint &#8211; CoreCompile Does Not Compile All Files</a></li>
</ol>
	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li>No related posts.</li>
	</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.sharepointsecurity.com/sharepoint/team-foundation-server/executing-multiple-target-injection-in-tfs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Considerations When Using TFS for SharePoint And Silverlight Development</title>
		<link>http://www.sharepointsecurity.com/sharepoint/team-foundation-server/considerations-when-using-tfs-for-sharepoint-and-silverlight-development/</link>
		<comments>http://www.sharepointsecurity.com/sharepoint/team-foundation-server/considerations-when-using-tfs-for-sharepoint-and-silverlight-development/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 16:23:05 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Team Foundation Server]]></category>

		<guid isPermaLink="false">http://www.sharepointsecurity.com/?p=3215</guid>
		<description><![CDATA[During testing of my recent TFS migration we found a small issue with a SharePoint Application Page build that had some embedded Silverlight in it where the ClientBin directory was not being created by TeamBuild. 
The error looks similar to the following:
MSBuild\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets(60,3): error MSB3021: Unable to copy file "ClientBin\Base.Silverlight..xap" to "\". Could not find a [...]


Related posts:<ol><li><a href='http://www.sharepointsecurity.com/sharepoint/sharepoint-security/considerations-for-security-relating-to-sharepoint-configuration-elements/' rel='bookmark' title='Permanent Link: Considerations for Security Relating To SharePoint Configuration Elements'>Considerations for Security Relating To SharePoint Configuration Elements</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/using-a-junction-point-drop-strategy-in-sharepoint-development/' rel='bookmark' title='Permanent Link: Using A Junction Point Drop Strategy In SharePoint Development'>Using A Junction Point Drop Strategy In SharePoint Development</a></li>
<li><a href='http://www.sharepointsecurity.com/syndicated-content/sql-and-storage-considerations-for-sharepoint-2010-the/' rel='bookmark' title='Permanent Link: SQL and Storage Considerations for SharePoint 2010 &#8211; The &#8230;'>SQL and Storage Considerations for SharePoint 2010 &#8211; The &#8230;</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>During testing of my recent TFS migration we found a small issue with a SharePoint Application Page build that had some embedded Silverlight in it where the <strong>ClientBin</strong> directory was not being created by TeamBuild. </p>
<p>The error looks similar to the following:</p>
<blockquote><p>MSBuild\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets(60,3): error MSB3021: Unable to copy file "ClientBin\Base.Silverlight.<SOME XAP NAME>.xap" to "<CLIENTBIN PATH>\<SOME XAP NAME>". Could not find a part of the path 'ClientBin\<SOME XAP NAME>.xap'. </p></blockquote>
<p>So why does this happen? There could be a couple reasons you might be running into this particular error, the largest of which is the default settings of TFS not checking in the XAP files. Which doesn't make a ton of sense. Also, you will generally run into this error when a Siliverlight project is renamed and its parent directory is renamed. Which of these causing the error will determine the appropriate resolution path.</p>
<p>If you are running into this because you think you are hitting the renaming error, then the easiest way to fix it is to unload the project, edit <strong>.csproj</strong>, and correct the values in the <strong><SilverlightApplicationList></strong> tag. After you perform a check-in and start a build the error will go away. If you are not entirely sure why it is happening and the aforementioned renaming doesn't sound like your issue, then you can implement a couple of other things to get around the problem. </p>
<p>Firstly, change the referring Content item in the xap file:</p>
<div class="igBar"><span id="lxml-8"><a href="#" onclick="javascript:showPlainTxt('xml-8'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">XML:</span>
<div id="xml-8">
<div class="xml">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;Content</span> <span style="color: #000066;">Include</span>=<span style="color: #ff0000;">"ClientBin\&lt;SOME XAP NAME&gt;</span>.xap&quot; Condition=&quot;$(IsDesktopBuild) == true&quot; /&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;">&lt;None Include="</span>ClientBin\<span style="font-weight: bold; color: black;">&lt;SOME</span> XAP NAME<span style="font-weight: bold; color: black;">&gt;</span></span>.xap&quot; Condition=&quot;$(IsDesktopBuild) != true&quot; /&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Following, in the <strong>AfterDropBuild</strong> Target, execute a manual copy of the xap to the <strong>_PublishedWebsites</strong> folder:</p>
<div class="igBar"><span id="lxml-9"><a href="#" onclick="javascript:showPlainTxt('xml-9'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">XML:</span>
<div id="xml-9">
<div class="xml">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;Exec</span> <span style="color: #000066;">Command</span>=<span style="color: #ff0000;">"xcopy /y &amp;quot;$(MSBuildProjectDirectory)\&lt;BLAH BLAH BLAH&gt;</span>\Debug\Base.Silverlight. <span style="color: #009900;">&lt;SOME XAP NAME&gt;</span>.xap<span style="color: #ddbb00;">&amp;quot;</span> <span style="color: #ddbb00;">&amp;quot;</span>$(MSBuildProjectDirectory)\<span style="color: #009900;">&lt;BLAH BLAH BLAH&gt;</span>\Debug\_PublishedWebsites\Base\ClientBin<span style="color: #ddbb00;">&amp;quot;</span>&quot; /&gt; </span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>After, you should be good to go!</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.sharepointsecurity.com%2Fsharepoint%2Fteam-foundation-server%2Fconsiderations-when-using-tfs-for-sharepoint-and-silverlight-development%2F&amp;linkname=Considerations%20When%20Using%20TFS%20for%20SharePoint%20And%20Silverlight%20Development"><img src="http://www.sharepointsecurity.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>

<p>Related posts:</p><ol><li><a href='http://www.sharepointsecurity.com/sharepoint/sharepoint-security/considerations-for-security-relating-to-sharepoint-configuration-elements/' rel='bookmark' title='Permanent Link: Considerations for Security Relating To SharePoint Configuration Elements'>Considerations for Security Relating To SharePoint Configuration Elements</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/using-a-junction-point-drop-strategy-in-sharepoint-development/' rel='bookmark' title='Permanent Link: Using A Junction Point Drop Strategy In SharePoint Development'>Using A Junction Point Drop Strategy In SharePoint Development</a></li>
<li><a href='http://www.sharepointsecurity.com/syndicated-content/sql-and-storage-considerations-for-sharepoint-2010-the/' rel='bookmark' title='Permanent Link: SQL and Storage Considerations for SharePoint 2010 &#8211; The &#8230;'>SQL and Storage Considerations for SharePoint 2010 &#8211; The &#8230;</a></li>
</ol>
	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li>No related posts.</li>
	</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.sharepointsecurity.com/sharepoint/team-foundation-server/considerations-when-using-tfs-for-sharepoint-and-silverlight-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using A Junction Point Drop Strategy In SharePoint Development</title>
		<link>http://www.sharepointsecurity.com/sharepoint/team-foundation-server/using-a-junction-point-drop-strategy-in-sharepoint-development/</link>
		<comments>http://www.sharepointsecurity.com/sharepoint/team-foundation-server/using-a-junction-point-drop-strategy-in-sharepoint-development/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 16:21:00 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Team Foundation Server]]></category>

		<guid isPermaLink="false">http://www.sharepointsecurity.com/?p=3202</guid>
		<description><![CDATA[It's my last day of my TFS migration, which I will admit I am pretty happy about being complete with. Everything goes into testing for the next couple weeks, so it's time to sit back and see what people can break. 
An interesting point came up today on the second to last project we were [...]


Related posts:<ol><li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/deleting-sharepoint-builds-with-out-of-drop-location-files/' rel='bookmark' title='Permanent Link: Deleting SharePoint Builds With Out Of Drop Location Files'>Deleting SharePoint Builds With Out Of Drop Location Files</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/tfs-automation-and-sharepoint-corecompile-does-not-compile-all-files/' rel='bookmark' title='Permanent Link: TFS Automation And SharePoint &#8211; CoreCompile Does Not Compile All Files'>TFS Automation And SharePoint &#8211; CoreCompile Does Not Compile All Files</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/considerations-when-using-tfs-for-sharepoint-and-silverlight-development/' rel='bookmark' title='Permanent Link: Considerations When Using TFS for SharePoint And Silverlight Development'>Considerations When Using TFS for SharePoint And Silverlight Development</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>It's my last day of my TFS migration, which I will admit I am pretty happy about being complete with. Everything goes into testing for the next couple weeks, so it's time to sit back and see what people can break. </p>
<p>An interesting point came up today on the second to last project we were converting for build automation. One of the solutions composed of multiple projects employs a separate third party pickup program for deployment of its respective packages, and because of its nature this scheme is not mutable. Off the cuff, this is obviously a no brainer to configure the build drops, but the requirement became slightly more complex. This particular program required a junction point drop, so when a solution structured with multiple projects is assembled it would output project contents under <strong>$(BinariesRoot)\project</strong> (<strong>$(BinariesRoot)</strong> being where TFS Build wants to place your binaries during a build, TFS Build sets <strong>$(OutDir)</strong> to <strong>$(BinariesRoot)</strong>), as opposed to restricted to the default solution structure. This could be for any number of projects within the solution,<strong> $(BinariesRoot)\projectX</strong>, <strong>$(BinariesRoot)\projectY</strong>,<strong> $(BinariesRoot)\projectZ</strong>, etc.</p>
<p>The solution to this is to use <strong>$(CustomizableOutDir)</strong> (false by default!) which will use the project settings instead of being overridden by TFS Build. So in each <strong>.csproj</strong> file you would have:</p>
<div class="igBar"><span id="lxml-12"><a href="#" onclick="javascript:showPlainTxt('xml-12'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">XML:</span>
<div id="xml-12">
<div class="xml">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;OutputPath</span> <span style="color: #000066;">Condition</span>=<span style="color: #ff0000;">" '$(IsDesktopBuild)' == 'false' "</span><span style="font-weight: bold; color: black;">&gt;</span></span>$(BinariesRoot)\projectX<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/OutputPath<span style="font-weight: bold; color: black;">&gt;</span></span></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Viola!</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.sharepointsecurity.com%2Fsharepoint%2Fteam-foundation-server%2Fusing-a-junction-point-drop-strategy-in-sharepoint-development%2F&amp;linkname=Using%20A%20Junction%20Point%20Drop%20Strategy%20In%20SharePoint%20Development"><img src="http://www.sharepointsecurity.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>

<p>Related posts:</p><ol><li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/deleting-sharepoint-builds-with-out-of-drop-location-files/' rel='bookmark' title='Permanent Link: Deleting SharePoint Builds With Out Of Drop Location Files'>Deleting SharePoint Builds With Out Of Drop Location Files</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/tfs-automation-and-sharepoint-corecompile-does-not-compile-all-files/' rel='bookmark' title='Permanent Link: TFS Automation And SharePoint &#8211; CoreCompile Does Not Compile All Files'>TFS Automation And SharePoint &#8211; CoreCompile Does Not Compile All Files</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/considerations-when-using-tfs-for-sharepoint-and-silverlight-development/' rel='bookmark' title='Permanent Link: Considerations When Using TFS for SharePoint And Silverlight Development'>Considerations When Using TFS for SharePoint And Silverlight Development</a></li>
</ol>
	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li>No related posts.</li>
	</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.sharepointsecurity.com/sharepoint/team-foundation-server/using-a-junction-point-drop-strategy-in-sharepoint-development/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Chaining SharePoint Builds Status</title>
		<link>http://www.sharepointsecurity.com/sharepoint/team-foundation-server/chaining-sharepoint-builds-status/</link>
		<comments>http://www.sharepointsecurity.com/sharepoint/team-foundation-server/chaining-sharepoint-builds-status/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 19:01:52 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Team Foundation Server]]></category>

		<guid isPermaLink="false">http://www.sharepointsecurity.com/?p=3189</guid>
		<description><![CDATA[So I am still in migration hell and fixing some build code. One of the problems we just ran into was chaining build events. Consider if you had SharePoint project X which contained and Exec command that triggered SharePoint project Y. The goal of their custom build is to query into the build status of [...]


Related posts:<ol><li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/automated-nightly-sharepoint-builds-by-person-with-incremental-get/' rel='bookmark' title='Permanent Link: Automated Nightly SharePoint Builds By Person With Incremental Get'>Automated Nightly SharePoint Builds By Person With Incremental Get</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/sharepoint-development/setting-splistitem-moderation-status-in-c/' rel='bookmark' title='Permanent Link: Setting SPListItem Moderation Status In C#'>Setting SPListItem Moderation Status In C#</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/using-the-testresultsroot-property-correctly-in-sharepoint-builds/' rel='bookmark' title='Permanent Link: Using The TestResultsRoot Property Correctly In SharePoint Builds'>Using The TestResultsRoot Property Correctly In SharePoint Builds</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>So I am still in migration hell and fixing some build code. One of the problems we just ran into was chaining build events. Consider if you had SharePoint project X which contained and <strong>Exec</strong> command that triggered SharePoint project Y. The goal of their custom build is to query into the build status of SharePoint project Y, and display the build status in SharePoint project X's build status. Put simply, I needed a mechanism where Project Y build status, like whether it returns <strong>Success</strong>, <strong><strong>Partial Success</strong></strong>, etc.</p>
<p>Fortunately, this isn't terribly difficult using the <strong>Exec</strong> task to execute a command leveraging the exitcode to get the status. This looks like the following:</p>
<div class="igBar"><span id="lxml-15"><a href="#" onclick="javascript:showPlainTxt('xml-15'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">XML:</span>
<div id="xml-15">
<div class="xml">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;Target</span> <span style="color: #000066;">Name</span>=<span style="color: #ff0000;">"MyBuildTarget"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;Exec</span> <span style="color: #000066;">Command</span>=<span style="color: #ff0000;">"tfsbuild start /server:myserver /builddefinition:\mytfsproject\buildprojectb"</span> <span style="color: #000066;">ContinueOnError</span>=<span style="color: #ff0000;">"true"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;Output</span>&nbsp; <span style="color: #000066;">TaskParameter</span>=<span style="color: #ff0000;">"ExitCode"</span> <span style="color: #000066;">PropertyName</span>=<span style="color: #ff0000;">"BuildProjectExitCode"</span><span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/Exec<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;Message</span> <span style="color: #000066;">Text</span>=<span style="color: #ff0000;">"BuildProjectExitCode=$(BuildProjectExitCode)"</span><span style="font-weight: bold; color: black;">&gt;</span></span><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/Message<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/Target<span style="font-weight: bold; color: black;">&gt;</span></span></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>The exitcode return will be an integer, which is easy to correlate to the respective return values, <strong>Failure</strong> is 100,<strong> Partial Success </strong>is 1, <strong>Success</strong> is 0, <strong>Unknown</strong> is -1, and <strong>Unrecognized Command</strong> is 2. </p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.sharepointsecurity.com%2Fsharepoint%2Fteam-foundation-server%2Fchaining-sharepoint-builds-status%2F&amp;linkname=Chaining%20SharePoint%20Builds%20Status"><img src="http://www.sharepointsecurity.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>

<p>Related posts:</p><ol><li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/automated-nightly-sharepoint-builds-by-person-with-incremental-get/' rel='bookmark' title='Permanent Link: Automated Nightly SharePoint Builds By Person With Incremental Get'>Automated Nightly SharePoint Builds By Person With Incremental Get</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/sharepoint-development/setting-splistitem-moderation-status-in-c/' rel='bookmark' title='Permanent Link: Setting SPListItem Moderation Status In C#'>Setting SPListItem Moderation Status In C#</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/using-the-testresultsroot-property-correctly-in-sharepoint-builds/' rel='bookmark' title='Permanent Link: Using The TestResultsRoot Property Correctly In SharePoint Builds'>Using The TestResultsRoot Property Correctly In SharePoint Builds</a></li>
</ol>
	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li>No related posts.</li>
	</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.sharepointsecurity.com/sharepoint/team-foundation-server/chaining-sharepoint-builds-status/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating TFS Work items Based On SharePoint Build Outcome</title>
		<link>http://www.sharepointsecurity.com/sharepoint/team-foundation-server/creating-tfs-work-items-based-on-sharepoint-build-outcome/</link>
		<comments>http://www.sharepointsecurity.com/sharepoint/team-foundation-server/creating-tfs-work-items-based-on-sharepoint-build-outcome/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 15:29:19 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[Team Foundation Server]]></category>

		<guid isPermaLink="false">http://www.sharepointsecurity.com/?p=3186</guid>
		<description><![CDATA[While fixing builds for my current project, and I'm now finally about half way through em, one problem that bubbled up was that the previously employed build manager had attempted to put together some code to have a build based on compilation success/failure of his SharePoint projects to generate work items. Now, at first glance [...]


Related posts:<ol><li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/working-with-sharepoint-artifacts-and-team-build-copy-without-compile/' rel='bookmark' title='Permanent Link: Working with SharePoint Artifacts and Team Build, Copy without Compile'>Working with SharePoint Artifacts and Team Build, Copy without Compile</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/building-com-visible-sharepoint-components-caused-tfs-build-server-error/' rel='bookmark' title='Permanent Link: Building COM Visible SharePoint Components Caused TFS Build Server Error'>Building COM Visible SharePoint Components Caused TFS Build Server Error</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/chaining-sharepoint-builds-status/' rel='bookmark' title='Permanent Link: Chaining SharePoint Builds Status'>Chaining SharePoint Builds Status</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>While fixing builds for my current project, and I'm now finally about half way through em, one problem that bubbled up was that the previously employed build manager had attempted to put together some code to have a build based on compilation success/failure of his SharePoint projects to generate work items. Now, at first glance his code looked correct to me (I've stripped it down a stitch):</p>
<div class="igBar"><span id="lxml-18"><a href="#" onclick="javascript:showPlainTxt('xml-18'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">XML:</span>
<div id="xml-18">
<div class="xml">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;UsingTask</span> <span style="color: #000066;">TaskName</span>=<span style="color: #ff0000;">"Microsoft.TeamFounadtion.Build.Tasks.CreateNewWorkItem"</span> <span style="color: #000066;">AssemblyFile</span>=<span style="color: #ff0000;">"$(TeamBuildRefPath)\Microsoft.TeamFoundation.Build.Tasks.VersionControl.dll"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;Target</span> <span style="color: #000066;">Name</span>=<span style="color: #ff0000;">"AfterCompile"</span> <span style="color: #000066;">Condition</span>=<span style="color: #ff0000;">" '$(BuildBreak)'!='true' and '$(IsDesktopBuild)'!='true' "</span><span style="font-weight: bold; color: black;">&gt;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;CreateNewWorkItem</span> <span style="color: #000066;">TeamFoundationServerUrl</span>=<span style="color: #ff0000;">"$(TeamFoundationServerUrl)"</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066;">BuildId</span>=<span style="color: #ff0000;">"$(BuildNumber)"</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066;">Description</span>=<span style="color: #ff0000;">"BUILDLOG : $(DropLocation)$(BuildNumber)\BuildLog.txt."</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066;">TeamProject</span>=<span style="color: #ff0000;">"$(TeamProject)"</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066;">Title</span>=<span style="color: #ff0000;">"Build - $(BuildNumber) completed just great!"</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066;">WorkItemFieldValues</span>=<span style="color: #ff0000;">"$(WorkItemFieldValues)"</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066;">WorkItemType</span>=<span style="color: #ff0000;">"$(WorkItemType)"</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066;">ContinueOnError</span>=<span style="color: #ff0000;">"true"</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="font-weight: bold; color: black;">/&gt;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/Target<span style="font-weight: bold; color: black;">&gt;</span></span></span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Nothing about that at first glance looked wrong, but he was getting the error:</p>
<blockquote><p>A Work Item could not be created for failures in build 'build'. Please verify that the work item type 'Task' is supported in team project 'proj' and it has field 'Microsoft.VSTS.Build.FoundIn' defined.</p></blockquote>
<p>Now this problem implies that there wasn't some of the required foundation laid down before the aforementioned code was integrated. Basically, a work item type Task defined in your team project, then you need to create that first. So bascially hack up the work item type definition file with those definitions, and you are good to go!</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.sharepointsecurity.com%2Fsharepoint%2Fteam-foundation-server%2Fcreating-tfs-work-items-based-on-sharepoint-build-outcome%2F&amp;linkname=Creating%20TFS%20Work%20items%20Based%20On%20SharePoint%20Build%20Outcome"><img src="http://www.sharepointsecurity.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>

<p>Related posts:</p><ol><li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/working-with-sharepoint-artifacts-and-team-build-copy-without-compile/' rel='bookmark' title='Permanent Link: Working with SharePoint Artifacts and Team Build, Copy without Compile'>Working with SharePoint Artifacts and Team Build, Copy without Compile</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/building-com-visible-sharepoint-components-caused-tfs-build-server-error/' rel='bookmark' title='Permanent Link: Building COM Visible SharePoint Components Caused TFS Build Server Error'>Building COM Visible SharePoint Components Caused TFS Build Server Error</a></li>
<li><a href='http://www.sharepointsecurity.com/sharepoint/team-foundation-server/chaining-sharepoint-builds-status/' rel='bookmark' title='Permanent Link: Chaining SharePoint Builds Status'>Chaining SharePoint Builds Status</a></li>
</ol>
	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li>No related posts.</li>
	</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.sharepointsecurity.com/sharepoint/team-foundation-server/creating-tfs-work-items-based-on-sharepoint-build-outcome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
