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
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?
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
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.
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
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.