advanced web statistics

Small Problem While Using Orcas Beta 2

8/9/2007 11:55:06 AM

Apparently I spoke too soon last night when I said the installation went well.  Well, it went well meaning it installed and I was still able to use Visual Studio 2005.  That's always a good thing. This morning I go to create a "Linq to Sql" class and ReSharper informs me of about 10 errors (not to mention the 60+ redundant this.'s).  I thought that maybe ReSharper (EAP 3.0.2) was a little buggy so I went into my code-behind and started to write some code.

SimpleSchedulerDataContext db = new SimpleSchedulerDataContext()

That didn't give me any problems.  Then I started to type a query.  Keep in mind I am doing this while watching Scott Guthrie's video on creating a Linq to Sql class and performing basic queries.  I start to type my query and hit a brickwall.  The var keyword isn't even available to me. I have access to the cool namespaces of 3.5 but that is about it. I can type using System.Linq with no problems! I check the 'About' and see that .NET Framework 3.5 is in fact installed. I also check my 'Programs and Features' and there it is.

I did find a blog entry where Scott Guthrie mentions that they have seen problems when trying to install the .NET Framework 3.5 on Vista machines with the KB929916 installed. I just installed this and am going to reinstall the .NET Framework 3.5 on top of what was already supposed to have been installed.

Any suggestions or references would be greatly appreciated.

UPDATE #1
No luck!  Check this out though (from DataContext class).

//---------------------------------------------------------------
// <auto-generated>
//    This code was generated by a tool.
//    Runtime Version:2.0.50727.1378
//
//    Changes to this file may cause incorrect behavior and will be lost if
//    the code is regenerated.
// </auto-generated>
//---------------------------------------------------------------

I checked my project properties to see that the target Framework is 3.5. I'm at a loss as for where to start trying to figure this out.

UPDATE #2
Dammit! I really want to start using this. I posted on ASP.NET forums over an hour ago and haven't gotten any replies.  I have searched Google and haven't found ANYTHING related to the problems I am having.  I guess I'll e-mail Scott.

UPDATE #3
I did not e-mail Scott as I received an e-mail (comment notification) from David clueing me in on some horrible, horrible news.  Apparently just because R# is available for C# 3.0 doesn't mean it is working for ALL of C# 3.0 (LINQ). That really sucks.  I turned off code analysis for LINQ pages and I have my LINQ keywords. Niiiiice.

Borat: Niiiiiiiiice!

UPDATE #4
I still don't have Intellisense unless I use R#. Still Niiiiiice.

UPDATE #5
I figured out why Visual Studio doesn't have Intellisense. I imported the settings from Visual Studio 2005 where I had Visual Studio Intellisense replaced by R#. DOH!

.NET, Orcas, Tools

kick it on DotNetKicks.com

Leave a Comment

   

  Enter the text to proceed!