<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>sptemplateland Work Item Rss Feed</title><link>http://www.codeplex.com/sptemplateland/WorkItem/List.aspx</link><description>sptemplateland Work Item Rss Description</description><item><title>Created Issue: Using with TFS Team Build - Problem with CreateCabDDF.vbs</title><link>http://www.codeplex.com/sptemplateland/WorkItem/View.aspx?WorkItemId=8591</link><description>If you build this WSP project locally on a development PC all is fine. However &amp;#40;depending upon you project&amp;#41; it may fail on Team Build, well actually not fail just pause forever. This due to the way that Team Build checks out folders. The WSP project has a folder structure you drop files in that the VBScript files scan to create the manifest and then the WSP. If one of these directories is empty then it is not created on the build box and the VBScript stalls.&lt;br /&gt;&lt;br /&gt;The solution is simply just add an extra folder exists check in the CreateCabDDF.vbs file&amp;#8217;s EnumFolder method&lt;br /&gt;&lt;br /&gt;sub EnumFolder&amp;#40;sFolder, sRelativePath&amp;#41;&lt;br /&gt;    dim oFolder, oFolders, oSub, oFile&lt;br /&gt;    &lt;br /&gt;    rem this is the extra line&lt;br /&gt;    If oFS.FolderExists&amp;#40;sFolder&amp;#41; Then&lt;br /&gt;&lt;br /&gt;        set oFolder &amp;#61; oFS.GetFolder&amp;#40;sFolder&amp;#41;&lt;br /&gt;    &lt;br /&gt;        if &amp;#40;sRelativePath &amp;#61; &amp;#34;TEMPLATE&amp;#34;&amp;#41; then sRelativePath &amp;#61; &amp;#34;&amp;#34;&lt;br /&gt;        if &amp;#40;sRelativePath &amp;#61; &amp;#34;FEATURES&amp;#34;&amp;#41; then sRelativePath &amp;#61; &amp;#34;&amp;#34;&lt;br /&gt;    &lt;br /&gt;        if &amp;#40;sRelativePath &amp;#60;&amp;#62; &amp;#34;&amp;#34;&amp;#41; then sRelativePath &amp;#61; sRelativePath &amp;#43; &amp;#34;&amp;#92;&amp;#34;&lt;br /&gt;    &lt;br /&gt;        for each oFile in oFolder.Files&lt;br /&gt;            oDDF.WriteLine &amp;#34;&amp;#34;&amp;#34;&amp;#34; &amp;#43; oFile.Path &amp;#43; &amp;#34;&amp;#34;&amp;#34;&amp;#34; &amp;#43; vbTab &amp;#43; &amp;#34;&amp;#34;&amp;#34;&amp;#34; &amp;#43; sRelativePath &amp;#43; oFile.Name &amp;#43; &amp;#34;&amp;#34;&amp;#34;&amp;#34;&lt;br /&gt;        next&lt;br /&gt;&lt;br /&gt;        if &amp;#40;sRelativePath &amp;#60;&amp;#62; &amp;#34;&amp;#34; and InStr&amp;#40;1, sFolder, &amp;#34;FEATURES&amp;#34;&amp;#41; &amp;#62; 0&amp;#41; then&lt;br /&gt;            sRelativePath &amp;#61; &amp;#34;FEATURES&amp;#92;&amp;#34; &amp;#43; sRelativePath&lt;br /&gt;        end if&lt;br /&gt;&lt;br /&gt;       for each oSub in oFolder.SubFolders&lt;br /&gt;            EnumFolder oSub.Path, sRelativePath &amp;#43; oSub.Name&lt;br /&gt;       next&lt;br /&gt;    &lt;br /&gt;      end if&lt;br /&gt;    &lt;br /&gt;end sub&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For more detail see &amp;#40;http&amp;#58;&amp;#47;&amp;#47;blogs.blackmarble.co.uk&amp;#47;blogs&amp;#47;rfennell&amp;#47;archive&amp;#47;2008&amp;#47;12&amp;#47;19&amp;#47;tfs-teambuild-and-sharepoint-wsp-deployment-and-any-post-build-events-for-that-matter.aspx&amp;#41;&lt;br /&gt;</description><author>rfennell</author><pubDate>Fri, 19 Dec 2008 12:52:14 GMT</pubDate><guid isPermaLink="false">Created Issue: Using with TFS Team Build - Problem with CreateCabDDF.vbs 20081219125214P</guid></item><item><title>Created Issue: Using with TFS Team Build - problem with macro expansion</title><link>http://www.codeplex.com/sptemplateland/WorkItem/View.aspx?WorkItemId=8590</link><description>You have to be careful in the pre&amp;#47;post build build events if you are trying to build this template on a TFS Team Build box due to differences in Macro expansion. It might be worth adding some guidance to the project on this matter&lt;br /&gt;&lt;br /&gt;I ended up with pre build script in the form &amp;#40;for mre detail see http&amp;#58;&amp;#47;&amp;#47;blogs.blackmarble.co.uk&amp;#47;blogs&amp;#47;rfennell&amp;#47;archive&amp;#47;2008&amp;#47;12&amp;#47;19&amp;#47;tfs-teambuild-and-sharepoint-wsp-deployment-and-any-post-build-events-for-that-matter.aspx&amp;#41;&lt;br /&gt;&lt;br /&gt;echo PREBUILD STARTED&lt;br /&gt;&lt;br /&gt;rem Check if we running in VS or Teambuild&lt;br /&gt;if not exist &amp;#34;..&amp;#92;..&amp;#92;..&amp;#92;CLIENTLIBRARY&amp;#92;SharedLibProject&amp;#92;bin&amp;#92;&amp;#36;&amp;#40;ConfigurationName&amp;#41;&amp;#92;SharedLibProject.dll&amp;#34; goto tfsbuild&lt;br /&gt;&lt;br /&gt;echo Copy from VS locations, in this sample we assume a shared library, a webpart and some javascript&lt;br /&gt;xcopy &amp;#34;..&amp;#92;..&amp;#92;..&amp;#92;CLIENTLIBRARY&amp;#92;SharedLibProject&amp;#92;bin&amp;#92;&amp;#36;&amp;#40;ConfigurationName&amp;#41;&amp;#92;SharedLibProject.dll&amp;#34;  &amp;#34;&amp;#36;&amp;#40;ProjectDir&amp;#41;DLLS&amp;#92;GAC&amp;#92;&amp;#34;  &amp;#47;F &amp;#47;R &amp;#47;Y&lt;br /&gt;xcopy &amp;#34;..&amp;#92;..&amp;#92;..&amp;#92;Web Part&amp;#92;bin&amp;#92;&amp;#36;&amp;#40;ConfigurationName&amp;#41;&amp;#92;&amp;#42;.dll&amp;#34;  &amp;#34;&amp;#36;&amp;#40;ProjectDir&amp;#41;DLLS&amp;#92;GAC&amp;#92;&amp;#34;  &amp;#47;F &amp;#47;R &amp;#47;Y&lt;br /&gt;xcopy &amp;#34;&amp;#36;&amp;#40;SolutionDir&amp;#41;HOST&amp;#92;bin&amp;#92;HOST.dll&amp;#34;  &amp;#34;&amp;#36;&amp;#40;ProjectDir&amp;#41;DLLS&amp;#92;GAC&amp;#92;&amp;#34;  &amp;#47;F &amp;#47;R &amp;#47;Y&lt;br /&gt;xcopy &amp;#34;&amp;#36;&amp;#40;SolutionDir&amp;#41;HOST&amp;#92;json&amp;#42;&amp;#34;  &amp;#34;&amp;#36;&amp;#40;ProjectDir&amp;#41;TEMPLATE&amp;#92;LAYOUTS&amp;#34;  &amp;#47;F &amp;#47;R &amp;#47;Y&lt;br /&gt;xcopy &amp;#34;&amp;#36;&amp;#40;SolutionDir&amp;#41;HOST&amp;#92;&amp;#42;.js&amp;#34;  &amp;#34;&amp;#36;&amp;#40;ProjectDir&amp;#41;TEMPLATE&amp;#92;LAYOUTS&amp;#34;  &amp;#47;F &amp;#47;R &amp;#47;Y&lt;br /&gt;&lt;br /&gt;goto end&lt;br /&gt;&lt;br /&gt;&amp;#58;tfsbuild&lt;br /&gt;echo Copy from TFS build locations&lt;br /&gt;&lt;br /&gt;xcopy &amp;#34;&amp;#36;&amp;#40;outdir&amp;#41;&amp;#92;SharedLibproject.dll&amp;#34;  &amp;#34;&amp;#36;&amp;#40;ProjectDir&amp;#41;DLLS&amp;#92;GAC&amp;#92;&amp;#34;  &amp;#47;F &amp;#47;R &amp;#47;Y&lt;br /&gt;&lt;br /&gt;xcopy &amp;#34;&amp;#36;&amp;#40;outdir&amp;#41;&amp;#92;WebPart.Core.dll&amp;#34;  &amp;#34;&amp;#36;&amp;#40;ProjectDir&amp;#41;DLLS&amp;#92;GAC&amp;#92;&amp;#34;   &amp;#47;F &amp;#47;R &amp;#47;Y&lt;br /&gt;xcopy &amp;#34;&amp;#36;&amp;#40;outdir&amp;#41;&amp;#92;WebPart.UI.dll&amp;#34;  &amp;#34;&amp;#36;&amp;#40;ProjectDir&amp;#41;DLLS&amp;#92;GAC&amp;#92;&amp;#34;   &amp;#47;F &amp;#47;R &amp;#47;Y&lt;br /&gt;xcopy &amp;#34;&amp;#36;&amp;#40;outdir&amp;#41;&amp;#92;Host.dll&amp;#34;  &amp;#34;&amp;#36;&amp;#40;ProjectDir&amp;#41;DLLS&amp;#92;GAC&amp;#92;&amp;#34;   &amp;#47;F &amp;#47;R &amp;#47;Y&lt;br /&gt;xcopy &amp;#34;&amp;#36;&amp;#40;SolutionDir&amp;#41;HOST&amp;#92;json&amp;#42;&amp;#34;  &amp;#34;&amp;#36;&amp;#40;ProjectDir&amp;#41;TEMPLATE&amp;#92;LAYOUTS&amp;#92;json&amp;#42;&amp;#34;  &amp;#47;F &amp;#47;R &amp;#47;Y&lt;br /&gt;xcopy &amp;#34;&amp;#36;&amp;#40;SolutionDir&amp;#41;HOST&amp;#92;&amp;#42;.js&amp;#34;  &amp;#34;&amp;#36;&amp;#40;ProjectDir&amp;#41;TEMPLATE&amp;#92;LAYOUTS&amp;#92;&amp;#42;.js&amp;#34;   &amp;#47;F &amp;#47;R &amp;#47;Y&lt;br /&gt;&lt;br /&gt;&amp;#58;end&lt;br /&gt;&lt;br /&gt;echo PREBUILD COMPLETE&lt;br /&gt;</description><author>rfennell</author><pubDate>Fri, 19 Dec 2008 12:50:51 GMT</pubDate><guid isPermaLink="false">Created Issue: Using with TFS Team Build - problem with macro expansion 20081219125051P</guid></item><item><title>Created Issue: Error: Cannot find this file specified in the manifest file</title><link>http://www.codeplex.com/sptemplateland/WorkItem/View.aspx?WorkItemId=6387</link><description>Hi,&lt;br /&gt;&lt;br /&gt;I have this error when adding the solution to my server &amp;#40;&amp;#34;&amp;#37;STSADM&amp;#37; -o addsolution -filename &amp;#37;PackageFile&amp;#37;&amp;#34;&amp;#41;&lt;br /&gt;&lt;br /&gt;What is special in my project&amp;#63; A subfolder in the directory &amp;#34;Template&amp;#47;Features&amp;#47;MyFeature&amp;#34;. This is my tree files &amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#34;Template&amp;#47;Features&amp;#47;MyFeature&amp;#47;feature.xml&amp;#34;&lt;br /&gt;&amp;#34;Template&amp;#47;Features&amp;#47;MyFeature&amp;#47;Columns&amp;#47;MyColumns.xml&amp;#34;&lt;br /&gt;&amp;#34;Template&amp;#47;Features&amp;#47;MyFeature&amp;#47;ContentTypes&amp;#47;MyContentTypes.xml&amp;#34;&lt;br /&gt;&lt;br /&gt;The error message is &amp;#34;Error&amp;#58; Cannot find this file specified in the manifest file &amp;#58; Template&amp;#47;Features&amp;#47;MyFeature&amp;#47;Columns&amp;#47;MyColumns.xml&amp;#34;&lt;br /&gt;MySolution.wsp&amp;#58; The Solution installation failed.&lt;br /&gt;&lt;br /&gt;Anyone can help me&amp;#63;&lt;br /&gt;</description><author>fdobon</author><pubDate>Wed, 18 Jun 2008 16:41:37 GMT</pubDate><guid isPermaLink="false">Created Issue: Error: Cannot find this file specified in the manifest file 20080618044137P</guid></item><item><title>CREATED ISSUE: copy of dlls</title><link>http://www.codeplex.com/sptemplateland/WorkItem/View.aspx?WorkItemId=2676</link><description>I suggest that the following code are added in post-built event before manifest and dff are build.&lt;br/&gt;&lt;br/&gt;copy "$(ProjectDir)\bin\debug\$(ProjectName).dll" "$(ProjectDir)\DLLS\GAC\$(ProjectName).dll" /y&lt;br/&gt;</description><author>frien</author><pubDate>Thu, 28 Jun 2007 08:56:12 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: copy of dlls 20070628085612A</guid></item><item><title>CREATED ISSUE: Source control items</title><link>http://www.codeplex.com/sptemplateland/WorkItem/View.aspx?WorkItemId=2675</link><description>I suggest that source save items are excluded in the CreateCabDDF and CreateManifest files.&lt;br/&gt;&lt;br/&gt;That is all .scc files and what the files are called in TFS&lt;br/&gt;</description><author>frien</author><pubDate>Thu, 28 Jun 2007 08:51:18 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Source control items 20070628085118A</guid></item></channel></rss>