<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: MergeDefaultStyles build task improves control development (w/source)</title>
	<atom:link href="http://www.jeff.wilcox.name/2009/01/default-style-task/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jeff.wilcox.name/2009/01/default-style-task/</link>
	<description>Silverlight, rich client apps and web development</description>
	<lastBuildDate>Tue, 09 Mar 2010 16:48:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: James Chaldecott</title>
		<link>http://www.jeff.wilcox.name/2009/01/default-style-task/comment-page-1/#comment-1388</link>
		<dc:creator>James Chaldecott</dc:creator>
		<pubDate>Wed, 08 Apr 2009 07:50:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/?p=247#comment-1388</guid>
		<description>I think there&#039;s a bug in DefaultStyle .GetAttribute(XElement element, params string[] attributes).

I think the test:
 if (name != null)  
 {  
     return value;  
 }  

Should be:
 if (value != null)  
 {  
     return value;  
 }  

&#039;name&#039; is the loop variable and is never null.</description>
		<content:encoded><![CDATA[<p>I think there&#8217;s a bug in DefaultStyle .GetAttribute(XElement element, params string[] attributes).</p>
<p>I think the test:<br />
 if (name != null)<br />
 {<br />
     return value;<br />
 }  </p>
<p>Should be:<br />
 if (value != null)<br />
 {<br />
     return value;<br />
 }  </p>
<p>&#8216;name&#8217; is the loop variable and is never null.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jugdesh D. Vaghella</title>
		<link>http://www.jeff.wilcox.name/2009/01/default-style-task/comment-page-1/#comment-1300</link>
		<dc:creator>Jugdesh D. Vaghella</dc:creator>
		<pubDate>Mon, 16 Mar 2009 10:30:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/?p=247#comment-1300</guid>
		<description>Dear Jeff,

I have done all my settings as stated for MSBuild Project and done with that, but stuck continuesly at adding tast to my custom controls project.

However, if it will work as per above it solve lots of heavy work of maintaining the generic.xaml.

Pl. simplify further the final section of adding the DLL task to control project.

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Dear Jeff,</p>
<p>I have done all my settings as stated for MSBuild Project and done with that, but stuck continuesly at adding tast to my custom controls project.</p>
<p>However, if it will work as per above it solve lots of heavy work of maintaining the generic.xaml.</p>
<p>Pl. simplify further the final section of adding the DLL task to control project.</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Silverlight Toolkit and Developing Silverlight Controls : : JasonJackson.com</title>
		<link>http://www.jeff.wilcox.name/2009/01/default-style-task/comment-page-1/#comment-1246</link>
		<dc:creator>Silverlight Toolkit and Developing Silverlight Controls : : JasonJackson.com</dc:creator>
		<pubDate>Sat, 14 Feb 2009 16:46:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/?p=247#comment-1246</guid>
		<description>[...] The Silverlight Toolkit team has done some interesting work setting up their project.  Instead of developing the toolkit controls with the standard UserControl base class, they have instead opted to write classes based on ContentControl and other base classes.  To pair up XAML with the &#8220;code behind&#8221; they did something really interesting.  They engineered a pre-compile task to take XAML resource dictionaries and combine them into one resource dictionary for the project, the so called &#8220;generic.xaml&#8221; dictionary that provides styles and templates to control libraries (think DLL).  I won&#8217;t go into a thorough explanation on this page (though I do explain the basic below), but I would invite you to check out the source code and take a look at the explanation of how it all worked here. [...]</description>
		<content:encoded><![CDATA[<p>[...] The Silverlight Toolkit team has done some interesting work setting up their project.  Instead of developing the toolkit controls with the standard UserControl base class, they have instead opted to write classes based on ContentControl and other base classes.  To pair up XAML with the &#8220;code behind&#8221; they did something really interesting.  They engineered a pre-compile task to take XAML resource dictionaries and combine them into one resource dictionary for the project, the so called &#8220;generic.xaml&#8221; dictionary that provides styles and templates to control libraries (think DLL).  I won&#8217;t go into a thorough explanation on this page (though I do explain the basic below), but I would invite you to check out the source code and take a look at the explanation of how it all worked here. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Angie</title>
		<link>http://www.jeff.wilcox.name/2009/01/default-style-task/comment-page-1/#comment-1206</link>
		<dc:creator>Angie</dc:creator>
		<pubDate>Tue, 27 Jan 2009 14:45:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/?p=247#comment-1206</guid>
		<description>I&#039;ve figured this out. Moved my BuildTasks project out of my main solution, build the project, then updated the Controls project with the changes specified. I added the ItemGroup node initially, selected it for the relevant .xaml files, then removed the node. It appears to work without it. Thanks.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve figured this out. Moved my BuildTasks project out of my main solution, build the project, then updated the Controls project with the changes specified. I added the ItemGroup node initially, selected it for the relevant .xaml files, then removed the node. It appears to work without it. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Angie</title>
		<link>http://www.jeff.wilcox.name/2009/01/default-style-task/comment-page-1/#comment-1205</link>
		<dc:creator>Angie</dc:creator>
		<pubDate>Tue, 27 Jan 2009 13:32:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/?p=247#comment-1205</guid>
		<description>Thanks for this. I&#039;m trying to get it working but struggling. It appears that the Task and DefaultStyle.cs are in a different project to the Silverlight controls. Should the above changes to the project file (UsingTask, ItemGroup and the two overridden targets) by made to the build tasks project or the controls project? I assumed the controls project, but it doesn&#039;t seem to work and a file DefaultStyle is added to the controls project with a warning that it doesn&#039;t exist. Any help would be much appreciated. Thanks</description>
		<content:encoded><![CDATA[<p>Thanks for this. I&#8217;m trying to get it working but struggling. It appears that the Task and DefaultStyle.cs are in a different project to the Silverlight controls. Should the above changes to the project file (UsingTask, ItemGroup and the two overridden targets) by made to the build tasks project or the controls project? I assumed the controls project, but it doesn&#8217;t seem to work and a file DefaultStyle is added to the controls project with a warning that it doesn&#8217;t exist. Any help would be much appreciated. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gongdo</title>
		<link>http://www.jeff.wilcox.name/2009/01/default-style-task/comment-page-1/#comment-1172</link>
		<dc:creator>Gongdo</dc:creator>
		<pubDate>Wed, 14 Jan 2009 08:30:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.jeff.wilcox.name/?p=247#comment-1172</guid>
		<description>Great work! That&#039;s what I wanted exactly!
I hope it&#039;s going to be a part of Silverlight Tools.</description>
		<content:encoded><![CDATA[<p>Great work! That&#8217;s what I wanted exactly!<br />
I hope it&#8217;s going to be a part of Silverlight Tools.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
