Saturday, September 13, 2008

ASP.NET MVC Build Errors in Views

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(...). I thought that when I built my project these would be caught and the build would fail.

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!

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?

Thursday, August 28, 2008

VS2008 black background and vmware fusion

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.

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.

How to fix:

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.