vNext August CTP and Linq May CTP problem on VS 2005 Team Edition

Hi

When install vNext and Linq at home on VS 2005 Pro Edition there is no problem. But when I intalled it at work on VS 2005 Team Edition the error list is full. It can not recognize something like this

from c in db.Categories
where c.CategoryID == categoryId
select c).ToSequence().First();

it give errors like this

' ; exprected'
'invalid expression term 'in' '

and etc.

but when I run the app it works fine!!!

there is no intellisense in the query and even not recognize the Model Obejct assembly when I type using NorthwindModel although that there is a reference in the project.

Like I said when I run the app it works but how to fix this?

10x

[698 byte] By [overthetop] at [2008-2-26]
# 1
The problem is not in my project because when I opened the sample app from the CTP it gave me the samo errors in the list

(C:\Program Files\Microsoft SDKs\ADO.NET vNext CTP\Samples\CSharp)

Can this be fix for Team Edition?

overthetop at 2007-10-7 > top of Msdn Tech,Visual Studio Orcas,ADO.NET Orcas...
# 2
I have the same issue but I assumed it was because I choose to not to update the C# Language Service when installing LinQ.

Regards,

Andres

AndresAguiar at 2007-10-7 > top of Msdn Tech,Visual Studio Orcas,ADO.NET Orcas...
# 3
I have this issue and I have re-installed the May LINQ CTP a few dozen times and told it to update the C# language service. As a result of having the May LINQ installed:

1. I have absolutely no intellisense
2. If I make any error in typing when building a LINQ query, it sets off a chain reaction of hundreds of syntax errors related to the new C# syntax.

This didn't change when I installed the August CTP of vNext

KevinHoffman at 2007-10-7 > top of Msdn Tech,Visual Studio Orcas,ADO.NET Orcas...
# 4

Make sure you are using the proper templates when creating your solution and have the proper namespaces referenced and in scope (in particular System.Query). You may find more help in the LINQ forum (http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=123&SiteID=1) as this sounds like a LINQ issue rather than an ADO.Next issue.

Jim Wooley
http://devauthority.com/blogs/jwooley

jwooley at 2007-10-7 > top of Msdn Tech,Visual Studio Orcas,ADO.NET Orcas...
# 5
You're seeing these errors in the error window because, when you installed the LINQ May CTP, you chose not to install the updated C# language service. The project will still compile and run, as you saw, but without the language service Visual Studio will think the LINQ code is an error. The editor may not show Intellisense and autoformatting may not work in these situations as well. You can reinstall the LINQ May CTP and, during installation, choose the option to install the language service if you want to correct this problem.
TommyWilliams-MSFT at 2007-10-7 > top of Msdn Tech,Visual Studio Orcas,ADO.NET Orcas...
# 6
I did'n choose not to update C# definition! But to make sure reinstall vNext and Linq 2 times and updated C#! The problem is till here. Like I said this is on Team Edition, on Developer Edition is fine. Is there a way to make it work?
overthetop at 2007-10-7 > top of Msdn Tech,Visual Studio Orcas,ADO.NET Orcas...
# 7
I didn't mentioned that the var word is not in the error list, it's just not colored.
overthetop at 2007-10-7 > top of Msdn Tech,Visual Studio Orcas,ADO.NET Orcas...
# 8
The C# language service is installed by the LINQ installer and not by the ADO.NET installer. I don't know what else to suggest other than to try the LINQ forum.
TommyWilliams-MSFT at 2007-10-7 > top of Msdn Tech,Visual Studio Orcas,ADO.NET Orcas...
# 9
Yes I know it's a C# Linq problem but is there someone that got this working on VS 2005 Team Edition?
overthetop at 2007-10-7 > top of Msdn Tech,Visual Studio Orcas,ADO.NET Orcas...
# 10

Just to clarify, you have the full suite of Visual Studio Team Suite installed?

I'm seeing the language service installed for this edition.Is this the English edition?

Try manually installing the language service.

1. Shut down all instances of VS

2. Run "Install C# IDE Support" script from %InstallLocation%\Program Files\LINQ Preview\Bin

3. Start VS

Thanks,

Karen

KarenLiuMSFT at 2007-10-7 > top of Msdn Tech,Visual Studio Orcas,ADO.NET Orcas...
# 11
Yes I've done this at least 3 times but there is no effect?! I really need to make this running right...
overthetop at 2007-10-7 > top of Msdn Tech,Visual Studio Orcas,ADO.NET Orcas...
# 12
Man I have just reinstalled Linq AGAIN and now I don't know but it's woking :))))) May be I am getting crazy I don't know....

10x for you support ALL

overthetop at 2007-10-7 > top of Msdn Tech,Visual Studio Orcas,ADO.NET Orcas...
# 13

I had a same problem with you. I solved that I just copied "Linq Preview\Bin" 1033 directory and cslangsvc.dll files to under "C:\Program Files\Microsoft Visual Studio 8\VC#\VCSPackages\".

Ps:You should backup old files before copying files.

levenr at 2007-10-7 > top of Msdn Tech,Visual Studio Orcas,ADO.NET Orcas...

Visual Studio Orcas

Site Classified