<?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-1563364955230660252</id><updated>2011-07-23T21:09:14.995-04:00</updated><category term='c#'/><category term='jquery'/><category term='asp.net'/><category term='LINQ'/><category term='RhinoMocks'/><category term='MVC'/><category term='fusion'/><category term='VS2008'/><title type='text'>c shuurp n stuff</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tommykelly.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1563364955230660252/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://tommykelly.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Tommy</name><uri>http://www.blogger.com/profile/13672256707963273582</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-ra3vdbUDLyU/TfF5a-0EwkI/AAAAAAAAApY/oeqLR42dD_E/s1600/c369b9b69de34b719acc2c974ddc0d9e.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1563364955230660252.post-6883235641571425950</id><published>2011-07-23T12:25:00.008-04:00</published><updated>2011-07-23T21:09:15.013-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><category scheme='http://www.blogger.com/atom/ns#' term='LINQ'/><category scheme='http://www.blogger.com/atom/ns#' term='RhinoMocks'/><title type='text'>RhinoMocks constraint LINQ gotcha</title><content type='html'>At work the other day I was trying to write some unit tests for a method that used some LINQ statements on a list that I was mocking using RhinoMocks.  I put a constraint that a method was called that had a certain count of objects being passed into it via generic IEnumeralbe list.  To my suprise, it kept failing saying the constraint had not been made.  First thing I did was fire up the debugger and take a look at the list of objects I was passing to the method, and sure enough it was the number I was looking for.  I began to start poking around and realized I was passing a list that I had done a LINQ where statement and I never called any method like 'ToList()' or 'ToArray()' to execute the chain of commands I had applied with LINQ.  As soon as I called one of those methods the constraint was correct!  It seems to be a bug in RhinoMocks that is not actually calling any methods that stop the delayed execution and really make the statement be applied.  &lt;br /&gt;&lt;br /&gt;Here is a very quick sample that I threw together to show the problem.  I used NuGet to get the version of RhinoMocks I used, so I haven't tested this issue with the latest and greatest version per say.  &lt;br /&gt;&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;div class="csharpcode"&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   1:  &lt;/span&gt;&lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;class&lt;/span&gt; FakeService&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;   2:  &lt;/span&gt;    {&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   3:  &lt;/span&gt;        &lt;span class="kwrd"&gt;private&lt;/span&gt; &lt;span class="kwrd"&gt;readonly&lt;/span&gt; INumberHelper _numHelper;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;   4:  &lt;/span&gt;        &lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   5:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; FakeService(INumberHelper numHelper)&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;   6:  &lt;/span&gt;        {&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   7:  &lt;/span&gt;            _numHelper = numHelper;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;   8:  &lt;/span&gt;        }&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   9:  &lt;/span&gt;        &lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  10:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; PrintAllEventNumbers_NotWorking()&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  11:  &lt;/span&gt;        {&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  12:  &lt;/span&gt;            var evenNumbers = _numHelper.GetAllNumbers()&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  13:  &lt;/span&gt;                .Where(x =&amp;gt; x%2 == 0);&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  14:  &lt;/span&gt;            &lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  15:  &lt;/span&gt;            _numHelper.PrintNumbers(evenNumbers);&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  16:  &lt;/span&gt;        }&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  17:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  18:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; PrintAllEventNumbers_Working()&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  19:  &lt;/span&gt;        {&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  20:  &lt;/span&gt;            var evenNumbers = _numHelper.GetAllNumbers()&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  21:  &lt;/span&gt;                .Where(x =&amp;gt; x % 2 == 0);&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  22:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  23:  &lt;/span&gt;            _numHelper.PrintNumbers(evenNumbers.ToArray());&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  24:  &lt;/span&gt;        }&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  25:  &lt;/span&gt;    }&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  26:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  27:  &lt;/span&gt;    &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;interface&lt;/span&gt; INumberHelper&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  28:  &lt;/span&gt;    {&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  29:  &lt;/span&gt;        IEnumerable&amp;lt;&lt;span class="kwrd"&gt;int&lt;/span&gt;&amp;gt; GetAllNumbers();&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  30:  &lt;/span&gt;        &lt;span class="kwrd"&gt;void&lt;/span&gt; PrintNumbers(IEnumerable&amp;lt;&lt;span class="kwrd"&gt;int&lt;/span&gt;&amp;gt; numbersToPrint);&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  31:  &lt;/span&gt;    }&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;And this is the unit tests to show how it works and doesn't work.&lt;br /&gt;&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;&lt;br /&gt;&lt;div class="csharpcode"&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   1:  &lt;/span&gt;[Test]&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;   2:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; TestDoesNotWork()&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   3:  &lt;/span&gt;        {&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;   4:  &lt;/span&gt;            var numHelper = MockRepository.GenerateMock&amp;lt;INumberHelper&amp;gt;();&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   5:  &lt;/span&gt;            var fakeService = &lt;span class="kwrd"&gt;new&lt;/span&gt; FakeService(numHelper);&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;   6:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   7:  &lt;/span&gt;            numHelper.Stub(x =&amp;gt; x.GetAllNumbers())&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;   8:  &lt;/span&gt;                .Return(Enumerable.Range(0, 100));&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   9:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  10:  &lt;/span&gt;            fakeService.PrintAllEventNumbers_NotWorking();&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  11:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  12:  &lt;/span&gt;            numHelper.AssertWasCalled(x =&amp;gt; x.PrintNumbers(Arg&amp;lt;IEnumerable&amp;lt;&lt;span class="kwrd"&gt;int&lt;/span&gt;&amp;gt;&amp;gt;.List.Count(Rhino.Mocks.Constraints.Is.Equal(50))));&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  13:  &lt;/span&gt;        }&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  14:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  15:  &lt;/span&gt;        [Test]&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  16:  &lt;/span&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; TestDoesWork()&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  17:  &lt;/span&gt;        {&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  18:  &lt;/span&gt;            var numHelper = MockRepository.GenerateMock&amp;lt;INumberHelper&amp;gt;();&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  19:  &lt;/span&gt;            var fakeService = &lt;span class="kwrd"&gt;new&lt;/span&gt; FakeService(numHelper);&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  20:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  21:  &lt;/span&gt;            numHelper.Stub(x =&amp;gt; x.GetAllNumbers())&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  22:  &lt;/span&gt;                .Return(Enumerable.Range(0, 100));&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  23:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  24:  &lt;/span&gt;            fakeService.PrintAllEventNumbers_Working();&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  25:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="lnum"&gt;  26:  &lt;/span&gt;            numHelper.AssertWasCalled(x =&amp;gt; x.PrintNumbers(Arg&amp;lt;IEnumerable&amp;lt;&lt;span class="kwrd"&gt;int&lt;/span&gt;&amp;gt;&amp;gt;.List.Count(Rhino.Mocks.Constraints.Is.Equal(50))));&lt;/pre&gt;&lt;br /&gt;&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;  27:  &lt;/span&gt;        }&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563364955230660252-6883235641571425950?l=tommykelly.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tommykelly.blogspot.com/feeds/6883235641571425950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1563364955230660252&amp;postID=6883235641571425950' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1563364955230660252/posts/default/6883235641571425950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1563364955230660252/posts/default/6883235641571425950'/><link rel='alternate' type='text/html' href='http://tommykelly.blogspot.com/2011/07/rhinomocks-constraint-linq-gotcha.html' title='RhinoMocks constraint LINQ gotcha'/><author><name>Tommy</name><uri>http://www.blogger.com/profile/13672256707963273582</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-ra3vdbUDLyU/TfF5a-0EwkI/AAAAAAAAApY/oeqLR42dD_E/s1600/c369b9b69de34b719acc2c974ddc0d9e.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1563364955230660252.post-907705700255288419</id><published>2009-03-21T12:09:00.005-04:00</published><updated>2009-03-21T12:50:09.682-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><category scheme='http://www.blogger.com/atom/ns#' term='asp.net'/><title type='text'>make ASP.Net CheckBoxList mutually exclusive using jQuery</title><content type='html'>I ran across a stupid problem a few days ago trying to make an ASP.Net CheckBoxList control be mutually exclusive.  ASP.Net Ajax has an extender that makes checkbox's mutually exclusive.  The problem with it, is that it works with individual checkbox controls, not a CheckBoxList control.  I did not want to make them all separate controls because I was binding them to a datasource, and I wanted it to lay out the checkboxes the way it does.&lt;br /&gt;&lt;br /&gt;The way the CheckBoxList works makes it impossible to use (maybe I am wrong on this) the ASP.Net Ajax extender control.  So my next thought was to write up some javascript to only allow one item to be selected out of all the checkboxs.  Since the CheckBoxList controls wraps all the ListItem's in a table (I think it has an inline way to render as well) and that it all has auto generated ID's it makes it hard to write a little custom javascript method to attach to each checkboxes click event.&lt;br /&gt;&lt;br /&gt;Then comes jQuery to the rescue!  I have been using jQuery recently, and found that its selector helps out ASP.Net development immensly.  Because we have such little control of how the HTML renders using the default ASP.Net controls, it makes it hard to apply styles and client side javascript.  Below is a small method I modified from someone else to go through and make only one of the checkbox's be able to be in the checked state at a time.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;/* This is used to make a list of checkboxes to become&lt;br /&gt;mutually exclusive */&lt;br /&gt;(function($) {&lt;br /&gt;  $.fn.makeCheckboxesMutuallyExclusive = function() {&lt;br /&gt;     //list of checkboxes&lt;br /&gt;     var checkBoxes = this.filter('input:checkbox');&lt;br /&gt;     //add a click function to each one to make sure one is checked&lt;br /&gt;     checkBoxes.click(function() {&lt;br /&gt;         checkedState = $(this).attr('checked');&lt;br /&gt;         //loop on all checkboxes and uncheck them&lt;br /&gt;         $(checkBoxes).each(function() {&lt;br /&gt;               $(this).attr('checked', false);&lt;br /&gt;         });&lt;br /&gt;         $(this).attr('checked', checkedState);&lt;br /&gt;      });&lt;br /&gt;  }&lt;br /&gt;})(jQuery);&lt;/blockquote&gt;Take the following snippet of code from an ASPX page, and assume its being bound to a datasource that will populate its list items automatically.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&amp;lt;asp:checkboxlist runat="server" id="chkExample" repeatdirection="Horizontal"&amp;gt;&amp;lt;/asp:CheckBoxList&amp;gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;We can then write some javascript to make all the checkboxes in this list mutually exclusive.  It looks like this.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;$('#&lt;%=chkExample.ClientID %&gt; td input').makeCheckboxesMutuallyExclusive();&lt;/blockquote&gt;This should select all the input controls inside the table that the CheckBoxList wraps its contents in.  It then calls the function above with those items to make them mutally exclusive.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563364955230660252-907705700255288419?l=tommykelly.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tommykelly.blogspot.com/feeds/907705700255288419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1563364955230660252&amp;postID=907705700255288419' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1563364955230660252/posts/default/907705700255288419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1563364955230660252/posts/default/907705700255288419'/><link rel='alternate' type='text/html' href='http://tommykelly.blogspot.com/2009/03/make-aspnet-checkboxlist-mutually.html' title='make ASP.Net CheckBoxList mutually exclusive using jQuery'/><author><name>Tommy</name><uri>http://www.blogger.com/profile/13672256707963273582</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-ra3vdbUDLyU/TfF5a-0EwkI/AAAAAAAAApY/oeqLR42dD_E/s1600/c369b9b69de34b719acc2c974ddc0d9e.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1563364955230660252.post-4718774867347819629</id><published>2008-09-13T11:32:00.002-04:00</published><updated>2008-09-13T11:39:12.076-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MVC'/><title type='text'>ASP.NET MVC Build Errors in Views</title><content type='html'>I have been using the ASP.NET MVC since preview 3 and I ran across something very strange today.  I had a few errors in lambda expressions in my view for Html.ActionLink&lt;t&gt;(...).  I thought that when I built my project these would be caught and the build would fail. &lt;br /&gt;&lt;br /&gt;Well, its not happening for me.  If the views aren't getting compiled then the whole SCHWEET reason to have strongly typed stuff in there kinda goes out the window! &lt;br /&gt;&lt;br /&gt;Am I missing something?  Can other people reproduce this problem?  Isn't it intended to fail on the build if there are errors in the view?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563364955230660252-4718774867347819629?l=tommykelly.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tommykelly.blogspot.com/feeds/4718774867347819629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1563364955230660252&amp;postID=4718774867347819629' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1563364955230660252/posts/default/4718774867347819629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1563364955230660252/posts/default/4718774867347819629'/><link rel='alternate' type='text/html' href='http://tommykelly.blogspot.com/2008/09/aspnet-mvc-build-errors-in-views.html' title='ASP.NET MVC Build Errors in Views'/><author><name>Tommy</name><uri>http://www.blogger.com/profile/13672256707963273582</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-ra3vdbUDLyU/TfF5a-0EwkI/AAAAAAAAApY/oeqLR42dD_E/s1600/c369b9b69de34b719acc2c974ddc0d9e.png'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1563364955230660252.post-7287471326094672774</id><published>2008-08-28T22:18:00.003-04:00</published><updated>2008-08-28T22:32:01.675-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VS2008'/><category scheme='http://www.blogger.com/atom/ns#' term='fusion'/><title type='text'>VS2008 black background and vmware fusion</title><content type='html'>So I decided to buy a new macbook (13 inch one) a few weeks ago.  I installed vmware fusion and got XP Sp3 up and running real quick.  It works very well and is very fast, except one thing that was killing me.&lt;br /&gt;&lt;br /&gt;I use VibrantInk theme for VS2008, which has a black background, and when I moved my mouse over the code, I couldn't see my mouse cursor.  Well it turned out it was black for some reason.  I can't stand the white background, so this was a HUGE issue.  But it all ends well.&lt;br /&gt;&lt;br /&gt;How to fix:&lt;br /&gt;&lt;br /&gt;You have to set the 'Hardware Acceleration' to one under 'Full Acceleration'.  This did the trick.  It is kind of annoying since the mouse kinda moves around 'laggy' like.  I haven't tried the new fusion beta install, but I'll update the post if it works better with that.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1563364955230660252-7287471326094672774?l=tommykelly.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tommykelly.blogspot.com/feeds/7287471326094672774/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1563364955230660252&amp;postID=7287471326094672774' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1563364955230660252/posts/default/7287471326094672774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1563364955230660252/posts/default/7287471326094672774'/><link rel='alternate' type='text/html' href='http://tommykelly.blogspot.com/2008/08/vs2008-black-background-and-vmware.html' title='VS2008 black background and vmware fusion'/><author><name>Tommy</name><uri>http://www.blogger.com/profile/13672256707963273582</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/-ra3vdbUDLyU/TfF5a-0EwkI/AAAAAAAAApY/oeqLR42dD_E/s1600/c369b9b69de34b719acc2c974ddc0d9e.png'/></author><thr:total>3</thr:total></entry></feed>
