<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2693479327102383474</id><updated>2011-11-27T18:16:15.571-07:00</updated><title type='text'>foobar12</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://foobar12.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2693479327102383474/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://foobar12.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>cort</name><uri>http://www.blogger.com/profile/00143378997813185865</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2693479327102383474.post-8582086171483549741</id><published>2010-05-18T15:52:00.001-06:00</published><updated>2010-05-18T15:52:54.477-06:00</updated><title type='text'>Upgrading project from VS2008 to VS2010</title><content type='html'>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;I have a project that I manage that as a development team we decided to upgrade to VS2010 from VS2008.&amp;#160; There was not a huge reason for this, but was interested in trying out the beefed up testing, coverage and profiling tools in VS2010.&lt;/p&gt;  &lt;p&gt;The upgrade of the project went pretty well, except for some problems with PostSharp, that were able to be resolved by upgrading to a CTP version of PostSharp 2.0.&amp;#160; The reasoning for that and the list of struggles will have to be another post.&lt;/p&gt;  &lt;p&gt;After getting things to compile and run on my local machine, decided that it was time to commit back to SVN for the rest of the team to use.&amp;#160; I expected to have problems with the build server, which runs CCNet, but was not sure what it would be.&amp;#160; So for the sake of documenting this for myself, here is what I had to do.&lt;/p&gt;  &lt;p&gt;Steps:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Install the 4.0 Framework.&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;&lt;a title="http://www.microsoft.com/downloads/details.aspx?FamilyID=9cfb2d51-5ff4-4491-b0e5-b386f32c0992&amp;amp;displaylang=en" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9cfb2d51-5ff4-4491-b0e5-b386f32c0992&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=9cfb2d51-5ff4-4491-b0e5-b386f32c0992&amp;amp;displaylang=en&lt;/a&gt;&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;Build error for missing import: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;I copied the entire C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0 folder to my build server&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;Could not load assembly Microsoft.ReportViewer.WebForms&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;Copied C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\ReportViewer\ReportViewer.exe to build server and ran the installer.&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;error MSB3454: Tracker.exe is required to correctly incrementally generate resources in some circumstances, such as when building on a 64-bit OS using 32-bit MSBuild. This build requires Tracker.exe, but it could not be found.&lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;Added a new PropertyGroup with property for TrackFileAccess to false.&lt;/li&gt;      &lt;li&gt;Needed to do this because SDK is not yet available.&lt;/li&gt;      &lt;li&gt;figured this out from: &lt;a href="http://bradwilson.typepad.com/blog/2010/05/working-around-build-error-msb3454.html"&gt;http://bradwilson.typepad.com/blog/2010/05/working-around-build-error-msb3454.html&lt;/a&gt;&lt;/li&gt;   &lt;/ul&gt;    &lt;li&gt;error MSB3086: Task could not find &amp;quot;LC.exe&amp;quot; using the SdkToolsPath &lt;/li&gt;    &lt;ul&gt;     &lt;li&gt;OK – I seem to be stuck here until there is an SDK to support 4.0. &lt;/li&gt;   &lt;/ul&gt; &lt;/ul&gt;  &lt;p&gt;At this point, I changed my build process to call MSBuild from the 3.5 framework instead (which we were still targeting despite using VS2010).&amp;#160; This created some warnings about referencing a 4.0 ToolsVersion (Project file contains ToolsVersion=4.0, which is not supported by this version of MSBuild. Treating the project as if it had ToolsVersion=3.5.), but got me past the issues I was having until the Windows 7.1 SDK is released.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2693479327102383474-8582086171483549741?l=foobar12.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://foobar12.blogspot.com/feeds/8582086171483549741/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2693479327102383474&amp;postID=8582086171483549741' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2693479327102383474/posts/default/8582086171483549741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2693479327102383474/posts/default/8582086171483549741'/><link rel='alternate' type='text/html' href='http://foobar12.blogspot.com/2010/05/upgrading-project-from-vs2008-to-vs2010.html' title='Upgrading project from VS2008 to VS2010'/><author><name>cort</name><uri>http://www.blogger.com/profile/00143378997813185865</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2693479327102383474.post-4732323722118457977</id><published>2009-06-29T22:40:00.001-06:00</published><updated>2009-06-29T22:40:20.854-06:00</updated><title type='text'>SVN Merge Tool</title><content type='html'>&lt;p&gt;I am currently working on a project that has had a fair amount of development that was done on a branch to support current production while there was some major refactoring and new functionality being added to head.&amp;#160; While working independently on each branch, all was fine.&amp;#160; So, now i got stuck with doing the merge.&amp;#160; Not exactly fun.&lt;/p&gt;  &lt;p&gt;I have been using TortoiseSVN’s built in merge tool and was doing pretty good with it.&amp;#160; I am not sure that I think it (I assume SVN itself) does as good of a job merging as I thought CVS did, seems like I have a lot of conflicts that I wonder why were conflicts.&amp;#160; That said, I got to the point where the merge comparisons were not lining up right and making things very difficult to decide what should be done.&amp;#160; &lt;/p&gt;  &lt;p&gt;So, I began to search for replacements.&amp;#160; I tried 2, but have stuck with one that I think works fairly well.&amp;#160; It is the &lt;a href="http://www.perforce.com/perforce/products/merge.html"&gt;Perforce Visual Merge Tool&lt;/a&gt;.&amp;#160; While Perforce is not free, the merge tool is.&amp;#160; It was easy to setup with TortoiseSVN too:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_ZjkbXrxLhVQ/SkmXIpRgwiI/AAAAAAAAACg/S8nWE4gh5-M/s1600-h/image%5B12%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_ZjkbXrxLhVQ/SkmXJ1yF9oI/AAAAAAAAACk/-RL9_sn9GTE/image_thumb%5B8%5D.png?imgmax=800" width="402" height="285" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;For ease, here is the command:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;C:\Apps\Perforce\P4Merge.exe %base %theirs %mine %merged&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;(change to match your install path as needed).&lt;/p&gt;  &lt;p&gt;Here is a screenshot of one of my merges:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_ZjkbXrxLhVQ/SkmXLwGxBHI/AAAAAAAAACo/F84hZBNRcWo/s1600-h/image%5B13%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_ZjkbXrxLhVQ/SkmXM9j59cI/AAAAAAAAACs/7n9nXkSQAng/image_thumb%5B9%5D.png?imgmax=800" width="408" height="257" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2693479327102383474-4732323722118457977?l=foobar12.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://foobar12.blogspot.com/feeds/4732323722118457977/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2693479327102383474&amp;postID=4732323722118457977' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2693479327102383474/posts/default/4732323722118457977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2693479327102383474/posts/default/4732323722118457977'/><link rel='alternate' type='text/html' href='http://foobar12.blogspot.com/2009/06/svn-merge-tool.html' title='SVN Merge Tool'/><author><name>cort</name><uri>http://www.blogger.com/profile/00143378997813185865</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_ZjkbXrxLhVQ/SkmXJ1yF9oI/AAAAAAAAACk/-RL9_sn9GTE/s72-c/image_thumb%5B8%5D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2693479327102383474.post-1012567115823541720</id><published>2009-06-04T15:10:00.001-06:00</published><updated>2009-06-04T15:21:07.814-06:00</updated><title type='text'>Sharing keyboard and mouse between 2 computers</title><content type='html'>&lt;p&gt;My “regular” machine is a laptop and has been for many years now.&amp;#160; The flexibility of being able to move around for meetings, design sessions and being able to close up and continue at home make that the best choice for me.&amp;#160; That said, both at the office and at home, I have another desktop computer that I can use to do different things.&amp;#160; At home, it has my video processing stuff installed on it, at the office it is just there for email, browsing, etc when my laptop is busy or off.&amp;#160; While it took me awhile to move to dual monitors for my primary machine, I adopted being able to use both computers at once a long time ago.&amp;#160; Until today, I only knew of one piece of software that did this, &lt;a href="http://synergy2.sourceforge.net/"&gt;Synergy&lt;/a&gt;.&amp;#160; I have really like it for the most part.&amp;#160; It seemed to have hiccups every once in awhile, but restarting it was not too bad and not an every day occurrence.&amp;#160; After Vista came out, the biggest problem was that I could not have it startup automatically like I had on XP.&amp;#160; The project is open source and has not been updated in awhile, so I wasn’t anticipating that this would be something addressed soon and while trying to complete my setup of my laptop with Windows 7, thought I would google to see if there was something else.&amp;#160; There is, &lt;a href="http://www.inputdirector.com"&gt;Input Director&lt;/a&gt;.&amp;#160; I installed this on both machines here at the office in a matter of a couple of minutes and got things up and running.&amp;#160; Seems to work good so far.&amp;#160; And it looks like it will address my issue with being able to start at startup.&lt;/p&gt;  &lt;p&gt;Here is a screenshot of setting up the master and the hosts.&amp;#160; You can drag the computers around to show where they are in relation to your master.&amp;#160; This is much nicer than Synergy.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_ZjkbXrxLhVQ/Sig4UqYNzpI/AAAAAAAAABk/KLh_8Eg4gUk/s1600-h/image%5B8%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_ZjkbXrxLhVQ/Sig4U0ahCEI/AAAAAAAAABo/kzF3HpH6mEQ/image_thumb%5B2%5D.png?imgmax=800" width="180" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2693479327102383474-1012567115823541720?l=foobar12.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://foobar12.blogspot.com/feeds/1012567115823541720/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2693479327102383474&amp;postID=1012567115823541720' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2693479327102383474/posts/default/1012567115823541720'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2693479327102383474/posts/default/1012567115823541720'/><link rel='alternate' type='text/html' href='http://foobar12.blogspot.com/2009/06/sharing-keyboard-and-mouse-between-2.html' title='Sharing keyboard and mouse between 2 computers'/><author><name>cort</name><uri>http://www.blogger.com/profile/00143378997813185865</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_ZjkbXrxLhVQ/Sig4U0ahCEI/AAAAAAAAABo/kzF3HpH6mEQ/s72-c/image_thumb%5B2%5D.png?imgmax=800' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2693479327102383474.post-2226567679006327724</id><published>2008-11-10T11:44:00.001-07:00</published><updated>2008-11-10T11:44:50.666-07:00</updated><title type='text'>List&lt;T&gt;.Find()</title><content type='html'>&lt;p&gt;I am going to try to document issues that I found not intuitive or easy to figure out (which may or may not be sleep deprivation induced), so here is my latest with an issue with List&amp;lt;T&amp;gt;.Find().&lt;/p&gt;  &lt;p&gt;With the List&amp;lt;T&amp;gt;.Find method, you are supposed to supply a predicate, which is really just a delegate with a boolean function determining if a match happened.&amp;#160; So, when would this fail?&lt;/p&gt;  &lt;pre class="code"&gt;&lt;span style="color: #2b91af"&gt;List&lt;/span&gt;&amp;lt;&lt;span style="color: #2b91af"&gt;IItem&lt;/span&gt;&amp;gt; items = &lt;span style="color: blue"&gt;new &lt;/span&gt;&lt;span style="color: #2b91af"&gt;List&lt;/span&gt;&amp;lt;&lt;span style="color: #2b91af"&gt;IItem&lt;/span&gt;&amp;gt;();&lt;/pre&gt;&lt;br /&gt;&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color: blue"&gt;if &lt;/span&gt;(items.Find(item =&amp;gt; item.ItemId == smi.ItemId) == &lt;span style="color: blue"&gt;null&lt;/span&gt;) {&lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; items.Add(csFacade.GetItemByItemId(smi.ItemId));&lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Answer:&amp;#160; when items contains a null.&amp;#160; My assumption going into this was that I would always get a valid result from the method adding to the items list, but it may return null.&amp;#160; &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;So, to solve this, I would either need to evaluate the return from GetItemByItemId and only add if not null, or change my predicate to check for null before comparing the ItemIds.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2693479327102383474-2226567679006327724?l=foobar12.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://foobar12.blogspot.com/feeds/2226567679006327724/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2693479327102383474&amp;postID=2226567679006327724' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2693479327102383474/posts/default/2226567679006327724'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2693479327102383474/posts/default/2226567679006327724'/><link rel='alternate' type='text/html' href='http://foobar12.blogspot.com/2008/11/list.html' title='List&amp;lt;T&amp;gt;.Find()'/><author><name>cort</name><uri>http://www.blogger.com/profile/00143378997813185865</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2693479327102383474.post-6825924807298226622</id><published>2008-11-08T01:58:00.001-07:00</published><updated>2008-11-08T01:58:55.541-07:00</updated><title type='text'>Setting up IIS7 for a Maverick.Net project</title><content type='html'>&lt;p&gt;(Thanks to &lt;a href="http://foxsys.blogspot.com/"&gt;Paul Fox&lt;/a&gt; for these instructions)&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Open IIS Manager by pressing &amp;quot;Windows Key&amp;quot; + R &lt;/li&gt;    &lt;li&gt;Type &amp;quot;inetmgr&amp;quot; and press Enter &lt;/li&gt;    &lt;li&gt;Expand the System and &amp;quot;Web Sites&amp;quot; nodes and click on &amp;quot;Default Web Site&amp;quot; &lt;/li&gt;    &lt;li&gt;Click on &amp;quot;Handler Mappings&amp;quot; &lt;/li&gt;    &lt;li&gt;Click &amp;quot;Add Script Map&amp;quot; &lt;/li&gt;    &lt;li&gt;Add the following settings      &lt;ul&gt;       &lt;li&gt;Request Path: *.m &lt;/li&gt;        &lt;li&gt;Executable: C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll &lt;/li&gt;        &lt;li&gt;Name: Maverick.Net &lt;/li&gt;        &lt;li&gt;Click on &amp;quot;Request Restrictions&amp;quot; and uncheck &amp;quot;Invoke handler only if request is mapped to:&amp;quot; &lt;/li&gt;        &lt;li&gt;Click OK.&lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_ZjkbXrxLhVQ/SRVUzEiorfI/AAAAAAAAABc/D0nBMYZ8I08/s1600-h/image%5B2%5D.png"&gt;&lt;img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="199" alt="image" src="http://lh4.ggpht.com/_ZjkbXrxLhVQ/SRVUzltYztI/AAAAAAAAABg/WLzLqJFLCxI/image_thumb.png?imgmax=800" width="244" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2693479327102383474-6825924807298226622?l=foobar12.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://foobar12.blogspot.com/feeds/6825924807298226622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2693479327102383474&amp;postID=6825924807298226622' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2693479327102383474/posts/default/6825924807298226622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2693479327102383474/posts/default/6825924807298226622'/><link rel='alternate' type='text/html' href='http://foobar12.blogspot.com/2008/11/setting-up-iis7-for-mavericknet-project.html' title='Setting up IIS7 for a Maverick.Net project'/><author><name>cort</name><uri>http://www.blogger.com/profile/00143378997813185865</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_ZjkbXrxLhVQ/SRVUzltYztI/AAAAAAAAABg/WLzLqJFLCxI/s72-c/image_thumb.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
