Nermin's .Net

My Thoughts on .Net and Software Development - correct spelling is optional

About the author

Author Name is someone.
E-mail me Send mail

Recent comments

Authors

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010

Resharper 3.1 + Visual Studio 2008

I was just reading Jeremy Miller's recent blog where he states that he is waiting for ReSharper 4.0 before he starts using VS 2008.

As most of us Resharper enthusiasts know current version 3.1 does not work well with Visaul Studio 2008.   To be more specific, some of the C# 3.0 features like Extension methods and Lambda Expressions "confuse" Resharper and it ends up reporting that as a syntax error, where it is just a new language feature. 

Visual Studio 2008 code file with extension methods and Lambda expressions with Resharoer 3.1 turned on

From the image above you can see the effects of that.  However there is a ReSharper shortcut key which allows us to turn of ReSharper validation only for current file being edited.  If you press "Ctr+8" you will turn off/on ReSharper validation on file being currently edited.  Since I do not have Labmda expresions in each code file in my project this feature allows me to still use ReSharper for VS 2008 projects.

Bellow is the screen shot of the same code file after pressing Ctr+8:

 

VS 2008 with ReSharper turned off
Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: ReSharper
Posted by ndibek on Tuesday, January 29, 2008 12:33 PM
Permalink | Comments (824) | Post RSSRSS comment feed

Comments