<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>sptemplateland Forum Rss Feed</title><link>http://www.codeplex.com/sptemplateland/Project/ListForums.aspx</link><description>sptemplateland Forum Rss Description</description><item><title>New Post: Upgrade web part</title><link>http://www.codeplex.com/sptemplateland/Thread/View.aspx?ThreadId=45282</link><description>&lt;div style="line-height: normal;"&gt;I've used the Web Part Template project to create a new web part, and rolled this out to our development server using the generated &amp;quot;.wsp&amp;quot; and Setup file.&amp;nbsp; This all works fine.&lt;br&gt;
&lt;br&gt;
However if I then decide to make changes to the web part code, and upgrade it on the server, the &amp;quot;.webpart&amp;quot; file is not updated in web sites that use this web part. &lt;br&gt;
&lt;br&gt;
If I manually update the &amp;quot;.webpart&amp;quot; file then existing web parts fall over with the following error: &amp;quot;&lt;em&gt;&lt;span&gt;Web Part Error:
&lt;/span&gt;A Web Part or Web Form Control on this Page cannot be displayed or
imported. The type could not be found or it is not registered as safe&lt;/em&gt;.&amp;quot;&amp;nbsp; &lt;br&gt;
&lt;br&gt;
This error presumably comes up because the &amp;quot;.webpart&amp;quot; file version doesn't match the version of the web part that was added to the page.&lt;br&gt;
&lt;br&gt;
What am I doing wrong - what's the correct way of upgrading a web part in SharePoint using the SharePointInstaller?&lt;br&gt;
&lt;/div&gt;</description><author>dangallo</author><pubDate>Mon, 26 Jan 2009 17:03:22 GMT</pubDate><guid isPermaLink="false">New Post: Upgrade web part 20090126050322P</guid></item><item><title>New Post: issue with CreateCabDDF.vbs</title><link>http://www.codeplex.com/sptemplateland/Thread/View.aspx?ThreadId=36872</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br&gt;
&lt;br&gt;
just wanted to let you know that the following bit of script in CreateCabDDF.vbs is causing problems when you have sub folders inside a&amp;nbsp;feature folder, as the condition will&amp;nbsp;unwantedly evaluate to true for each level below a feature folder.&lt;br&gt;
&lt;br&gt;
if (sRelativePath &amp;lt;&amp;gt; &amp;quot;&amp;quot; and InStr(1, sFolder, &amp;quot;FEATURES&amp;quot;) &amp;gt; 0) then&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sRelativePath = &amp;quot;FEATURES\&amp;quot; + sRelativePath&lt;br&gt;
end if&lt;br&gt;
&lt;br&gt;
I have modified my version to fix this problem:&lt;br&gt;
&lt;br&gt;
if (sRelativePath &amp;lt;&amp;gt; &amp;quot;&amp;quot; and InStr(1, sFolder, &amp;quot;FEATURES&amp;quot;) &amp;gt; 0 and InStr(1, sRelativePath, &amp;quot;FEATURES\&amp;quot;) &amp;lt; 1) then&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sRelativePath = &amp;quot;FEATURES\&amp;quot; + sRelativePath&lt;br&gt;
end if&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
&lt;br&gt;
Jaap Vossers
&lt;/div&gt;</description><author>jvossers</author><pubDate>Thu, 02 Oct 2008 09:07:31 GMT</pubDate><guid isPermaLink="false">New Post: issue with CreateCabDDF.vbs 20081002090731A</guid></item><item><title>NEW POST: wspbuilder or this template</title><link>http://www.codeplex.com/sptemplateland/Thread/View.aspx?ThreadId=11179</link><description>&lt;div class="wikidoc"&gt;
This is regarding this template.&lt;br /&gt;I have found one more tool on codeplex called wspbuilder(http://www.codeplex.com/wspbuilder#CommentsAnchor)&lt;br /&gt;which do similiar things as visual studio project template. Although vs project&lt;br /&gt;template is a template ,but the end result of both tools seems to be the same.&lt;br /&gt;What is your recommmendation about which one to use.&lt;br /&gt;
&lt;/div&gt;</description><author>rajiv13579</author><pubDate>Fri, 08 Jun 2007 11:17:38 GMT</pubDate><guid isPermaLink="false">NEW POST: wspbuilder or this template 20070608111738A</guid></item><item><title>NEW POST: Nice work...</title><link>http://www.codeplex.com/sptemplateland/Thread/View.aspx?ThreadId=10763</link><description>&lt;div class="wikidoc"&gt;
 Thank you for sharing...&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>devrimbaris</author><pubDate>Tue, 29 May 2007 11:04:15 GMT</pubDate><guid isPermaLink="false">NEW POST: Nice work... 20070529110415A</guid></item><item><title>Copying DLLs during post-build: </title><link>http://www.codeplex.com/sptemplateland/Thread/View.aspx?ThreadId=7512</link><description>&lt;div class="wikidoc"&gt;
Thomas,&lt;br /&gt; &lt;br /&gt;It sounds possibly like a timing problem. In the post-build it copies the DLL, but it has finished copying by the time the script is looking for the DLL and so does not get included.&lt;br /&gt; &lt;br /&gt;You might try this at the begining of the ddf script...&lt;br /&gt; &lt;br /&gt;Dim starttime, exittime, x&lt;br /&gt;x = 0&lt;br /&gt;starttime = timer&lt;br /&gt;exittime = starttime + 5&lt;br /&gt;do while timer &amp;lt; exittime&lt;br /&gt;   x= x + 1&lt;br /&gt;loop&lt;br /&gt; &lt;br /&gt;this should give it 5 seconds bore it starts...I haven't tested it, but you get the idea&lt;br /&gt; &lt;br /&gt;Vince&lt;br /&gt;
&lt;/div&gt;</description><author>TheKid</author><pubDate>Thu, 22 Feb 2007 16:39:10 GMT</pubDate><guid isPermaLink="false">Copying DLLs during post-build:  20070222043910P</guid></item><item><title>Copying DLLs during post-build: </title><link>http://www.codeplex.com/sptemplateland/Thread/View.aspx?ThreadId=7512</link><description>&lt;div class="wikidoc"&gt;
Copied message from my blog...&lt;br /&gt; &lt;br /&gt;Hi there, I am trying to use your nice and handy template, but I can’t get it working so that it updates the .dll files in the GAC folder inside the .wsp file. &lt;br /&gt; &lt;br /&gt;I have a number of .cs files added under Controls, and when I build the project the result(a .dll file) is placed in the bin\debug folder. Then in post-build i copy the .dll file to the GAC, but it is newer updated in the .wsp file. If I remove the file and build a new .wsp file, witch does not contain my .dll file, and i afterwards add the .dll again, an the builds the .wsp file again, it is updated inside the .wsp file. Because of that I think it is somthing about overwriting the existing .dll file in the .wsp that fails, but i can’t find out fixing it! &lt;br /&gt; &lt;br /&gt;Please help&lt;br /&gt; &lt;br /&gt;/Thomas&lt;br /&gt;
&lt;/div&gt;</description><author>TheKid</author><pubDate>Thu, 22 Feb 2007 16:38:15 GMT</pubDate><guid isPermaLink="false">Copying DLLs during post-build:  20070222043815P</guid></item></channel></rss>