How can I use VB linq in a web application
I saw a thread with a hack telling to change a csproj file (in c#), but I created a new website and there is no vbproj file for the application. Is there some way to make visual studio use the prototype compiler for VB 9.0 in web applications

Using VB Linq in web applications
Jonathas Oliveira
Ok, I finally made LINQ work in a web project. Here are the detailed step by step instructions:
How To: Use the "Visual Basic 9.0 LINQ Technology Preview" in Web projects
http://msdn.microsoft.com/asp.net/reference/infrastructure/wap/
<Import Project="$(MSBuildBinPath)\Microsoft.VisualBasic.targets" />
with:
<Import Project="$(ProgramFiles)\VB LINQ Preview\Bin\Microsoft.VisualBasic.LINQ.targets" />
- System.Query.dll
- System.Data.DLinq.dll
- System.Xml.XLINQ.dll
- System.Data.DLinq
- System.Query
- System.Xml
- System.Xml.XLinq
Now your project is VISUAL BASIC 9.0 LINQ enabled!
locknload
Same problem , this fix worked .
Again , I nver install VB but do install C++.
Regards,
Ben
sameerTripathi
That's a new-style web project. The thread you refer to is talking about modifying an old-style web project. I recommend you take a closer look at the links Fabrice provides, to create an old-style project. That should give you the proj file to modify.
Sorry for the confusion.
Marco72463
Hi Hector
I did not understand or see Imported Namespaces listbox or text. Could you please provide me little more details of steps 9 and 10.
Thanks in advance.
Fakhar Khan
Rama.NET:
In Visual Studio 2005, select the project menu and then the last menu item called "ProjectName" properties... Then select the References tab and there should it be the Imported Namespaces textbox and listbox I refered to.
GreyGallon
Another sugestion for VB programmers:
How To: Create a User Project Template for LINQ Web Applications
Now you have a user project template for Visual Studio 2005 for instant coding using VB 9.0 and *LINQ.
Now, to create a new LINQ enabled web application using the user project template:
Hope this helps :-)
Andrej
Are you using the default web site project (app_code, etc), or are you using the 1.x-style Web Application project template that Fabrice provides links to in that thread
Juan Pablo Gil
Hector
Thank you very much for that hint. I was actually looking at C# -- ASP.NET application Project Properties. My bad, I didn't realize that that hint was for Visual Basic .NET. I appreciate your help with creating the template for VB.NET Web Projects using LINQ :-). That really helps.
Robert Belka
I am using the default web site project